Partial page navigation

hi everybody ,
i have a page wich content a menu , i want when i clic on a menu only the content of the page change (from table to form in my case) .
how to achieve this with adf i think i can use ppr but how ?
thanks

Hi,
if you only want to change the way data is presented (from form to table) then you use af:switcher and PPR the parnet container holding this tag. Each facet of the af:switcher tag would then hold the UI you want to switch between. If you want to change business context, then you use bounded task flows and from your menu change the display of a dynamic region by changing the associated managed bean.
http://docs.oracle.com/cd/E23943_01/apirefs.1111/e12419/tagdoc/af_switcher.html
http://docs.oracle.com/cd/E23943_01/web.1111/b31974/taskflows_regions.htm#CHDJHACA
Frank

Similar Messages

  • How to use Partial Page Navigation

    according to Web User Interface Developer's Guide for Oracle Application Development Framework section 7.4.1 How to Use Partial Page Navigation,
    I set 'oracle.adf.view.rich.pprNavigation.OPTIONS' to 'on' in the web.xml.
    and in the jspx, I use af:commandNavigationItem to navigation and set the tag 'partialSubmit' attribute to true.
    But it does not work. does anybody know how to use this feature?

    Hi,
    the question is "what does not work". Partial Page Navigation is there to improve performance on page navigation. So if you navigate from page1 using a navigation case to end up at page 2 then the outcome of the command action's action property should match the navigation case name.
    Frank

  • Partial Page Navigation in Oracle ADF

    Hi!
    I am looking for a solution in Oracle ADF for rendering different page content inside the current page defined layout using AJAX. Currently on command button i am able to send XMLHttpRequest but it is going to another page rather than rendering the other page content on the current page.
    my index page code is:-
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1" binding="#{backingBeanScope.backing_index.d1}">
    <af:form id="f1" binding="#{backingBeanScope.backing_index.f1}">
    <af:commandButton text="Go"
    binding="#{backingBeanScope.backing_index.cb1}"
    id="cb1"
    action="#{backingBeanScope.backing_index.cb1_action}"
    partialSubmit="true"/>
    <af:panelFormLayout id="pfl1" binding="#{backingBeanScope.backing_index.pfl1}" partialTriggers="cb1"
    inlineStyle="height:403px;">
    <af:outputFormatted value="this is index page, click go button to go to home page" id="of1" binding="#{backingBeanScope.backing_index.of1}"/>
    </af:panelFormLayout>
    </af:form>
    </af:document>
    </f:view>
    <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_index-->
    </jsp:root>
    my home page is:-
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1" binding="#{backingBeanScope.backing_home.d1}">
    <af:outputFormatted value="welcome to CAP" id="of1" binding="#{backingBeanScope.backing_home.of1}"/>
    </af:document>
    </f:view>
    <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_home-->
    </jsp:root>
    my adfc-config code is:-
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
    <view id="home">
    <page>/home.jspx</page>
    </view>
    <view id="index">
    <page>/index.jspx</page>
    </view>
    <control-flow-rule id="__9">
    <from-activity-id id="__10">index</from-activity-id>
    <control-flow-case id="__11">
    <from-outcome id="__13">success</from-outcome>
    <to-activity-id id="__12">home</to-activity-id>
    </control-flow-case>
    </control-flow-rule>
    <managed-bean id="__1">
    <managed-bean-name id="__3">backing_index</managed-bean-name>
    <managed-bean-class id="__4">view.backing.Index</managed-bean-class>
    <managed-bean-scope id="__2">backingBean</managed-bean-scope>
    <!--oracle-jdev-comment:managed-bean-jsp-link:1index.jspx-->
    </managed-bean>
    <managed-bean id="__6">
    <managed-bean-name id="__8">backing_home</managed-bean-name>
    <managed-bean-class id="__5">view.backing.Home</managed-bean-class>
    <managed-bean-scope id="__7">backingBean</managed-bean-scope>
    <!--oracle-jdev-comment:managed-bean-jsp-link:1home.jspx-->
    </managed-bean>
    </adfc-config>
    Thank you in advance

    Hi.
    You can do it using ADF TaskFlows,Create two page fragments as index.jsff and home.jsff.Also need to create container page(.jspx) to add taskflow and finally need to run Content page.Then you can navigates page fragments within taskflow using controle flow case(navigation between page fragments).
    See:
    http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/taskflows.htm
    http://andrejusb.blogspot.com/2010/03/passing-parameters-from-adf-task-flow.html

  • 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

  • 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.

  • Page navigation in Acrobat does not match page numbers in the document

    I have a document in both Framemaker format (server.book) and PDF (server.pdf).  When I view the pdf file in Adobe Acrobat, the page numbers appear correctly on the document itself, but up in the Page Navigation window within Acrobat the pages number doesn't match.
    In the beginning of the book I have Title page, a Table of Contents, and a Preface that all use lower-case roman numerals.  However, when viewing this document via Acrobat, the Title pages show up as i, and ii, but then the Table of Contents and Preface show up as pages 1 - 8 instead of iii - x in the page navigation window.
    I can't figure where this discrepancy is originating. 
    Please help.

    Acrobat has no way to know which bit of character string on each page is the page number.
    The visible page number has never formed any part of Reader nav. as you point out, it couldn't.
    Acrobat knows the Numbering Properties of the pages as created in Frame. It just doesn't display or honor them consistently, depending on Reader version.
    I also use i, ii, iii, iv for pre-narrative material. The romans are displayed in the page number box of Acroread (this is AR7 on Unix). I can enter "ii" in the box, and go to that page. But the Print dialog is Ordinal only. Printing page ranges in AR7 is always off by 2 or 4 relative to the actual page numbers.
    Acrobat Pro 9 (9.4.5, Win7-64) seems to be more consistent, and does show and accept real page numbers for Print.

  • Partial page refresh is not working in APEX 4.0

    Hi All,
    I have a report region in my application,I have selected the following properties for the region,
    Pagination scheme - Row ranges X To Y (with next and previous links)
    Enable partial page refresh - yes
    Display position - bottom -right
    Their is an arrow mark link(next /previous) in the right bottom corner,when i click on that ,the region is displaying the next 15 rows, but the region is not getting refresh,the scroll bars are al went off if i click the previous/next link.
    After that i refreshed the page by clicking F5 ,scroll bar is appearing now.
    In the region header and footer i have added this code,
    <div style="overflow:auto;">
    </div>for scroll bar
    Please some body help me to fix this issue..
    Thanks & Regards,
    Ramya.
    Edited by: Ramya on Apr 15, 2012 10:42 PM

    Hi All,
    I fixed this issue.
    I used Skillbuilders modal popup plugin, to open the form page as popup when i edit the record.To implement this plugin i have already created dynamic action for edit ,create and autoclose the popup.
    In the dynamic action i changed the EVENT SCOPE from BINT To LIVE and tested the application.Now its working fine.
    I can able to edit the record after i hit the next/previous pagination link .
    Thanks ,
    Ramya.

  • Print, Export and Page Navigation Buttons in the Report

    When I view a report through CR4E, the generated report has 3 buttons namely Print, Export and Page Navigation buttons. But when I click on either of the buttons I get a &#39;null pointer exception&#39;. This is a critical error as I am unable to navigate past the first page. Do I have to add code to these buttons? If not, why am I getting an error? Kindly solve my problem as soon as possible.

    <p>Looking at your code it appears that you are storing the ReportSource in session prior to passing in the ResultSet. This will create a problem when a postback is made on  the viewer page (which all of the viewer actions do). If you look at the sample code which is generated when you use the JSP Page Wizard you will notice that the ResultSet is passed to the ReportClientDocument object prior to it being stored in session. Then, when the page is called again this object is retrieved and the ReportSource is used by the viewer. You can quickly run the test using one of our sample reports to see what I am talking about. The code below was generated using the Consolidated Balance Sheet.rpt and did not experience any problems doing any of the viewer actions.</p><%@page import="com.businessobjects.samples.JRCHelperSample,<br />com.crystaldecisions.report.web.viewer.CrystalReportViewer,<br />com.crystaldecisions.reports.sdk.ReportClientDocument,<br />com.crystaldecisions.sdk.occa.report.application.OpenReportOptions,<br />com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase,<br />com.crystaldecisions.sdk.occa.report.reportsource.IReportSource,<br />java.sql.Connection,<br />java.sql.DriverManager,<br />java.sql.ResultSet,<br />java.sql.SQLException,<br />java.sql.Statement"%><%<br /><br /><br />    try {<br /><br />        String reportName = "Sample Reports/Consolidated Balance Sheet.rpt";<br />        ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute(reportName);<br /><br />        if (clientDoc == null) {<br /><br />            clientDoc = new ReportClientDocument();<br />            <br />            // Open report<br />            clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);<br /><br />  <br />            {<br />                // **** POPULATE MAIN REPORT ****<br />                {<br />                     // Connection Info for fetching the resultSet<br />                    String connectStr = "jdbc:derby:classpath:/Xtreme";<br />                    String driverName = "org.apache.derby.jdbc.EmbeddedDriver";<br />                    String userName = "dbuser";        // TODO: Fill in database user<br />                    String password = "dbpassword";    // TODO: Fill in valid password<br /><br />                    String query = "SELECT CUSTOMER_NAME FROM APP.CUSTOMER WHERE COUNTRY = &#39;Australia&#39;";<br /><br />                    <br />                    String tableAlias = "FINANCIALS";        // TODO: Change to correct table alias<br /><br />                     <br />                    JRCHelperSample.passResultSet(clientDoc, fetchResultSet(driverName, connectStr, userName, password, query),<br />                        tableAlias, "");<br />                }<br /><br /><br />            }<br />        <br />            // Store the report document in session<br />            session.setAttribute(reportName, clientDoc);<br /><br />        }<br /><br /><br />            {<br />                // Create the CrystalReportViewer object<br />                CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();<br /><br />                //    set the reportsource property of the viewer<br />                IReportSource reportSource = clientDoc.getReportSource();                <br />                crystalReportPageViewer.setReportSource(reportSource);<br /><br />                // set viewer attributes<br />                crystalReportPageViewer.setOwnPage(true);<br />                crystalReportPageViewer.setOwnForm(true);<br /><br />                // Process the report<br />                crystalReportPageViewer.processHttpRequest(request, response, application, null); <br /><br />            }<br />            <br /><br />    } catch (ReportSDKExceptionBase e) {<br />        out.println(e);<br />    } <br />    <br />%><%!<br />// Simple utility function for obtaining result sets that will be pushed into the report.  <br />// This is just standard querying of a Java result set and does NOT involve any <br />// Crystal JRC SDK functions. <br /><br />    private static ResultSet fetchResultSet(String driverName,<br />            String connectStr, String userName, String password, String query) throws SQLException, ClassNotFoundException {<br /><br />        //Load JDBC driver for the database that will be queried    <br />        Class.forName(driverName);<br /><br />        Connection connection = DriverManager.getConnection(connectStr, userName, password);<br />        Statement statement = connection.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);<br /><br />        //Execute query and return result sets<br />        return statement.executeQuery(query);<br /><br />}%><p>Try using the code generated from the wizard to see if it works for you as well. </p><p>Regards,<br />Sean Johnson (CR4E Product Manager) </p>

  • (Classic) Report losing pagination on partial page refresh - APEX feature request

    I have a page with both an Interactive Report and some classic Report regions.
    Based on user updates, there are many occasions where I need to do a partial page refresh.
    Thanks to plugin http://www.apex-plugin.com/oracle-apex-plugins/dynamic-action-plugin/refresh-interactive-report-1.0_361.html
    I'm able to refresh my IR, but not my classic report (unless I do a submit of the whole page) without losing pagination.
    Request: Will a Dynamic action 'Refresh without losing pagination' be part of future apex versions?
    Now, in apex 4.2, is there another work around available for classic reports?
    (I use 'submit page' now as action, but it's at least a second slower as a partial refresh, and because I need it on every user update, this second becomes a big addition to user frustration).
    Thanks, JP

    Here is the solution for your problem:
    https://apex.oracle.com/pls/apex/f?p=31517:243
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    https://apex.oracle.com/pls/apex/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494

  • 11g Forms Tab-Page Navigation

    I am using Forms 11g on Solaris.
    A main navigator form opens another form which has a content canvas, tab-page canvas and (3) stacked canvases.
    The problem I am having is with tab-page navigation.     CTRL+TAB ( next ) and CTRL+SHIFT+TAB ( previous )
    As long as I do not initiate navigation from an item on a stacked canvas, navigation is as expected ( between tab pages only ).
    However, navigating from an item within a stacked canvas causes navigation to the parent form.
    Repeating the tab navigation keys from the parent form returns to the called form.
    Note that both key-combinations simply toggle back and forth.
    I have found no documentation on tab-page navigation so any help / insight is greatly appreciated !
    Mike

    Hi Soofi !
    Changing block order in the called form does not affect the navigation between tab pages.
    Note in my question that the resulting undesired navigation is to and from the calling form ( which only has one block ).
    Navigation between items and blocks works as expected.
    To reiterate -
         The only navigation that fails is when I attempt to CTRL+TAB or CTRL+SHIFT+TAB to another tab page from within an item on a stacked canvas.
         Attempting this navigation results in moving the cursor focus to the calling form.
         Repeating the attempt from the calling form moves back to the called form.
         None of your methods mention navigation between forms .
    Thanks for your interest.

  • Event handler when using partial page refresh ?

    Hi
    I have a calendar, which uses partial page refresh. The problem is how to make javascript wait until the calendar has loaded and then do some updates on the calendar (after the user has pressed the next button that runs apex.widget.calendar.ajax_calendar('S','next');, for example ). I thought I could add "onreadystatechange" (or onload) event handler to the calendar like this: onreadystatechange="checkState()", where the function would check the state and if ready then do the updates. This doesn't work. Could somebody please tell me why not ?
    Tiina

    Hi,
    It seems that ajax calendar missing event apexafterrefresh.
    I do not know is this "bug" or just feature.
    That event would be useful to your case , if I understand correct what you looking for.
    For workaround , you can over write original function by placing this to calendar region footer
    <script>
    apex.widget.calendar.ajax_calendar=function(p_calendar_type, p_calendar_action, p_calendar_date, p_calendar_end_date){
    var l_cal_type_field = $v('p_cal_type_field_id');
    var l_cal_date_field = $v('p_cal_date_field_id');
    var l_cal_end_date_field = $v('p_cal_end_date_field_id');
    var l_cal_id = $v('p_calendar_id');
    var l_calendar_region = 'calendar' + l_cal_id;
    if ( p_calendar_type != 'C' ){
      $s(l_cal_date_field,$v('p_calendar_date'));
    }else{
      if ( $v(l_cal_date_field) == '' ) {
       $s(l_cal_date_field,$v('p_calendar_date'));
      if ( $v(l_cal_end_date_field) == '' ) {
       $s(l_cal_end_date_field,$v('p_calendar_end_date'));
    // create and apex.ajax.widget object
    var a = new apex.ajax.widget('calendar',function(){
      /* start the return function */
      if(p.readyState == 1){
       document.body.style.cursor = "wait";
      }else if(p.readyState == 2){
      }else if(p.readyState == 3){
      }else if(p.readyState == 4){
       $x(l_calendar_region).innerHTML = p.responseText ;
       $s(l_cal_date_field,$v('p_calendar_date'));
       if (p_calendar_type == 'C') $s(l_cal_end_date_field,$v('p_calendar_end_date'));
       document.body.style.cursor = "";
      /* DO HERE THINGS AFTER CALENDAR REFRESH */
      }else{return false;}
    // code for next,previous and today
    if (p_calendar_type == 'S'){
      p_calendar_type = $v('p_calendar_type');
    }else{
      $s(l_cal_type_field,p_calendar_type);
    a.ajax.addParam('p_widget_mod',p_calendar_type);
    a.ajax.addParam('p_widget_action',p_calendar_action);
    a.ajax.addParam('x01',l_cal_id);
    var lDate = (!!p_calendar_date && p_calendar_date !== '')?p_calendar_date:$v(l_cal_date_field);
    if (p_calendar_type == 'C') {
      var lendDate = (!!p_calendar_end_date && p_calendar_end_date !== '')?p_calendar_end_date:$v(l_cal_end_date_field);
    a.ajax.add(l_cal_date_field,lDate);
    if (p_calendar_type == 'C') a.ajax.add(l_cal_end_date_field,lendDate);
    a.ajax.addParam('x02',lDate);
    if (p_calendar_type == 'C') a.ajax.addParam('x05',lendDate);
    a.ajax.add(l_cal_type_field,p_calendar_type);
    a._get();
    </script>Where I have comment *"do here things after calendar refresh"*, you can hook own scripts.
    Of course this is not best way, but might help you till ajax calendar support dynamic actions fully
    Regards,
    Jari
    Edited by: jarola on Oct 20, 2010 3:11 PM

  • JSF Page Navigation from Tab to another page and back to tab

    I have a Page with tabs and a button in each of those presenting a Table and "Create Button"
    I would like to go to a new page and come back to the same active tab.
    How do I set the page navigation properties?
    Right now I am in
    Page1(Tab3) Button click-> page2(Create)->Page1 is showing a wrong active tab.
    Can we tell page navigation to go activate a tab it came from?
    Message was edited by:
    spattabiraman

    Hello, maybe if u declare a sessionbean variable as string, in the page u want to open thew tab, in init() you must call the session bean withh the name of the tab u are calling, for example:
    getSessionBean1().setSeltab("tab1");
    i hope it can help
    Beltazor

  • Can't find the 'page navigator' in Pages

    I can't find page navigation features in Pages
    I'm using Pages 5.2.2 on OS X 10.9.5.
    (usually I work with word processing documents)
    I think I must've said 'OK' & accepted an upgrade at some point, because the application suddenly looked different one day---e.g. the Inspector is no longer a floating window, but a column on the side... So I gather there's something called the Page Navigator, but I can't find it anywhere---not even a mention in Help.
    I no longer see the page number in the lower left of the window, and without that, I can't jump to a page.
    Please help.

    Thanks for the responses, Peter & Mike.
    I do know about the thumbnails, and yes, you can quickly drag up or down there, to find to the page you want. But that's still no match for clicking in the old page-number box on the lower left corner and simply inputting the exact page you want. (Even that wasn't quite as good as "Go to page __" command).
    Have they really deleted that?
    And where's everything else? The Inspector (is it no longer available as a floating window?!) seems sparse---I can't say precisely what's missing----but I have that weird feeling like when someone moves around the things on your desk, stuff is missing, or isn't where it used to be....

  • Page navigation buttons not working properly

    Hi,
    I am having a multilingual Java Application (e.g. English, Japanese, French...).  In this application there are reports which display the data using locale parameter (like en_US, ja_JP etc.) to display the data in selected language.
    The problem comes up when I see Japanese reports on English operating system machine and vice versa.
    When I click any button of page navigation it changes the page number but does not load and display the page accordingly.
    It's like when I run the report it displays the first page, then clicking on Next button brings 2 in navigation field but the report  would still show first page, same happens for 3, 4.... all pages. 
    The other navigation buttons also do not work, they change the page number but display only the first page.
    This problem does not occur when I see Japanese reports on Japanese OS machine and English reports on English OS machine.
    However my clients need the first case, Japanese reports should work on English OS machine also.
    Please advise urgenly.

    Hi,
    I resolved the above issue by removing the call to method setProductLocale in jsp file (which was really unnecessary in code as product locale is meant to set languange for crystal report design environment ).
    Actually the problem was I had set locale at two place
                    1. using setLocale method of ReportClientDocument object) after the initialization of report client document object
                    2. using setProductLocale method of CrystalReportViewer object after the initialization of Crystal Report Viewer  object
    After commenting out code for setProductLocale, reports in all languages and all their functionalities started working 100% perfectly.
    Thanks.

  • IWeb Page Navigational Links not working with Internet Explorer 7

    I'm hoping someone can help me out here? My wife created her 1st website using iWeb. I am testing the sites functionality before we publish it. All the pages and links work fine on Firefox and Safari for windows. However, the page navigational links are not working on Internet Explorer 7. All I see is a dot to the left side of where the page links should be. When I start the site in IE7 I get an Active X script warning and I am asked if I want to allow the script to run; to which I reply yes. After I allow the Active X script the dot to the left side of where the page links should be disappears, but the links do not appear.
    Is there anyway to resolve this? Most of the members of her club have Windows based PCs and are using IE7.
    Message was edited by: cviz821

    Yes, Javascript is running on IE7 and other java script applets appear to be working with the exception of the Navbar script.
    It would be great if my wife's friends used a "real" browser, unfortunately 70% of the people on the web use IE7, so this is a real concern if we can't get this to work. I'v seen other iWeb site on IE7 that seem to function fine, so I'm not sure what the issue is here.
    Message was edited by: cviz821

Maybe you are looking for