Adf  template partial trigger problem

Hi,
With a button in the template want to change text field in the page (created with this template)
Partial trigger is okay but old calculated values assign to text field.
Normally, the calculated value assign text field but assign old calculated value
When button in the page, assigned the new calculated values
How I can solved tihs problem?
help me please..

I guess I am not clear.. could you try again to describe the issue?
Amit

Similar Messages

  • Partial Trigger Problem

    Hi All,
    Jdeveloper Version: 11.1.1.6.0
    ADF
    In JSFF page, components bind with bean. I am setting values for the bean through listener. And I added partial trigger to that component container.
    (i.e) AdfFacesContext.getCurrentInstance().addPartialTarget(a_component.findComponent("componentID"));
    Is any other way to add partial trigger to that componet? Can I set partial trigger in JSFF page itself?.
    Regards
    Mohanraj

    Thanks Timo
    This is my code:
    <af:panelGroupLayout layout="horizontal" id="changeAddress">
    </af:panelGroupLayout>
    Listener:
    public class PinCodeListener
    public static void execute(ActionEvent actionEvent)
    try
    UIComponent a_component = (UIComponent) actionEvent.getSource();
    AdfFacesContext.getCurrentInstance().addPartialTarget(*a_component*.findComponent("changeAddress"));
    catch(..)
    How can I get UIComponet? I am having only component ID.
    Am I need to get RichPanelGroupLayout?
    Like this way,
    RichPanelGroupLayout a_panelLayout = (RichPanelGroupLayout) a_component.findComponent("changeAddress");
    AdfFacesContext.getCurrentInstance().addPartialTarget(a_panelLayout);
    Mohanraj

  • Partial trigger problem URGENT plz help

    I am using ADF10g with EJB
    i have databount ADFSelectOneChoice and inputText,
    the value of selectOneChoice is bound to list in page definition, and value of inputText is
    bound to attributeValues in pagedefinition also
    the autosubmit of ADFSelectOneChoice is true and its id is compList, the partialTrigger of inputText is set to be the id of the
    list that is compList
    the ADFSelectOneChoice refreshes the inputText successfully, but after i click a commanButton which saves data,
    the ADFSelectOneChoice fails ti refresh the inpuText

    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
    version="10.1.3.42.70" id="testPageDef" Package="view.pageDefs">
    <parameters/>
    <executables>
    <variableIterator id="variables">
    <variable Type="java.lang.String" Name="getFiscalYear_companyCode"
    IsQueriable="false"/>
    <variable Type="java.lang.String" Name="getFiscalYear_Return"
    IsQueriable="false" IsUpdateable="2"
    DefaultValue="${bindings.getFiscalYear.result}"/>
    </variableIterator>
    <methodIterator id="getCompanyListIter" Binds="getCompanyList.result"
    DataControl="SessionEJBLocal" RangeSize="-1"
    BeanClass="model.datatransfer.company"/>
    <invokeAction id="invokeGetFiscalYear" Binds="getFiscalYear"
    Refresh="renderModel"/>
    </executables>
    <bindings>
    <methodAction id="getFiscalYear" MethodName="getFiscalYear"
    RequiresUpdateModel="true" Action="999"
    IsViewObjectMethod="false" DataControl="SessionEJBLocal"
    InstanceName="SessionEJBLocal.dataProvider"
    ReturnName="SessionEJBLocal.methodResults.SessionEJBLocal_dataProvider_getFiscalYear_result">
    <NamedData NDName="companyCode" NDType="java.lang.String"
    NDValue="${bindings.getFiscalYear_companyCode}"/>
    </methodAction>
    <list id="companyCode" IterBinding="variables" StaticList="false"
    ListOperMode="0" ListIter="getCompanyListIter">
    <AttrNames>
    <Item Value="getFiscalYear_companyCode"/>
    </AttrNames>
    <ListAttrNames>
    <Item Value="companyCode"/>
    </ListAttrNames>
    <ListDisplayAttrNames>
    <Item Value="companyName"/>
    </ListDisplayAttrNames>
    </list>
    <methodAction id="getCompanyList"
    InstanceName="SessionEJBLocal.dataProvider"
    DataControl="SessionEJBLocal" MethodName="getCompanyList"
    RequiresUpdateModel="true" Action="999"
    IsViewObjectMethod="false"
    ReturnName="SessionEJBLocal.methodResults.SessionEJBLocal_dataProvider_getCompanyList_result">
    <NamedData NDName="lang" NDValue="#{'ar'}" NDType="java.lang.String"/>
    </methodAction>
    <attributeValues id="getFiscalYear1" IterBinding="variables">
    <AttrNames>
    <Item Value="getFiscalYear_Return"/>
    </AttrNames>
    </attributeValues>
    <methodAction id="testSave" InstanceName="SessionEJBLocal.dataProvider"
    DataControl="SessionEJBLocal" MethodName="testSave"
    RequiresUpdateModel="true" Action="999"
    IsViewObjectMethod="false"
    ReturnName="SessionEJBLocal.methodResults.SessionEJBLocal_dataProvider_testSave_result">
    <NamedData NDName="fiscalYear"
    NDValue="${bindings.getFiscalYear1.inputValue}"
    NDType="java.lang.String"/>
    </methodAction>
    </bindings>
    </pageDefinition>

  • Partial Trigger is not working with Panel Group Layout using ADF 11g.

    Friends,
    I have a requirment , Based on the <af:selectBooleanCheckbox> value I have to render <af:panelGroupLayout> dynamically. If the check box is checked then I have to display panel group layout otherwise not. The problem what I am facing here is Partial Trigger is not working, If I Un check the boolean box and refresh the page then I see it is working. If I don't refresh the page I am not seeing this is working as expected.
    Below is the snippet
    <af:selectBooleanCheckbox value="#{bindings.ChkBoolean.inputValue}"
    shortDesc="#{bindings.OtherOptChk.hints.tooltip}"
    id="OtherOpt" immediate="true" autoSubmit="true"
    />
    <af:panelGroupLayout id="pgl11" partialTriggers="ChkBoolean"
    rendered="#{bindings.ChkBoolean.inputValue}"">
    Am I doing anything wrong here
    Thanks in Advance

    Hi,
    I started to document common pitfalls like this. The problem has been reported last month too and is documented in here: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/oct2010-otn-harvest-183714.pdf
    Frank

  • ADF BC: createInsert and partial trigger

    I notice when i add a createInsert operation to my page and then the corresponding table, JDev will add a partialTrigger to the button.
    I don't see why.
    When i press the createInsert, the table should have the partialTrigger, not the createInsert button because the table should be refreshed in order to show the new row. But when i add the partialTrigger to the table, than it like an infinite loop. Table refreshes button, button refreshed table,...
    It's resolved by removing the partialTrigger from the button but i am wondering why jdev does it?
    I think it has something to do with the disabled state of the button but that does not make sense. THe same for the commit button. If you want everything to work with partialTriggers, then you have lots of buttons/tables linking to each other causing loops or does ADF notices that and takes care of it?

    Hi,
    I reproduce your case and I do not see any loop,
    about your question that why the createInsert need the partialtrigger :
    1-first of all it is because of the the disabled attribute which depends on the table
    2- Second, the table row selection is automatically partial, I mean when you click on the row partially the selected row is determind as it is done partially there is not any way
    for depended components on the table to notify about the state of the tree(changes of row or anything) so the depended component such as CreateInsert need to set the partial trigger.
    3-why the table does not need the partialtrigger at the time of drag and drop, the answer is easy because the default button that you drop on the page is not partialSubmit, so why any other depended component like Table, must have the partialtrigger?? it is only needed when the button is partialSubmit,
    I hope my answer is clear enough.
    to conclude, there is not any mistake or bug from Oracle for sure.

  • Partial trigger and circilar depedency in J dev 11g R2 ADF BC ADFRC apps.

    We have a master detail forms. Master view objects is ADF forms . Detail is table.
    We tried to prevent refresh full page when a detail record added or deleted.
    We use partial triggers. But some PPR error occurs when we tried to add new record and some PPR in table columsn to implement cascade list is triggered.
    errro log and table details as follows.
    "Target unreacehbe. identifier return null, PPR7 . pleae see server error log ..."
    Server error log is.
    SEVERE: Server Exception during PPR, #1
    java.lang.NullPointerException
    at oracle.adfinternal.view.faces.model.binding.RowDataManager.setRowKey(RowDataManager.java:134)
    at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding$FacesModel.setRowKey(FacesCtrlHierBinding.java:542)
    at org.apache.myfaces.trinidad.component.UIXCollection.setRowKey(UIXCollection.java:423)
    at org.apache.myfaces.trinidad.component.UIXCollection.setClientRowKey(UIXCollection.java:653)
    at org.apache.myfaces.trinidad.component.UIXCollection.setCurrencyString(UIXCollection.java:570)
    at org.apache.myfaces.trinidad.component.UIXCollection.invokeOnComponent(UIXCollection.java:1058)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1312)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnNamingContainerComponent(UIXComponentBase.java:1362)
    at org.apache.myfaces.trinidad.component.UIXDecorateCollection.invokeOnComponent(UIXDecorateCollection.java:121)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1406)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1406)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1406)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1406)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1312)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.invokeOnComponent(ContextSwitchingComponent.java:188)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1406)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1406)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1406)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1312)
    at oracle.adf.view.rich.component.fragment.UIXInclude.invokeOnComponent(UIXInclude.java:123)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1406)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1406)
    at oracle.adf.view.rich.component.rich.RichDocument.invokeOnComponent(RichDocument.java:159)
    at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
    at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._fixClientIds(LifecycleImpl.java:900)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:366)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:165)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:421)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:421)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
    at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:160)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    oracle.jbo.TooManyObjectsException: JBO-25013: Too many objects match the primary key oracle.jbo.Key[null null 03090000 ].
    at oracle.jbo.server.EntityCache.throwTooManyObjectsException(EntityCache.java:435)
    at oracle.jbo.server.EntityCache.addForAltKey(EntityCache.java:822)
    at oracle.jbo.server.EntityImpl.setAttributeValueInternal(EntityImpl.java:3668)
    at oracle.jbo.server.EntityImpl.readAttrsFromXML(EntityImpl.java:9319)
    at oracle.jbo.server.Serializer.activateEntity(Serializer.java:661)
    at oracle.jbo.server.Serializer.activateTxn(Serializer.java:555)
    at oracle.jbo.server.Serializer.activate(Serializer.java:275)
    at oracle.jbo.server.FileSerializer.activateRootAM(FileSerializer.java:256)
    at oracle.jbo.server.ApplicationModuleImpl.activateState(ApplicationModuleImpl.java:5895)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:217)
    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8470)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4389)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2385)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2201)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3085)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460)
    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:234)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:515)
    at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:858)
    at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1537)
    at oracle.adf.model.binding.DCIteratorBinding.initDataControl(DCIteratorBinding.java:2403)
    at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2348)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.getDataControl(JUCtrlActionBinding.java:581)
    at oracle.adf.model.binding.DCInvokeAction.refresh(DCInvokeAction.java:27)
    at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3107)
    at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2759)
    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:112)
    at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:80)
    at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:137)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:192)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:21)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:231)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:267)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:71)
    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:352)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:165)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
    at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    <af:table value="#{bindings.ViewMisdt626_1.collectionModel}"
    var="row"
    rows="#{bindings.ViewMisdt626_1.rangeSize}"
    emptyText="#{bindings.ViewMisdt626_1.viewable ? 'No rows yet.' : 'Access Denied.'}"
    fetchSize="#{bindings.ViewMisdt626_1.rangeSize}"
    binding="#{backingBeanScope.backing_app_yeniEvrak.table11}"
    selectedRowKeys="#{bindings.ViewMisdt626_1.collectionModel.selectedRow}"
    selectionListener="#{bindings.ViewMisdt626_1.collectionModel.makeCurrent}"
    id="table11"
    inlineStyle="height:250px; width:100%;"
    width="900"
    rowSelection="single"
    partialTriggers=":::commandButton11 :::commandButton21 :::commandButton8 ::commandButton18 ::commandToolbarButton3 :::table3 :::commandButton10">
    <af:column sortProperty="GidisTuru" sortable="false"
    width="100" id="c1" headerText="Gidiş Türü" minimumWidth="50">
    <af:selectOneChoice value="#{row.bindings.GidisTuru.inputValue}"
    label="#{row.bindings.GidisTuru.label}"
    required="#{bindings.ViewMisdt626_1.hints.GidisTuru.mandatory}"
    shortDesc="#{bindings.ViewMisdt626_1.hints.GidisTuru.tooltip}"
    id="selectGidisTuru"
    autoSubmit="true"
    showRequired="true"
    partialTriggers="selectGittigiYer"
    immediate="true">
    <f:selectItems value="#{row.bindings.GidisTuru.items}"
    id="si1"/>
    </af:selectOneChoice>
    </af:column>
    <af:column sortProperty="GittigiYer" sortable="false"
    width="200" id="c2" headerText="Gittiği Yer">
    <af:selectOneChoice value="#{row.bindings.GittigiYer.inputValue}"
    label="#{row.bindings.GittigiYer.label}"
    required="#{bindings.ViewMisdt626_1.hints.GittigiYer.mandatory}"
    shortDesc="#{bindings.ViewMisdt626_1.hints.GittigiYer.tooltip}"
    immediate="false"
    partialTriggers="selectGidisTuru"
    id="selectGittigiYer" inlineStyle="width:200.0px;">
    <f:selectItems value="#{row.bindings.GittigiYer.items}"
    id="si2"/>
    </af:selectOneChoice>
    </af:column>

    I have some question about PPR .
    In our case
    Our forms main commit button is full_submit = true
    We added create insert button of detail view to the partial trigger of table.
    1. do we need to add froms main commit button to the detail table's partial trigers.
    2. is there any circular dpendecy between PPR . if we add a partial target to the table do we need to add this trigger to the columns.
    in our case the question is
    do we need to add create insert button of detail view to the partial triiger of cascade list items' partail triggers.
    Thanks.

  • Detail table refreshing without partial trigger!!!

    Hi,
    my Jdeveloper version is 11.1.2.3.0
    I have a master detail structure on my page and i have two weird behaviors (that i guess are related).
    I created the master detail tables in the classic way:
    I dragged the master data control and doped it on the page as an ADF table (id t1)
    Then i dragged the detail data control (from inside the master data control) and drop it as an ADF table (id t2).
    I verified that the partial trigger property of the detail table does not contain the id of the master table (t1).
    however (the first weird behavior), at run time, the detail table shows always the right information of the selected master row.
    How can this happen?
    The second weird behavior is that i have createInsert button (created by drag and drop of the createInsert operation of the dataControl) in the toolbar of the master table.
    If i create a new row and fill the required data then navigate to another row, the detail table is refreshed correctly and shows the details of the newly selected row, but if i go back (re-select) the newly created row the detail table does not refresh and still shows the detail of the previous master row!!! (furthermore, i have input date in this newly create row, so if, at this stage, i click on the calendar icon to open it, the calendar doesn't open)
    I'm i doing something wrong? or should i change any property of the tables?
    Thanks for your help

    Hi Timo,
    Thank you for your reply.
    Actually no, i didn't commit the new record at this point and this is the problem.
    If i commit the new record (using the commit button created from the commit operation of the module), the page refreshes and works correctly.
    The problem occurs if i change the selected row (and then re-selected the newly created row) before committing the changes.
    Concerning the auto PPR, do you think that deactivating it may help? and if yes, how can i deactivated for this page only?
    I tried to change the "change event policy" property of both the master and the detail iterator in the page binding from ppr to "non" but nothing changed. The detail table still refreshes, and the problem with newly created master row still appears.
    One adiitinal note: i downloaded the sample from Andrejus Baranovskis's Blog
    http://andrejusb-samples.blogspot.com/2009/03/jdevadf-sample-create-operation-for.html
    and the page is working correctly. I also created a jsf page in this project with master detail using the same method i used in my project and this pages also works correctly.
    So this means that the problem is with the verision of jdev no? but what what is it???
    Thank you again
    Edited by: 997720 on Apr 5, 2013 8:48 AM

  • How to set af:column child element as partial trigger?

    Hi all...
    I have put a check box in side <af:column> tag inside <af:table> like below:
    <af:table id="applications" var="b" value="#{YourApplicationsandProgressMPB.productBasket}"
                                  rendered="#{!YourApplicationsandProgressMPB.productBasketEmpty}"
                                  width="100%" >
    <af:column gridVisible="false" width="20%">
                                            <af:selectBooleanCheckbox id="[b]checkBox" value="#{b.selected}" autoSubmit="true" />
                                       </af:column>
    </af:table>
    I required to enable a button when any of these check bobes is selected.
    I could do everything except refreshing the form button.
    I mentioned this check box name as partial trigger but it is not refreshing the form like other elements.
    <af:panelForm partialTriggers="[b]checkBox productSelection1 ">
    I think the problem occurs because the checkbox is inside a loop. So it is assigning its own names to each checkbox like formname:0:chceckBox
    Could anybody please help me out in this?
    How can I refresh the page when any check box is selected?
    Thanks in advance....

    You posted this in the wrong forum - this is the Designer forum. Try the JDeveloper forum at JDeveloper and ADF However, I happen to have seen a blog entry today that may help. Take a look at http://www.it-eye.nl/weblog/2007/08/02/jsf-partial-page-rendering-hell/

  • ADF UIX Partial page rendering

    Hi
    I am facing a mysterious problem with partial page rendering in ADF UIX.
    My page contains a <header> H1 and inside this there are two headers(H2 and H3).
    The partial page rendering is in the header H2 and is working fine.
    When i remove the below header H3 the partial page rendering ceases to work and get stuck.
    Pasting the full code below. Please suggest.
    <?xml version="1.0" encoding="windows-1252"?>
    <!-- $Header: registration.uix 115.4.51.4 2009/12/14 13:10:05 kcthirum noship $ -->
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40"
    xmlns:myTemplate="http://xmlns.oracle.com/xhub"
    xmlns:bc4j="http://xmlns.oracle.com/uix/bc4j"
    xmlns:data="http://xmlns.oracle.com/cabo/marlin" expressionLanguage="el">
    <!--This UIX page is used as a tutorial page for new developers, which is why it has a lot of comments-->
    <!--This section describes the ApplicationModule used by this page, and any View Objects that are used to display UI components or are used in any of the event handlers-->
    <bc4j:registryDef>
    <!-- XhubRegAM is the application module used by the entire Registration flow. defFullName is just the class. configName is the Configuration, which always has the pattern <AM name>Local -->
    <bc4j:rootAppModuleDef name="XhubRegAM"
    defFullName="oracle.apps.snw.tpadmin.server.XhubRegAM"
    configName="XhubRegAMLocal" releaseMode="stateful">
    <bc4j:viewObjectDef name="TpProfilesRegVO" rangeSize="1" autoCreate="false"/>
    <bc4j:viewObjectDef name="UsersRegVO" rangeSize="1" autoCreate="false"/>
    <!--IdentifierDomainsView drives the dropdown list of Identifier Types-->
    <bc4j:viewObjectDef name="IdentifierDomainsView" rangeSize="20"/>
    <!--XhubTerritoriesTlView drives the dropdown list of Countries-->
    <bc4j:viewObjectDef name="XhubTerritoriesTlView" rangeSize="300"/>
    </bc4j:rootAppModuleDef>
    </bc4j:registryDef>
    <!--We import the template file xhub.uit, which has code to display the tabs, subtabs, global buttons, etc., appropriately-->
    <templates xmlns="http://xmlns.oracle.com/uix/ui">
    <templateImport source="xhubtpadmin.uit"/>
    </templates>
    <content>
    <!--in this section we define all of the methods and ResourceBundle classes that we want to reference as data sources in our page-->
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui">
    <provider>
    <!--We use the TextProvider class to display ANY text to the user. All text is controlled in the database and cached on the middle tier. This allows for translation and for customization of text-->
    <data name="textSource">
    <bundle class="oracle.apps.snw.uicommon.TextProvider"/>
    </data>
    <!--This method provides information about the hub-->
    <data name="adminInfo">
    <method class="oracle.apps.snw.tpadmin.webui.AdminInfo"
    method="getAdminInfo"/>
    </data>
    </provider>
    <contents>
    <document>
    <!--This section defines the html metadata, usually just the page title-->
    <metaContainer>
    <head title="${textSource.REGISTRATION}"/>
    </metaContainer>
    <contents>
    <body>
    <contents>
    <!--This next tag indicates that everything inside of it should be encapsulated in the "rootChild" node of the template page-->
    <myTemplate:xhubTpAdminPageLayout selectedTab="1">
    <contents>
    <!-- this will contain any validation errors after form submission -->
    <messageBox automatic="true"/>
    <!--The form tag is necessary for any kind of form handling. This particular form performs some javascript validation before submitting-->
    <form name="reg" method="POST">
    <contents>
    <!--The javascript that is executed on form submission-->
    <!-- we cannot implicitly determine that events will be triggered because submit buttons are outside the form scope, so add the placeholder explicitly -->
    <formParameter name="event"/>
    <!-- define the bc4j scope of all child elements-->
    <bc4j:rootAppModuleScope name="XhubRegAM">
    <contents>
    <!-- a top-level header -->
    <header text="${textSource.REGISTRATION}">
    <contents>
    <!-- always used OraInstructionText, not <tip>, for explanation messages-->
    <styledText styleClass="OraInstructionText"
    text="${textSource.REG_PAGE_EXPLAIN}"/>
    <!-- a second-level header -->
    <header text="${textSource.REG_COMPANY_INFO}">
    <contents>
    <stackLayout>
    <contents>
    <!-- the labeledFieldLayout is the correct layout for vertically-stacked labeled fields-->
    <labeledFieldLayout id="TpPartialDetails" width="80%"
    labelWidth="40%">
    <contents>
    <messageChoice name="OracleAppsCustFlag"
    prompt="Oracle Apps Customer"
    required="yes" statePreserved="true"
    selectedValue="${ui:defaulting(uix.pageProp.OracleAppsCustFlag, 'select')}">
    <primaryClientAction>
    <firePartialAction event="buyorsup"
    targets="TpPartialDetails"
    formSubmitted="true"
    unvalidated="true"/>
    </primaryClientAction>
    <contents>
    <option text="-select-" value=""/>
    <option text="${textSource.YES}" value="Y"/>
    <option text="${textSource.NO}" value="N"/>
    </contents>
    </messageChoice>
    <messageTextInput prompt="${textSource.ORACLE_CSI_Q}"
    name="OracleCsi"
    text="${uix.pageProp.OracleCsi}"
    rendered="${ui:defaulting(uix.pageProp.OracleCsiRender, 'false')}"/>
    <messageTextInput prompt="${textSource.YOUR_TP_NAME}"
    name="TpName"
    tip="${textSource.YOUR_TP_NAME_TIP}"
    required="no"
    text="${uix.pageProp.TpName}"
    rendered="${ui:defaulting(uix.pageProp.TradeswithTPRender, 'false')}"/>
    <messageTextInput prompt="${textSource.YOUR_TP_ALIAS}"
    name="TpAlias"
    tip="${textSource.YOUR_TP_ALIAS_TIP}"
    required="no"
    text="${uix.pageProp.TpAlias}"
    rendered="${ui:defaulting(uix.pageProp.TradeswithTPAliasRender, 'false')}"/>
    </contents>
    </labeledFieldLayout>
    </contents>
    </stackLayout>
    </contents>
    </header>
    <!--level-2 header-->
    <header text="${textSource.TP_DEFAULT_CONTACT_INFO}">
    <contents>
    <labeledFieldLayout width="80%" labelWidth="40%">
    <contents>
    <!--all of these fields default to the corresponding ctrl:page value if the user has entered a value. These values are set up in the register() handler-->
    <messageTextInput prompt="${textSource.PASSWORD_PROMPT}"
    name="Password" id="Password"
    required="yes" secret="true"
    maximumLength="32"
    text="${uix.pageProp.Password}"/>
    <messageTextInput prompt="${textSource.PASSWORD_CONFIRM_PROMPT}"
    name="PasswordConfirm"
    id="PasswordConfirm" required="yes"
    secret="true" maximumLength="32"
    text="${uix.pageProp.PasswordConfirm}"/>
    </contents>
    </labeledFieldLayout>
    </contents>
    </header>
    </contents>
    </header>
    </contents>
    </bc4j:rootAppModuleScope>
    <spacer height="10"/>
    <!--message indicating how we indicate required fields-->
    <inlineMessage required="yes"
    prompt="${textSource.REQUIRED_FIELD}"/>
    </contents>
    </form>
    </contents>
    <!--the contents of this tag will appear below the page-->
    </myTemplate:xhubTpAdminPageLayout>
    </contents>
    </body>
    </contents>
    </document>
    </contents>
    </dataScope>
    </content>
    <!--event handlers-->
    <handlers>
    <!--This event is called by pressing the submit button-->
    <event name="continue">
    <bc4j:findRootAppModule name="XhubRegAM">
    <method class="oracle.apps.snw.tpadmin.webui.RegistrationHandlers"
    method="register"/>
    </bc4j:findRootAppModule>
    </event>
    <!--This event is called by pressing the Cancel button-->
    <event name="cancel">
    <!-- finding the ApplicationModule causes it to be checked out from the ApplicationPool. It is released after rendering completes. -->
    <bc4j:findRootAppModule name="XhubRegAM">
    <!-- rollback the current transaction -->
    <bc4j:rollback/>
    <!-- forward to the summary page -->
    <go name="main"/>
    </bc4j:findRootAppModule>
    </event>
    <!--the * event is called whenever the page is accessed and no other event is called-->
    <event name="buyorsup">
    <bc4j:findRootAppModule name="XhubRegAM">
    <!--This method sets the context of the page, namely the scope of the country dropdown view object-->
    <method class="oracle.apps.snw.tpadmin.webui.RegistrationHandlers"
    method="isBuyerorSupplier"/>
    </bc4j:findRootAppModule>
    </event>
    <event name="*">
    <bc4j:findRootAppModule name="XhubRegAM">
    <!--This method sets the context of the page, namely the scope of the country dropdown view object-->
    <method class="oracle.apps.snw.tpadmin.webui.RegistrationHandlers"
    method="setContext"/>
    </bc4j:findRootAppModule>
    </event>
    </handlers>
    </page>
    Please suggest if you know of any documentation on ADF UIX partial page rendering.
    ADF UIX has very little documentation online and finding it hard to debug this issue.
    It ll be of great help.
    Thanks
    Kamal

    Hi Jason,
    As of EA9, all rendered components support a partialTriggers attribute. This attribute takes a list of master component IDs. If any of the master components are updated via a partial event, the dependent component will be rerendered in the partial update.
    If you are on an earlier release, you should upgrade.
    Thanks,
    Jeanne

  • Can I set autoSubmit="true" and partial trigger in Application Def. Editor?

    Hello Expert,
    Can I set autoSubmit="true" and partial trigger or other properties through JHeadstart Application Definition Editor?
    If I have changed the layout or add item though the Def. Editor, I have to regenerate and the manually modification
    on jsff will be overridden. Any suggestion to solve this problem?
    So far I know the page generation can be disabled, however, what if I have to regenerate the definition but want
    to remain the manual modification in Jsff?
    Thanks
    Neon

    Neon,
    You can use the "Depends on Item" property in the application definition editor. You can set this property on an item, or an item region, region container.
    The items that is specified as depends on item, will get autoSubmit="true" and the dependent items of region will get partial triggers that listen to the depends on item.
    Even if you need settings you can't generate, there is no need to switch off generation of the entire page.
    We never do this, we always specify custom templates for the bits and pieces of the page that we want to customize.
    Have you read section 4.7 "Customizing Using Generator Templates" in JHeadstart Developer's Guide?
    Steven Davelaar,
    JHeadstart team.

  • Partial trigger for treetable

    I am using 11g. I have a adf treetable similar to the employees. The tree table is working fine.
    I have two panel accordian. The first accordian has the treetable.
    I want to display the salary and more information for the employee in the second panel accordion.
    The problem is the salary is not getting refreshed when I do the row selection in the tree table.
    I set the id of the treetable to the partial trigger of the Salary.
    Am I missing something in setting the properties?
    I really appreciate your help.
    Thanks

    <f:facet name="center">
    <af:treeTable value="#{bindings.EmpView1.treeModel}" var="node"
    selectionListener="#{bindings.EmpView1.treeModel.makeCurrent}"
    rowSelection="single" id="treetbl" immediate="true"
    columnSelection="single" initiallyExpanded="true">
    <f:facet name="nodeStamp">
    <af:column inlineStyle="width:500px;">
    <af:outputText value="#{node}"/>
    </af:column>
    </f:facet>
    <f:facet name="pathStamp">
    <af:outputText value="#{node}"/>
    </f:facet>
    </af:treeTable>
    </f:facet>
    <f:facet name="header"/>
    <f:facet name="end">
    <af:panelGroupLayout layout="vertical">
    <af:panelLabelAndMessage label="#{bindings.Sal.hints.label}"
    partialTriggers="treetbl">
    <af:outputText value="#{bindings.Sal.inputValue}">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.Sal.format}"/>
    </af:outputText>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.Mgr.hints.label}"
    partialTriggers="treetbl">
    <af:outputText value="#{bindings.Mgr.inputValue}">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.Mgr.format}"/>
    </af:outputText>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.Sal.hints.label}"
    partialTriggers="treetbl">
    <af:outputText value="#{bindings.Sal.inputValue}">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.Sal.format}"/>
    </af:outputText>
    </af:panelLabelAndMessage>
    </af:panelGroupLayout>
    </f:facet>
    It works only for 1'st level. When I choose the child nodes the Job, Salary, mgr is not refreshing.
    Thanks

  • LOV input , SelectOneChoice - Partial Trigger Ploblem..

    ADF , Jdev 11g.
    I populated Master-Detail, and added Partial Trigger.
    Master - Lov input
    Detail - SelectOneChoice like below
    * DataControlPanel
    Table(Parent)Lov-
    .....................-Table(child) SelectOneChoice
    When I populated SelectOneChoice instead of Lov as Master,
    I is work.
    but Lov is not work...
    any ideas?
    regard..

    I tried it. but It is not working.
    <f:view>
        <af:document>
          <af:messages/>
          <af:form>
            <af:pageTemplate viewId="/oracle/templates/threeColumnTemplate.jspx">
              <f:facet name="center"/>
              <f:facet name="header"/>
              <f:facet name="start">
                <af:group>
                  <af:inputListOfValues id="descriptionId"
                                        popupTitle="Search and Select: #{bindings.Description.hints.label}"
                                        value="#{bindings.Description.inputValue}"
                                        label="#{bindings.Description.hints.label}"
                                        model="#{bindings.Description.listOfValuesModel}"
                                        required="#{bindings.Description.hints.mandatory}"
                                        columns="#{bindings.Description.hints.displayWidth}"
                                        shortDesc="#{bindings.Description.hints.tooltip}"
                                        autoSubmit="true">
                    <f:validator binding="#{bindings.Description.validator}"/>
                  </af:inputListOfValues>
                  <af:selectOneChoice id="nl3" autoSubmit="true"
                                      value="#{bindings.CriteriaList2.inputValue}"
                                      label="#{bindings.CriteriaList2.label}"
                                      partialTriggers="descriptionId">
                    <f:selectItems value="#{bindings.CriteriaList2.items}"/>
                  </af:selectOneChoice>
                </af:group>
              </f:facet>
              <f:facet name="branding"/>
              <f:facet name="copyright"/>
              <f:facet name="status"/>
              <f:attribute name="startColumnSize" value="400"/>
            </af:pageTemplate>
          </af:form>
        </af:document>
      </f:view>and let me explan about 'autosubmit' plz

  • How to make Partial Trigger work for a SelectManyShuttle

    Hi,
    I'm developing a page for user role management. For each role, one or more menus could be assigned to it. We have 3 db table, Role, Menu and RoleMenu. RoleMenu is the intersection table.
    At UI level, I placed one editable table on the top of a page, and put a SelectManyShuttle below the table.
    I developed a backing bean for the SelectManyShuttle to get all menus and selectedMenus for the current row in the table.
    The Shuttle can display selectedMenu for the first row of the Role table, but it can't update when I select another row. It seems the partial trigger is not working.
    Below are the codes:
      <af:selectManyShuttle value="#{ pageFlowScope.RoleManagementBean.selectedValues}"
                    leadingDescShown="true" size="8"
                                  trailingDescShown="true"
                                  inlineStyle="background-color:transparent; width:100%;"
                                          binding="#{pageFlowScope.RoleManagementBean.menuSelectShuttle}">
                      <f:selectItems value="#{ pageFlowScope.RoleManagementBean.allItems}"/>
      </af:selectManyShuttle>
    * Implements the basic backing-bean mechanics to handle page with shuttle.
    * By injecting managed properties into the properties of this bean
    * you can setup the shuttle data binding declaratively.
    public class RoleManagementBean {
        String beanName = "RoleManagementBean";
        String allItemsIteratorName;
        String allItemsValueAttrName;
        String allItemsDisplayAttrName;
        String allItemsDescriptionAttrName;
        String selectedValuesIteratorName;
        String selectedValuesValueAttrName;
        List selectedValues;
        List allItems;
        private boolean refreshSelectedList = false;
        private RichSelectManyShuttle menuSelectShuttle;
        public RoleManagementBean() {
        private OperationBinding findOperationBinding(String pOperationBindingName) {
            BindingContainer bindings = ADFUtils.getBindingContainer();
            OperationBinding operation =
                bindings.getOperationBinding(pOperationBindingName);
            return operation;
         * Setter for 'allItemsIteratorName' property.
         * @param allItemsIteratorName Name of the iterator for all items in the list
        public void setAllItemsIteratorName(String allItemsIteratorName) {
            this.allItemsIteratorName = allItemsIteratorName;
         * Getter for 'allItemsIteratorName' property.
         * @return Name of the iterator to use for all items in the list
        public String getAllItemsIteratorName() {
            return allItemsIteratorName;
         * Set allItems value attribute name.
         * @param allItemsValueAttrName name of attr to use as value of all items list
        public void setAllItemsValueAttrName(String allItemsValueAttrName) {
            this.allItemsValueAttrName = allItemsValueAttrName;
         * Get allItems value attribute name.
         * @return name of attr to use as value of all items list
        public String getAllItemsValueAttrName() {
            return allItemsValueAttrName;
         * Setter for 'allItemsDisplayAttrName' property.
         * @param allItemsDisplayAttrName attr to use for display in all items list
        public void setAllItemsDisplayAttrName(String allItemsDisplayAttrName) {
            this.allItemsDisplayAttrName = allItemsDisplayAttrName;
         * Getter for 'allItemsDisplayAttrName' property.
         * @return attr to use for display in all items list
        public String getAllItemsDisplayAttrName() {
            return allItemsDisplayAttrName;
         * Setter for 'allItemsDescriptionAttrName' property.
         * @param allItemsDescriptionAttrName attrib for description in all items list
        public void setAllItemsDescriptionAttrName(String allItemsDescriptionAttrName) {
            this.allItemsDescriptionAttrName = allItemsDescriptionAttrName;
         * Getter for 'allItemsDescriptionAttrName' property.
         * @return attrib for description in all items list
        public String getAllItemsDescriptionAttrName() {
            return allItemsDescriptionAttrName;
         * Setter for 'selectedValuesIteratorName' property.
         * @param selectedValuesIteratorName name of iterator for selected values
        public void setSelectedValuesIteratorName(String selectedValuesIteratorName) {
            this.selectedValuesIteratorName = selectedValuesIteratorName;
         * Getter for 'selectedValuesIteratorName' property.
         * @return name of iterator for selected values
        public String getSelectedValuesIteratorName() {
            return selectedValuesIteratorName;
         * Setter for 'selectedValuesValueAttrName' property.
         * @param selectedValuesValueAttrName name of attr to use for selected value
        public void setSelectedValuesValueAttrName(String selectedValuesValueAttrName) {
            this.selectedValuesValueAttrName = selectedValuesValueAttrName;
         * Getter for 'selectedValuesValueAttrName' property.
         * @return name of attr to use for selected value
        public String getSelectedValuesValueAttrName() {
            return selectedValuesValueAttrName;
         * Setter for 'selectedValues' property.
         * @param selectedValues List of selected values in shuttle
        public void setSelectedValues(List selectedValues) {
            this.selectedValues = selectedValues;
         * Event handler for shuttle value change event.
         * @param event value change event
        public void refreshSelectedList(ValueChangeEvent event) {
            refreshSelectedList = true;
         * Getter for 'selectedValues' property.
         * @return List of selected values in shuttle
        public List getSelectedValues() {
            if (selectedValues == null || refreshSelectedList) {
                System.out.println("here");
                selectedValues =
                        ADFUtils.attributeListForIterator(selectedValuesIteratorName,
                                                          selectedValuesValueAttrName);
            return selectedValues;
         * Setter for 'allItems' property.
         * @param allItems list of SelectItem representing all items in available list
        public void setAllItems(List allItems) {
            this.allItems = allItems;
         * Getter for 'allItems' property.
         * @return list of SelectItem representing all items in available list
        public List getAllItems() {
            if (allItems == null) {
                allItems =
                        ADFUtils.selectItemsForIterator(allItemsIteratorName, allItemsValueAttrName,
                                                        allItemsDisplayAttrName,
                                                        allItemsDescriptionAttrName);
            return allItems;
        public void setMenuSelectShuttle(RichSelectManyShuttle menuSelectShuttle) {
            this.menuSelectShuttle = menuSelectShuttle;
        public RichSelectManyShuttle getMenuSelectShuttle() {
            return menuSelectShuttle;
    }I guess the partial trigger is not working because the binding of the shuttle is not relative to the binding of the role table.
    any help will be appreciated!
    thanks!
    Gene

    My problem is solved, after I removed the if statement at the backing bean getSelectedValues() method
    public List getSelectedValues() {
        //    if (selectedValues == null || refreshSelectedList) {
       //         System.out.println("here");
                selectedValues =
                        ADFUtils.attributeListForIterator(selectedValuesIteratorName,
                                                          selectedValuesValueAttrName);
            return selectedValues;
        }

  • ADF Faces : partial page rendering in f:subview

    hi
    Please consider this blog post, "ADF Faces: How-to issue a PPR event from a f:subview and how-to PPR of subviews" :
    http://thepeninsulasedge.com/frank_nimphius/2008/02/14/adf-faces-how-to-issue-a-ppr-event-from-a-fsubview-and-how-to-ppr-of-subviews/
    In this post, Frank Nimphius writes : "... PPR from a containing page to the subview - unfortunately - only works for the whole subview, which means that the included page is getting refreshed. Because the f:subview component does not support PR, you need to work with a wrapping ADF Faces container, like af:panelGroup ...".
    But, it looks like such partial page rendering in a subview can be done without a specific "wrapping ADF Faces container" like this ...
            <h:form id="firstPPRPageFormID">
              <af:panelPage title="firstPPRPage">
                <af:panelHeader text="components on firstPPRPage">
                  <af:panelForm>
                    <af:panelLabelAndMessage label="dateUtil.currentDateAsString, with partial trigger">
                      <af:outputText value="#{dateUtil.currentDateAsString}"
                                     partialTriggers="firstSubviewID:firstSubviewCButton"/>
                    </af:panelLabelAndMessage>
                    <af:panelLabelAndMessage label="dateUtil.currentDateAsString">
                      <af:outputText value="#{dateUtil.currentDateAsString}"/>
                    </af:panelLabelAndMessage>
                    <f:facet name="footer">
                      <af:commandButton text="firstPPRPage button"
                                        id="firstPPRPageCButton"
                                        partialSubmit="true"/>
                    </f:facet>
                  </af:panelForm>
                </af:panelHeader>
                <f:subview id="firstSubviewID">
                  <jsp:include page="/firstSubview.jspx" flush="true"/>
                </f:subview>
              </af:panelPage>
            </h:form>... and where firstSubview.jspx contains something like this ...
      <af:panelHeader text="components on firstSubview">
        <af:panelForm>
          <af:panelLabelAndMessage label="dateUtil.currentDateAsString, with partial trigger">
            <af:outputText value="#{dateUtil.currentDateAsString}"
                           partialTriggers=":firstPPRPageFormID:firstPPRPageCButton"/>
          </af:panelLabelAndMessage>
          <af:panelLabelAndMessage label="dateUtil.currentDateAsString">
            <af:outputText value="#{dateUtil.currentDateAsString}"/>
          </af:panelLabelAndMessage>
          <f:facet name="footer">
            <af:commandButton text="firstSubview button" id="firstSubviewCButton"
                              partialSubmit="true"/>
          </f:facet>
        </af:panelForm>
      </af:panelHeader>Note the value ":firstPPRPageFormID:firstPPRPageCButton" for the partialTriggers attribute.
    see http://verveja.footsteps.be/~verveja/files/oracle/PartialPageRenderingInSubview-v0.01.zip (check README.txt)
    questions:
    (1) Why exactly does this approach seem to work?
    (2) Because of question (1), what could be potential issues with this approach?
    regards
    Jan Vervecken

    Jan,
    good job ! I actually never thought of reversing what I said about PPR'ing a component from a subview.
    Actually
    partialTriggers=":firstPPRPageFormID:firstPPRPageCButton"/>
    works because the leading ":" makes ADF Faces to start the component search from the root container. Note that if you use af:form instead of h:form, the trigger is
    partialTriggers=":firstPPRPageCButton"/>
    I'll update my blog
    Frank

  • Af:query search button partial trigger

    Experts,
    Having an af:query with table in Jdev 11.1.1.5 page, how can we make the table visible/invisible if the table is empty. I can put
    #{bindings.Details.estimatedRowCount > 0 }  in my table visible property, but how to put a partial trigger from the default search button in the af:query to the table
    thnks

    I donot think you will need to add a partialTrigger separately. The resultComponentId attribute of the af:Query (which should reference the results table) should take care of this .
    From the documentation http://jdevadf.oracle.com/adf-richclient-demo/docs/tagdoc/af_query.html >
    resultComponentId : ....Product teams should ensure that this value is set correctly so that the search operation triggers a partial page refresh of the componenEdited by: Sudipto Desmukh on May 8, 2012 6:48 PM

Maybe you are looking for

  • IPhone 3G with Universal Dock

    Just bought a iPod Universal Dock, and pulg my iPhone 3G into it, it says "This accessory is not made to wrk with iPhone" and ask me to turn on the airplane mode. I thought the Universal Dock is universal for all iPod and iPhone, why does it give me

  • Conceptual questions

    hello experts, since i am new to MDM, there are a few doubts i would like to clear these apply to particular scenarios 1) I have two different R/3 systems two records are present, one in each system in the real world, both these refer to the same dat

  • String array length

    Can any one tell me how to get the no. of rows and no. of columns in an string array. ie if i have array like 1 2 3 4 4 5 6 5 7 8 9 6 in an a[][]. how to fine values ie row =3 and col = 4

  • HT1338 How do I retrieve documents off of a jump drive?

    I am trying to get my husbands resume off of his jump drive.  I plug in the drive and nothing happens.

  • Is It Possible to Change The Default Browser to Open Links in Reader?

    Hi, Does anybody know if it's possible to change the browser that opens links in Adobe Reader? Currently, as I click on a link Internet Explorer starts up by default. Can I change it to another browser? Thanks