Partial Page Rendering - newbie question

I am a newbie to ADF and I am in the process of trying out the tutorial "Developing Ajax-Based User Interfaces with ADF Faces Rich Client Components" http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_56/jdtut_11r2_56.html
I have a question regarding Step 4. I am not very sure where to post this question, if this is not the correct forum, pardon me.
Under "Step 4: Implementing Partial Page Rendering" there is this following comment
In order to have a refresh of the Product Details when you select another row in the Product table, we need to set the Partial Rendering behavior. To do so, perform the following steps:
Similarly On Step 3, sub step 26 states "Finally, double-click on any of the rows in the product table. Notice that the Product Details pane does not reflect the change in the selected product. To implement this synchronization, we need to add partial page rendering functionality."
Question: even before I tried any of the changes mentioned in step 4, I am finding that the product details pane does show information related to the product selected on the panel collection (in other words it is displaying the master detail information automatically). What am I missing here? As per the training document it is supposed to work only after implementing changes mentioned in step 4. Can one of you kindly point out if this is a mistake in documentation or if I have misunderstood the statement?
Thanks
A Sreedhar

Frank,
Thank you very much for the quick turnaround; I appreciate it.
Yes, I am using what seems to be the latest version of JDev (11.1.2.3.0); and yes the ChangeEventPolicy for the iterator is set to "ppr". Thank you for pointing that out.
Does that mean ppr is standard for most components (when I say components, I mean adf tables, button's etc), don't we need to add any special events to get that to work?
I just wanted to see, what will it due if the ChangeEventPolicy for the iterator is set to "None"; made the change saved it, there were two iterators I changed the "ChangeEventPolicy" on both to none; saved it and ran the page. It worked same as before; I was expecting it will not load the corresponding data at the child level, but it did. can you kindly point out what is wrong.
<executables>
<variableIterator id="variables"/>
<iterator Binds="root" RangeSize="25" DataControl="StoreProducts" id="StoreProductsIterator"
ChangeEventPolicy="none"/>
<accessorIterator MasterBinding="StoreProductsIterator" Binds="products" RangeSize="25" DataControl="StoreProducts"
BeanClass="tutorial.model.Product" id="productsIterator" ChangeEventPolicy="none"/>
</executables>
Thanks
Aravind S

Similar Messages

  • Subtab partial page rendering question

    Hi,
    I have a subtablayout bean with two adv table regions. The subtab links in the subtabbar bean are set to partial action. When I run the application for the first time, the subtab one is shown and clicking on the second tab, the VO tied to the second adv table is fired but I see only one row in it.
    When I click to go back to the first tab and then back to the second tab again I see all the records of second VO now.
    I change the action type from fire partial action to fire action for the second tab link. After this, I see all the records displayed the first time I navigate to second tab.
    What should I do to see all the records in the second tab the first time I navigate to it while keeping the partial page rendering mode.
    Thank you,
    Arun

    Thank you for your time Srinath.
    I used getCurrentRowIndex on the VO tied to the second tab and it returns -1 for the first time as well as subsequent navigations to the second tab.
    The table navigation shows "1-10 ..Next" (my setting is to show 10 records at a time in the advance table). It is not showing the 200-201 range.
    "getRowCount(..) would explicitly re-execute the query. This answers why you see the whole set of rows when you have this in the SOP. "
    I am not sure what you mean here..could you please explain. I understand 'getRowCount would re-execute the query' part. But the normal behavior for the advance table should have been to show the first 10 records since the VO has already been executed once.

  • ADF Faces : simultaneous partial page rendering

    hi
    I'm wondering what I can expect from "simultaneous partial page rendering".
    I would like to have some af:selectOneChoice components on a page, with next to them some related information about the selected value.
    This example application, created using JDeveloper 10.1.3.3.0, does this using partial page rendering (check README.txt):
    http://verveja.footsteps.be/~verveja/files/oracle/SimultaneousPPRApp-v0.01.zip
    It as a pprPage.jspx with these components ...
              <af:panelPage title="pprPage">
                <af:panelHorizontal>
                  <af:commandButton text="some button"/>
                  <af:objectSpacer width="10" height="10"/>
                  <af:outputText value="requestCounter.value = #{requestCounter.value}"/>
                </af:panelHorizontal>
                <af:panelHorizontal>
                  <af:selectOneChoice label="selectOneChoice A"
                                      id="selectOneChoiceA" autoSubmit="true"
                                      binding="#{backing_PPRPage.selectOneChoiceA}"
                                      valueChangeListener="#{backing_PPRPage.onChangeSelectOneChoiceA}">
                    <af:selectItem label="null value label"
                                   value="#{null}"/>
                    <af:selectItem label="first choice label"
                                   value="first-choice-value"/>
                    <af:selectItem label="second choice label"
                                   value="second-choice-value"/>
                    <af:selectItem label="third choice label"
                                   value="third-choice-value"/>
                  </af:selectOneChoice>
                  <af:objectSpacer width="10" height="10"/>
                  <af:outputText value="#{backing_PPRPage.selectOneChoiceARelatedValue}"
                                 partialTriggers="selectOneChoiceA"/>
                </af:panelHorizontal>
                <af:panelHorizontal>
                  <af:selectOneChoice label="selectOneChoice B"
                                      id="selectOneChoiceB" autoSubmit="true"
                                      binding="#{backing_PPRPage.selectOneChoiceB}"
                                      valueChangeListener="#{backing_PPRPage.onChangeSelectOneChoiceB}">
                    <af:selectItem label="null value label"
                                   value="#{null}"/>
                    <af:selectItem label="fourth choice label"
                                   value="fourth-choice-value"/>
                    <af:selectItem label="fifth choice label"
                                   value="fifth-choice-value"/>
                    <af:selectItem label="sixth choice label"
                                   value="sixth-choice-value"/>
                  </af:selectOneChoice>
                  <af:objectSpacer width="10" height="10"/>
                  <af:outputText value="#{backing_PPRPage.selectOneChoiceBRelatedValue}"
                                 partialTriggers="selectOneChoiceB"/>
                </af:panelHorizontal>
                <af:outputText value="userAgentHelper.info = #{userAgentHelper.info}"/>
              </af:panelPage>... and has a backing bean like this ...
    public class PPRPage
         public String getSelectOneChoiceBRelatedValue()
              return "some " + fSelectOneChoiceB.getValue() + " related value"
                   + ", requestCounter.value = " + ELHelper.get("#{requestCounter.value}");
         public String getSelectOneChoiceARelatedValue()
              return "some " + fSelectOneChoiceA.getValue() + " related value"
                   + ", requestCounter.value = " + ELHelper.get("#{requestCounter.value}");
         public void onChangeSelectOneChoiceA(ValueChangeEvent pValueChangeEvent)
              // simulating a slow operation/response
              try
                   Thread.sleep(2000);
              catch (InterruptedException ex)
                   ; // ignore;
         public void onChangeSelectOneChoiceB(ValueChangeEvent pValueChangeEvent)
              // nothing here to slow things down
    }It is important to note that changing the value for the "selectOneChoice A" dropbox has some time consuming operation to perform (possibly calculating/querying the related information to show next to it).
    Using IE 6 ("userAgentHelper.info = ... MSIE 6.0 ..."), this behaves like this:
    (ie-1) Run pprPage.jspx in JDeveloper, which results in a page that shows this:
    selectOneChoice A [null value label] some null related value, ...
    selectOneChoice B [null value label] some null related value, ...(ie-2) Select "first choice label" from the "selectOneChoice A" dropbox and immediatly after that select "fourth choice label" from the "selectOneChoice B" dropbox, which results in a page that shows this:
    selectOneChoice A [first choice label] some first-choice-value related value, ...
    selectOneChoice B [fourth choice label] some null related value, ...(ie-3) Select "second choice label" from the "selectOneChoice A" dropbox, which results in a page that shows this:
    selectOneChoice A [second choice label] some second-choice-value related value, ...
    selectOneChoice B [fourth choice label] some fourth-choice-value related value, ...Using Firefox 2.0 ("userAgentHelper.info = ... Firefox/2.0.0.12"), this behaves like this:
    (ff-1) Do the same as in step (ie-1), which has the same result as step (ie-1).
    (ff-2) Do the same as in step (ie-2), which results in a page that shows this:
    selectOneChoice A [first choice label] some first-choice-value related value, ...
    selectOneChoice B [fourth choice label] some fourth-choice-value related value, ...
    questions:
    (q1) Why does the related information, for the selected "fourth choice label", not show up in step (ie-2) (as it does in step (ff-2))?
    (q2) Why does the related information, for the selected "fourth choice label", show up in step (ie-3) while the value was only/already changed in step (ie-2)?
    (q3) Does some general approach exist to prevent "simultaneous partial page rendering" behaviour as described in (q1) and (q2)?
    many thanks
    Jan Vervecken

    repost
    --

  • 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

  • JSF: partial page rendering is causing memory leak leading to outofmemory

    JDeveloper 10.1.3.2.0
    JDK: 1.6.0_06
    Operating System: Windows XP.
    I test my application for memory leaks. For that purpose, I use jconsole to monitor java heap space. I have an edit page that has two dependent list components. One displays all countries and the other displays cities of the selected country.
    I noticed java heap space keeps growing as I change country from country list.
    I run garbage collection and memory usage does not go down. If I keep changing the province for 5 minutes, then I hit a java heap space outofmemory exception.
    To narrow down the problem, I removed the second city component and the problem still exists.
    To narrow it down further, I removed autosubmit attribute from the country component and then memory usage stopped increasing as I change country.
    country/city partial page rendering is just an example. I am able to reproduce the same problem on every page where i use partial page rendering. My conclusion is PPR is causing memory leak or at least the autosubmit attribute.
    This is really bad. Anyone out there experienced same issue. Any help/advice is highly appreciated !!
    Thanks
    <af:panelLabelAndMessage
    inlineStyle="font-weight:bold;"
    label="Country:"
    tip=" "
    showRequired="true"
    for="CountryId">
    <af:selectOneChoice id="CountryId"
                   valuePassThru="true"
                   value="#{bindings.CountryId.inputValue}"
                   autoSubmit="true"
                   inlineStyle="width:221px"
                   simple="true">
         <af:forEach var="item"
              items="#{bindings.CountriesListIterator.allRowsInRange}">
         <af:selectItem value="#{item.countryId}"
                   label="#{item.countryName}"/>
         </af:forEach>
    </af:selectOneChoice>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage
    inlineStyle="font-weight:bold;"
    label="City:"
    tip=" "
    showRequired="true"
    for="CityId">
    <af:selectOneChoice id="CityId"
                   valuePassThru="true"
                   value="#{bindings.CityId.inputValue}"
                   partialTriggers="CountryId"
                   autoSubmit="true"
                   inlineStyle="width:221px"
                   unselectedLabel="--Select City--"
                   simple="true">
         <f:selectItems value="#{backing_CountryCityBean.citiesSelectItems}"/>
    </af:selectOneChoice>
    </af:panelLabelAndMessage>

    Samsam,
    I haven't seen this problem myself, no.
    To clarify - are you seeing this behaviour when running your app in JDeveloper, or when running in an application server? If in JDeveloper, a copuple of suggestions:
    * (may not matter, but...) It's not supported to run JDev 10g with JDK 6
    * have you tried the [url http://www.oracle.com/technology/pub/articles/masterj2ee/j2ee_wk11.html]memory profiler
    Best,
    John

  • Global error page - compatible with partial page rendering

    My global error page doesn't show in some isolated cases. Could this be because of partial page rendering? What changes might be needed to have it work in all cases?
    I have created a global error page and set it in the web.xml with:
    <error-page>
    <exception-type>java.lang.Exception</exception-type>
    <location>pages/htmlErrorPage.html</location>
    </error-page>
    This displays the htmlErrorPage when errors occur in nearly all my tested cases. However, when the test error is created inside one page redraw I find that the application dies without ever displaying my error page. On the console I get an error message that starts with:
    Jun 13, 2008 12:54:11 PM oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer encodeAll
    SEVERE: Error during partial-page rendering
    javax.faces.el.EvaluationException: javax.faces.FacesException: javax.faces.FacesException: Can't instantiate class: 'com.softrek.adf.view.managed.JFreeChartPlotter'.. class com.softrek.adf.view.managed.JFreeChartPlotter : java.lang.NullPointerException
         at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:190)
         at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:143)
    But my error page doesn' t show up. I've used the identical test error in most other parts of my application and it shows - so other than the partial page rendering going on, I can't see why this case would be different.
    Is there any known bug (or feature) about the use of an error page during partial page rendering?
    Any ideas will be welcome.

    I'm unclear on how I would get the error to redirect.
    I've changed my web.xml to go to a servlet of my creation, set up the mapping and all.
    It works fine for exceptions generated in a backing bean normally.
    When the exception occurs as part of partial page rendering the error servlet is not called and the user's session dies.
    This is being done in JDeveloper 10.1.3.3
    The new web.xml contains:
    <error-page>
    <exception-type>java.lang.Throwable</exception-type>
    <location>/servlet/errorAction</location>
    </error-page>
    Which is working for errors generated under most circumstances but not when they are inside my partial page change.
    How do I get errors to go to my error page when the error occurred during PPR?
    PS. Using the PartialPageUtils.isPartialRequest() method generated a recursive error in my error servlet. This looks like the known limitation for Faces error handling.

  • Can we implement partial page rendering on item style Flex??

    Hi All,
    In an xml,
    I have item style 'Flex' for expense account.
    Requirement is :
    In the same page i have other LOV which brings the data based on one of the segments of that expense account.
    So any changes in one of the segments for the expesne account need to be stored and LOV query should be modified accrodingly..
    So trying with following possibilties
    1) Use partial page rendering for expense account
    2) Split the page into two so that first expense account is displayed and any modifications to it are handled in controller and use LOV Mappings to update the query.
    So can partial page rendering can be implemented for Item style "Flex".
    Can anyone please provide the inputs to handle this scenario and best possible solution?
    Issue is very hot right now.. Quick help needed..

    Hi
    No u can not use PPR for flex items although u can create context flexfield .
    thanx
    Pratap

  • Partial page rendering making the transaction very slow

    Hello,
    I have partial page rendering enabled to 3 radio buttons in a page. Whenever i click a radio button, its taking around 15 to 20 seconds to finish the transaction and select the radio button. Not sure how to make it react faster. Any advice?
    Thank You
    --KK                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi KK ,
    Is it slow every time you click on radio button and its happening intermittently ?
    Regards ,
    Keerthi

  • 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

  • Partial page rendering not working in ie9

    Hello guys, i have one fusion web application and got menu navigation using partial page rendering. The problem is, the ppr is working fine in firefox, chrome, ie8 and ie7 but not working in ie9. Is it i need to update jdeveloper patch or something?
    My ppr setting
    put below code in web.xml
    <context-param>
    <param-name>oracle.adf.view.rich.pprNavigation.OPTIONS</param-name>
    <param-value>on</param-value>
    </context-param>
    for the menu just enable partial submit
    partialSubmit="true"

    Oh sorry, currently i am using jdeveloper version 11.1.1.5.0. Actually it is not shown any error, when i click the command link as example below, in ie9, nothing happens still displaying same page (my main page).
    my sample menu
    *<af:commandLink partialSubmit="true" action="page1" text="Page 1" id="cl2"/>*
    *<af:commandLink partialSubmit="true" action="page2" text="Page 2" id="cl3"/>*
    in task flow, action page1 will open page1.jspx and page2 will open page2.jspx

  • Can i use partial page rendering with BC4J?

    Hi!
    I can't use partial page rendering when i use table for bc4j...
    Why is it?
    Viktor

    Why do you say that? It seems to work fine for me...

  • OAF disable lov partial page rendering

    hi
        i want to disable partial page rendering in one page program,like profile 'FND:disable Partial page rendering' function.
    please help me.

        Hi there ,
       Are you trying to disable the PPR for custom page or its a Oracle standard page ?
      Regards ,
      Keerthi

  • Partial Page Rendering with HTMLDB2.0. How can I do it?

    Hi,
    somebody told me, that PPR is implemented in HTMLDB 2.0. So not the whole page will be rerendered after a submit but a single region. I know this very helpful feature from the ADF-Java Server Faces. How can I do it with HTMLDB 2.0?
    Bye,
    Rumburak

    Hello,
    Take a look at this thread.
    Netflix: Nice UI ideas
    Also just so you know PPR Partial Page Refresh is an Oracle term you would probably have better luck looking for AJAX or XMLHTTP when looking in the forums
    Carl

  • Partial Page Rendering - Refresh Column Value

    Hi OAF Gurus,
    I created a create page and followed the tutorial on Partital page Rendering creating a PVO view object and I am able to render the "EmployeeNumber" / "Location" column true OR false based on the value of another feild (Area Monitored).
    The "TypeMonitored" (message choice) has 2 values (Area/Employee). If user selects the "Area" then the "EmployeeNumber" column should be hidden and if the user selects "Employee" then the "Location" column should be hidden. it works fine.
    My problem is if the user has selected "Employee" in the "TypeMonitored" poplist and entered the "EmployeeNumber" and then immediately again if the user selects "Area" from the "TypeMonitored" poplist and enters the "Location" (since the location is now visible to the user) and clicks on the Save then the record is getting saved with both the values. I need to have the column value of "Employee" to be blank in this case.
    Basically need to set/clear the value of EmployeeNumber before saving to the database.
    Any help would be greatlly appreciated. Please let me know if you need further details.
    Thanks,
    Mir
    Here is my AMImpl Code
    ===============
    package lac.oracle.apps.lac.lacempexposure.server;
    import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
    import oracle.apps.fnd.framework.server.OAViewObjectImpl;
    import oracle.jbo.Row;
    import oracle.apps.fnd.framework.OAViewObject;
    import oracle.jbo.Transaction;
    import oracle.jbo.domain.Number;
    import oracle.apps.fnd.framework.OARow;
    import oracle.apps.fnd.common.MessageToken;
    import oracle.apps.fnd.framework.OAException;
    // --- File generated by Oracle ADF Business Components Design Time.
    // --- Custom code may be added to this class.
    // --- Warning: Do not modify method signatures of generated methods.
    public class LacEmpExposureAMImpl extends OAApplicationModuleImpl {
    /**This is the default constructor (do not remove)
    public LacEmpExposureAMImpl() {
    * Initializes the transient application properties VO.
    public void init()
    System.out.println("Into LACEmpExposureAMImpl.java IN init");
    //System.out.println(LacTypeMonitored);
    OAViewObject appPropsVO = (OAViewObject)findViewObject("LacExpCreatePVO1");
    if (appPropsVO != null)
    // Do not reinitialize the VO unless needed. Note that this method call
    // does not try to query the database for VOs with no SELECT statement
    //and only transient attributes.
    if (appPropsVO.getFetchedRowCount() == 0)
    // Setting the match fetch size to 0 for an in-memory VO
    // prevents it from trying to query rows. Calling
    // executeQuery() ensures that rows aren't lost after
    // a commit in the transaction (BC4J known issue workaround).
    appPropsVO.setMaxFetchSize(0);
    appPropsVO.executeQuery();
    // You must create and insert a row in the VO before you can start
    // setting properties.
    appPropsVO.insertRow(appPropsVO.createRow());
    // Set the primary key value for this single-rwo VO.
    OARow row = (OARow)appPropsVO.first();
    row.setAttribute("RowKey", new Number(1));
    } // Initialize the application properties VO (and the UI) based on the
    // default Type Monitored value set on the underlying object.
    handleTypeMonitoredChangeEvent();
    } // end init()
    * Handles changes of the TypeMonitored poplist to set the
    * application properties VO value for PRR
    public void handleTypeMonitoredChangeEvent()
    // Get the special, single-row application properties and make the
    // first(only) row current.
    OAViewObject vo = (OAViewObject)findViewObject("LacExpCreatePVO1");
    OARow row = (OARow)vo.first();
    // Get the value of the view object attribute with the TypeMonitored code
    OAViewObject LacEmpExposureCreateVO = (OAViewObject)findViewObject("LacEmpExposureVO1");
    OARow LacEmpExposureCreateRow = (OARow)LacEmpExposureCreateVO.getCurrentRow();
    String LacTypeMonitored = (String)LacEmpExposureCreateRow.getAttribute("TypeMonitored");
    System.out.println("Into LACEmpExposureAMImpl.java IN handleTypeMonitoredChangeEvent");
    System.out.println(LacTypeMonitored);
    //row.getAttribute("LocationMonitoredRender");
    //System.out.println(row.getAttribute("LocationMonitoredRender"));
    if (("Personal".equals(LacTypeMonitored)))
    row.setAttribute("LocationMonitoredRender", Boolean.FALSE);
    row.setAttribute("EmployeeNumberRender", Boolean.TRUE);
    row.setAttribute("FullNameRender", Boolean.TRUE);
    else if (("Area".equals(LacTypeMonitored)))
    row.setAttribute("LocationMonitoredRender", Boolean.TRUE);
    row.setAttribute("EmployeeNumberRender", Boolean.FALSE);
    row.setAttribute("FullNameRender", Boolean.FALSE);
    } // handleTypeMonitoredChangeEvent()
    /**Sample main for debugging Business Components code using the tester.
    public static void main(String[] args) {
    launchTester("lac.oracle.apps.lac.lacempexposure.server", /* package name */
    "LacEmpExposureAMLocal" /* Configuration Name */);
    /**Container's getter for LacEmpExposureVO1
    public OAViewObjectImpl getLacEmpExposureVO1() {
    return (OAViewObjectImpl)findViewObject("LacEmpExposureVO1");
    /**Container's getter for EmployeeNamesLovVO1
    public OAViewObjectImpl getEmployeeNamesLovVO1() {
    return (OAViewObjectImpl)findViewObject("EmployeeNamesLovVO1");
    /**Container's getter for MonitoringTypeVO1
    public OAViewObjectImpl getMonitoringTypeVO1() {
    return (OAViewObjectImpl)findViewObject("MonitoringTypeVO1");
    /**Container's getter for LacParameterMonitoredVO1
    public OAViewObjectImpl getLacParameterMonitoredVO1() {
    return (OAViewObjectImpl)findViewObject("LacParameterMonitoredVO1");
    *Creates a new Exposure Record
    public void CreateLacEmpExposure()
    OAViewObject vo = (OAViewObject)getLacEmpExposureVO1();
    //Per the coding standards, this is the proper way to
    //initialize a VO that is used for both inserts and queries.
    //See View Objects in detail in then Developers Guide for
    //additional Information.
    System.out.println("Into LACEmpExposureAMImpl.java IN CreateLacEmpExposure");
    if(!vo.isPreparedForExecution())
    vo.executeQuery();
    Row row = vo.createRow();
    vo.insertRow(row);
    //Required per OA Framework Model Coding Standard M69
    row.setNewRowState(Row.STATUS_INITIALIZED);
    } // end CreateLacEmpExposure
    *Executes a rollback including the database and the middle tier
    public void rollbackLacEmpExposure()
    Transaction txn = getTransaction();
    // This small optimization ensures that we dont persorm a rollback
    // if we don't have to.
    if (txn.isDirty())
    txn.rollback();
    } // end rollbackLacEmpExposure()
    /**Container's getter for LacEmpExposureLOVDataVO1
    public OAViewObjectImpl getLacEmpExposureLOVDataVO1() {
    return (OAViewObjectImpl)findViewObject("LacEmpExposureLOVDataVO1");
    * Commits the transaction
    public void Apply()
    getTransaction().commit();
    } // end apply()
    /**Container's getter for LacExpCreatePVO1
    public OAViewObjectImpl getLacExpCreatePVO1() {
    return (OAViewObjectImpl)findViewObject("LacExpCreatePVO1");
    * Initializes the detail employee query for Update Page.
    public void initDetailsUpdate(String EmployeeNumber,
    String FullName,
    String RecordSeq)
    System.out.println("Into LACEmpExposureAMImpl.java IN initDetailsUpdate");
    System.out.println("LACEmpExposureAMImpl ==> EmployeeNumber in initQueryUpdate is: " + EmployeeNumber);
    System.out.println("LACEmpExposureAMImpl ==> FullName in initQueryUpdate is: " + FullName);
    System.out.println("LACEmpExposureAMImpl ==> RecordSeq in initQueryUpdate is: " + RecordSeq);
    // OAViewObjectImpl vo = getLacEmpExposureVO1();
    LacEmpExposureEditVOImpl vo = (LacEmpExposureEditVOImpl)getLacEmpExposureEditVO1();
    // OAViewObject vo = (OAViewObject)getLacEmpExposureVO1();
    if (vo == null)
    MessageToken[] errTokens = { new MessageToken("OBJECT_NAME", "LacEmpExposureVO1") };
    throw new OAException("AK", "FWK_TBX_OBJECT_NOT_FOUND", errTokens);
    vo.InitQueryUpdate(EmployeeNumber, FullName, RecordSeq);
    Row row=vo.first();
    vo.setCurrentRow(row);
    // Since we're querying a single row with a primary key value, we
    // can use the findByKey method which first checks the BC4J cache,
    // and if it doesn't find a matching row, it will formulate a query using
    // the given key and retrieve it from the database.
    String[] keys = { employeeNumber };
    Row[] rows = vo.findByKey(new Key(keys), 1);
    // You must set the current row, or the Details page won't display any
    // data. When you explicitly query data, you don't have to do this.
    if (rows != null)
    vo.setCurrentRow(rows[0]);
    } // end initDetails()
    /**Container's getter for LacEmpExposureEditVO1
    public LacEmpExposureEditVOImpl getLacEmpExposureEditVO1() {
    return (LacEmpExposureEditVOImpl)findViewObject("LacEmpExposureEditVO1");
    } // end class LacEmpExposureAMImpl

    Hi,
    In your LacTypeMonitored // I assume this will be triggered when you change the poplist value form Employee to Area
    Add a logic to null the Employee value
    if (("Area".equals(LacTypeMonitored)))
    row.setAttribute("LocationMonitoredRender", Boolean.TRUE);
    row.setAttribute("EmployeeNumberRender", Boolean.FALSE);
    row.setAttribute("FullNameRender", Boolean.FALSE);
    //Set the employee attribute to null
    (OARow)LacEmpExposureCreateVO.getCurrentRow().setAttribute("<employeeAttribute >",null);
    Let me know it works.
    Thanks,
    With regards,
    Kali.
    OSSI.

  • HGrid, Tree and Partial Page Rendering..

    Hi!
    We use JDev 9.0.3.3 .
    Is it possible to use HGrid or Tree with partial rendering?
    Or is there a solution to use iFrame...
    any help?
    Viktor

    It is possible in my version of uix that will be shipped with 10g production. The version i got is uix 2.2.
    Did you already used tree and hgrid in an application ? If yes, did you use struts action as event to pass parameter from the tree to the hgrid ?
    We are searching a good desgn to use tree as explorer in a frame and load different content in an another one. The problem i encountered now is to define how to pass parameter from the tree to the components in the "contents" frame.
    To use frame with tree an hgrid see the code below
    <?xml version="1.0" encoding="windows-1252"?>
    <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" expressionLanguage="el">
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
    <provider>
    <!-- Add DataProviders (<data> elements) here -->
    </provider>
    <contents>
    <frameBorderLayout>
    <top>
    <frame source="headerFrame.uix" height="20%" />
    </top>
    <left>
    <frame source="leftFrame.uix" width="30%"/>
    </left>
    <center>
    <frame source="centerFrame.uix"/>
    </center>
    </frameBorderLayout>
    </contents>
    </dataScope>
    </content>
    <handlers>
    <!-- Add EventHandlers (<event> elements) here -->
    </handlers>
    </page>
    <?xml version="1.0" encoding="windows-1252"?>
    <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" expressionLanguage="el">
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
    <provider>
    <!-- Add DataProviders (<data> elements) here -->
    <data name="FBTreeData">
    <inline>
    <nodes text="Par date de financement" expandable="expanded">
    <nodes text="2004" expandable="expanded">
    <nodes text="Quarter 4"/>
    <nodes text="Quarter 3"/>
    <nodes text="Quarter 2"/>
    <nodes text="Quarter 1"/>
    </nodes>
    <nodes text="2003" expandable="expanded">
    <nodes text="Quarter 4"/>
    <nodes text="Quarter 3"/>
    <nodes text="Quarter 2"/>
    <nodes text="Quarter 1"/>
    </nodes>
    </nodes>
    </inline>
    </data>
    </provider>
    <contents>
    <formattedText text="this is the left frame"/>
    <tree nodes="${uix.data.FBTreeData.nodes}"/>
    </contents>
    </dataScope>
    </content>
    <handlers>
    <!-- Add EventHandlers (<event> elements) here -->
    </handlers>
    </page>
    <?xml version="1.0" encoding="windows-1252"?>
    <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" expressionLanguage="el">
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
    <provider>
    <!-- Add DataProviders (<data> elements) here -->
    </provider>
    <contents>
    <formattedText text="this is the center frame"/>
    </contents>
    </dataScope>
    </content>
    <handlers>
    <!-- Add EventHandlers (<event> elements) here -->
    </handlers>
    </page>

Maybe you are looking for

  • Query performance.

    Hi I have created a procedure that accepts two bind variables from a report. The user will select one or the other, both or neither of the variables. To return the appropriate results i have created a view with the entire result set and in the proced

  • Photoshop Elements 8 organizer crashes everytime I start it up

    Hi, I'm having a problem with the Photoshop Elements organizer (version 8) - every time I start it up it crashes right away. This has been happening since yesterday where I was uploading some photos to Smugmug via photoshop elements where it crashed

  • Problems with running BAPI   BAPI_SALESORDER_CREATEFROMDAT2

    Hi all, I’ve got a problem running BAPIs in SD invironment. I’m creating contract releases in SD via BAPI. First I run BAPI BAPISORDER_GETDETAILEDLIST in my program to get detaildata of the contract. Then I run the BAPI   BAPI_SALESORDER_CREATEFROMDA

  • Printing of Withholding Taxes

    Hello All, While printing the withholding taxes there is no control like a tax certificate can it be printed any number of time??? Reply me ASAP. Regards Aditya

  • ORACLE ENTERPRISE EDITION VERSION 별 주요 특징

    제품 : ORACLE SERVER 작성날짜 : 2004-08-13 오라클 서버의 version 별 주요 특징은 다음과 같습니다 Oracle 7.1 =========== - 병렬 SQL 오퍼레이션 제공:      . Parallel Scan, Parallel Join, Parallel Sub-query 등      . Parallel loading      . Parallel Index Creation - Synchronous Distribute