Page Navigation via Subforms

I have this one page with several subforms as part of a master form. (meaning, you do the top form, then you scroll down) When you get to one at the bottom, when you click the button, it brings you back to the top of the page. I tried adding anchor names to each region, and branching with a "Branch to page or URL" with target type = URL and the URLTarget being #Name. this doesn't seem to work. I tried several different things trying to get this to work. Is there built in support for this or do I have to javascript this to work by setting a parameter to choose my a name?
Can someone help me out?
Thanks,
Scott

You were on the right track with the achors, but you DO NOT want to submit the page and branch. Simply link to the achors. View the source of any HTML DB page with the top links on it, you'll see the syntax. You can also look to w3schools.com for html (not HTML DB) help.

Similar Messages

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

  • Page navigation cache delete on back navigation

    Hi,
    Building a Universal WinRT app.
    Is there any way to delete a pages navigation cache when a user navigates backwards via the WP back button?
    e.g. page saves state when user follows link in that page and returns to it. However if a user navigates away from the page using the back button and then returns to it then no state is saved and it reloads
    Thanks!

    Hi,
    Please see this:
    NavigationCacheMode enumeration
    The NavigationCacheMode enumeration has these members.
    Member
    Value
    Description
    Disabled
    0
    The page is   never cached and a new instance of the page is created on each visit.
    Required
    1
    The page is   cached and the cached instance is reused for every visit regardless of the   cache size for the frame.
    Enabled
    2
    The page is   cached, but the cached instance is discarded when the size of the cache for   the frame is exceeded.
    As your description, you should set the Page’s  NavigationCacheMode to Disabled
    Best Wishes!
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
    href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

  • Page Navigation Portlet issue

    I am having an issue with a page navigation portlet. I am using adaptive tags and we have actually implemented one custom tag that outputs the current page id.
    I will paste the code here. The issue is that in our portal the pages don't show up in the order we have set in community editor. They are showing up ordered by page id.
    This is being done on 6.0 sp1.
    Here is the code I am using.
    <link type="text/css" href="pt://images/plumtree/common/custom/CIENA/PageNavStandard/MenuStyle.css" rel="StyleSheet" lang="en" />
    <div id="PageNavStandard" xmlns:pt="http://www.plumtree.com/xmlschemas/ptui/">
    <div id="PageNavStandardTitle">Navigation</div>
    <pt:ptdata.currcommunitypagesdata pt:id="compages" />
         <ul id="MenuNav">
         <pt:logic.foreach pt:data="compages" pt:var="commpg">
                   <li>
                   <script>
                        var linkstr = "<pt:logic.value pt:value="$commpg.url" />";
                        var PageReg = new RegExp(/PageID=(\d*)\D/);
                        if(PageReg.exec("<pt:logic.value pt:value="$commpg.url" />")[1] == <pt:ciena.currpageid/>) {
                             document.write('<a href=" + linkstr +  id="ActivePage" ">');
                        } else {
                             document.write('<a href=" + linkstr +  ">');
                        document.write('<pt:logic.value pt:value="$commpg.title"/>');
                        document.write('</a>');
                        //document.write(PageReg.exec("<pt:logic.value pt:value="$commpg.url" />")[1]);
                   </script> <!--
                   <pt:core.html pt:tag="a" href="$commpg.url">
                        <pt:logic.value pt:value="$commpg.title"/>
                   </pt:core.html>
                                  -->
         </pt:logic.foreach>
         </ul>
    </div></a>

    That is most peculiar because we are doing a nearly identical page navigation portlet and we have the ability to shuffle the pages via the community object.
    Are you using your code in publisher or in a custom portlet?
    Perhaps you could try using this code in publisher and see if the results are returned appropriately:
    <span xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/'>
    <!-- TOKEN NAMESPACE -->
    <pt:namespace pt:token="$$TOKEN$$"/>
    <style type="text/css">
            #pt-portlet-$$TOKEN$$ {
                    background-color: #3366CC;
                    font: verdana,arial,helvetica,"sans-serif";
                    font-size: 10px;
              margin-bottom: 10px;
            #portlet_navigation$$TOKEN$$ td {
              font: verdana,arial,helvetica,"sans-serif";
              font-size: 10px;
              color: #8CB5DE;
         #portlet_navigation$$TOKEN$$ a {
              text-decoration: none;
              color: #FFFFFF;
            #portlet_navigation$$TOKEN$$ a:hover {
              text-decoration: underline;
       #portlet_parent$$TOKEN$$ td {
          color: #8CB5DE;
          text-decoration: none;
          font: bold 10px verdana,arial,helvetica,"sans-serif";
       #portlet_parent$$TOKEN$$ a {
          color: #8CB5DE;
          text-decoration: none;
          font: bold 10px verdana,arial,helvetica,"sans-serif";
       #portlet_parent$$TOKEN$$ a:hover {
         text-decoration: underline;
    </style>
    <!-- get the portal data -->
    <pt:ptdata.currcommunitypagesdata pt:id="commmenu"/>
    <pt:ptdata.editcommunitydata pt:id="commactions"/>
    <pt:ptdata.currparentcommunitydata pt:id="parent"/>
    <pt:ptdata.currentcommunitypageiddata pt:id="currpage" />
    <table id="portlet_parent$$TOKEN$$" width="100%">
       <tr>
          <td colspan="2"> </td>
       </tr>
       <tr>
          <td class="platportletwideheader">
          <pt:logic.foreach pt:data="parent" pt:var="curr">
             <pt:core.html pt:tag="a" href="$curr.url"><pt:logic.value pt:value="$curr.title"/></pt:core.html>/
          </pt:logic.foreach><pt:standard.realmname/>
          </td>
       </tr>
    </table>
    <table cellpadding="0" cellspacing="0" border="0" width="100%" id="portlet_navigation$$TOKEN$$">
       <tr>
          <td>
          <table cellpadding="0" cellspacing="0" border="0" width="100%">
                  <pt:logic.foreach pt:data="commmenu" pt:var="commpg">
                  <!-- currpage will be set to null if it's not the current page -->
             <pt:standard.choose>
             <pt:standard.when pt:test="intsequal" pt:int1="$currpage.PageID" pt:int2="$commpg.PageID">
              <tr bgcolor="#338AF0" width="100%" style="padding-top:2px; padding-bottom:2px;">
                   <td width="15px" align="right"><img src="images/bullet_white_highlight.gif" /></td>
                          <td>
                               <pt:core.html pt:tag="a" href="$commpg.url">
                             <pt:logic.value pt:value="$commpg.title"/>
                        </pt:core.html>
                   </td>
                   <td valign="middle" align="right" style="padding-bottom:5px;"><img src="images/leftnav_arrow.gif" border="0" /></td>
              </tr>
         </pt:standard.when>
         <pt:standard.otherwise>
              <tr width="100%" style="padding-top:2px; padding-bottom:2px;">
                   <td width="15px" align="right"><img src="images/bullet_white.gif" /></td>
                   <td colspan="2">
                        <pt:core.html pt:tag="a" href="$commpg.url">
                             <pt:logic.value pt:value="$commpg.title"/>
                        </pt:core.html>
                   </td>
              </tr>
         </pt:standard:otherwise>
         </pt:standard.choose>
             </pt:logic.foreach>
             <tr>
                <td colspan="3"> </td>
             </tr>
             <!-- RETRIEVE RELATED COMMUNITY LIST AND SUBCOMMUNITY LIST -->
             <pt:ptdata.currrelatedcommunitiesdata pt:id="relcomms" />
             <pt:ptdata.currsubcommunitiesdata pt:id="relcomms" />
         <pt:ptdata.sortcollectiondata pt:id="sortedsubcomms" pt:data="relcomms" pt:sortby="title" pt:sorttype="string"></pt:ptdata.sortcollectiondata>
         <pt:standard.choose>
              <pt:standard.when pt:test="isEmpty" pt:col="relcomms">
              </pt:standard.when>
              <pt:standard.otherwise>
                   <tr><!--dotted line-->
                        <td colspan="3" background="images/dotted_line_leftnav.gif"><img src="images/spc.gif" width="180" height="1" alt="" border="0"></td>
                            </tr>
                   <tr>
                                 <td colspan="3" class="platportletwideheader">Associated Communities</td>
                                                    </tr>
                   <pt:logic.foreach pt:data="sortedsubcomms" pt:var="commpg" >
                                 <tr width="100%" style="padding-top:2px; padding-bottom:2px;">
                             <td height="16"> </td>
                                    <td colspan="2">
                                         <pt:core.html pt:tag="a" href="$commpg.url">
                                              <pt:logic.value pt:value="$commpg.title"/>
                                         </pt:core.html>
                                    </td>
                        </tr>
                            </pt:logic.foreach>
              </pt:standard.otherwise>
         </pt:standard.choose>
         <pt:standard.choose>
              <pt:standard.when pt:test="stringToACLGroup('group=1,771;').isMember($currentuser)" >
                   <tr><!--dotted line-->
                        <td colspan="3" background="images/dotted_line_leftnav.gif"><img src="images/spc.gif" width="180" height="1" alt="" border="0"></td>
                            </tr>
                   <!-- PORTAL TOOLS -->
                   <tr>
                               <td colspan="3" class="platportletwideheader">Portal Tools</td>
                            </tr>
                            <pt:logic.foreach pt:data="commactions" pt:var="element">
                            <tr width="100%" style="padding-top:2px; padding-bottom:2px;">
                        <td height="16"> </td>
                               <td colspan="2">
                                    <pt:core.html pt:tag="a" href="$element.url">
                                         <pt:logic.value pt:value="$element.title"/>
                                    </pt:core.html>
                               </td>
                   </tr>
                            </pt:logic.foreach>
                    </pt:standard.when>
         </pt:standard.choose>
          </table>
          </td>
       </tr>
       <tr>
          <td> </td>
       </tr>
    </table>
    </span>

  • CrystalReportViewer page navigation re-hash

    Hi Everyone,
    I've been searching for a solution to the widely discussed page navigation problem when you place all your report binding code in Page_Load().  Lots of references are to older versions of VS and CR so they don't quite fit.  I am running VS2008 and CR2008.  Here's what I've done so far.
    Added an OnInit parameter to point to my initialization routine:
    <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="true" DisplayGroupTree="False" EnableDatabaseLogonPrompt="False" EnableParameterPrompt="False"
    OnInit="InitMyReport"/>
    Moved my report binding code from Page_Load to InitMyReport().  The issue I am having is that the paramaters that are being passed via the URL (and fetched via request.querystring("id1")) are not available during the initialization phase so I can't set them.
    Where did I run astray?
    Dave

    OK - I figured this out. 
    First I took all of the report setup code (parameter and selection formula assignment) and put it into its own subroutine called ReportSetup().  This is called only once from page_load as I am checking for postback.
    Next I added a new subroutine called ReportNavigate() to fire when the viewer navigate event is triggered.  This simply calles ReportSetup() which rebinds the report correctly.
    Simple solution.
    Dave

  • Interactive Reports - First Page / Last Page Navigation

    Hi,
    I've been trying to implement the First Page / Last Page navigation on my interactive reports using the solution provided by Jari in the following thread:
    Column Alignment / Pagination in Interactive Reports
    My question is how do I calculate the report max rows to set the value of P1_MAX_ROWS per the following statement:
    'I have hidden item P1_MAX_ROWS where I count report max rows using Before Header Computation.'
    Thanks for the help,
    Mary

    Would you mind explaining this a little further, Jari?
    Do I have to determine the IR filter (via the APEX_APPLICATION_PAGE_IR_COND view) in order to create the SQL to calculate the max row count ? Or is it much simpler than that?
    Thanks,
    Mary
    Edited by: M L on Aug 4, 2010 5:30 PM

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

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

  • 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

  • How to set a cookie in the browser from an html page called via an Iview

    How to set a cookie in the browser from an html page called via an Iview
    Hello all,
    I have an issue which is causing problems. I have a snap survey (html form with submit and cookie setting) which is embedded in a url iview.
    Although the submit and the form work fine, the portal will not allow the cookie to be set it seems.
    Is there a way to allow cookies to be set from an embedded page in a url iview??
    You will make my day if you know!
    System: EP7 SP13
    Kind regards
    Alex

    Hi,
    Check this:
    http://www.oracle.com/technology/products/ias/portal/html/same_cookie_domain_with_pdkv2.html
    Cookie Basics
    Web browsers have built in rules for receiving and sending cookies. When a browser makes a request to a web server and the web server returns cookies with the response, the browser will only accept a cookie if the domain associated with the cookie matches that of the original request. Similarly, when a browser makes a subsequent request, it will only send those cookies whose domain matches that of the target web server.
    These rules are designed to ensure that information encoded in cookies is only "seen" by the web server(s) that the originator of the cookie intended. These rules also ensure that the cookie cannot be corrupted or imitated by another server. By default, the domain associated with a cookie exactly matches that of the server that created it. However, it is possible to modify the domain at the time the cookie is created. Relaxing the cookie domain increases the scope of the cookie's visibility making it available to a wider "audience" of web servers.
    For example, if a cookie is created by a.us.oracle.com, it's domain will usually be set to a.us.oracle.com. This means that the browser will only send the cookie to a.us.oracle.com. It will never send it to any other servers. However, if at the time of creation, the domain of the cookie is set to .us.oracle.com, the browser will send the cookie to any server whose domain falls within .us.oracle.com. such as portal.us.oracle.com, provider.us.oracle.com, app.us.oracle.com etc
    Regards,
    Praveen Gudapati

  • How to get the page navigation buttons back at the bottom of the page?

    After upgrading to Acrobat X I discovered that there is only one option for the page navigation buttons - at the upper left. I'm mystified as to why they put them there. Most users are right-handed. With the buttons at upper left it's awkward to reach up there, across the page, with the mouse cursor for every page turn (yeah, I know you can use the PgUp/PgDnkeyboard keys, but that requires taking your hand off the mouse every page turn).
    What I really want is to be able to put a copy of these buttons back down at the bottom center of the page, which was an option in previous versions. Is there some way to get those back at the bottom?

    Hi terpenoid,
    Have you tried Read Mode yet ( under the View menu)?  It displays a nivagation bar at the bottom of the PDF with next/previous page, zoom in/out, etc.
    Hope this helps,
    Dimitri
    WindJack Solutions
    www.windjack.com
    www.pdfscripting.com

  • JSF 2.0 page navigation vs direct page access

    I've been experimenting with JSF for some time now and I still don't understand the page navigation part. I know that in JSF, if you aren't using the redirect option in navigation that the URL is one page behind the page you are on.
    I've seen articles where people say you should put your pages in a directory under WEB-INF to protect against directly accessing the page. I don't understand how you can create an application that is multiple pages using that option, because won't you run into the problem of having a form with an action URL of WEB-INF/somepage.xhtml?
    I've also read articles that say the way to fix this is to add security-constraints to web.xml that prevent "direct access" to pages, when you want your user to follow a page flow, such as start on page1.xhtml, then page2.xthml, then end on page2.xhtml. If page3.xhtml depends on page2.xhtml, the articles I've read say that a security constraint prevents users from simply requesting page3.xhtml out of sequence.
    And what happens if the page you are on encounters an error or the session times out, which page handles that? The one you're on, or the one from before that forwarded you to the page you're on?
    In this example, should page2.xhtml and page3.xhtml go in the root of the webapps directory, or in a directory under WEB-INF?
    Webapps
      index.xhtml
      page1.xhtml
      page2.xhtml
      page3.xhtml
      WEB-INF
        faces-config.xml
        web.xml
        page-directory
          page2.xhtml
          page3.xhtml

    A session timeout should actually net a view expiry exception.
    You do know that JSF 2.0 made page navigation that bit easier by not requiring you to do the XML configuration? There is now a convention built in plus some new components to add GET enabled requests to the JSF lifecycle (notably h:button and h:link). If you have an action method that returns the following:
    public String doSomething(){
      return "something";
    }then JSF will by default want to render a view 'something.xhtml' when you don't define any navigation rules. If you want to make that a redirect you can do this:
    public String doSomething(){
      return "something?faces-redirect";
    }(of course this is a prime target to turn into a utility method on a backing bean base class).
    Navigation rules are still necessary when you want to put views in a subdirectory, but at least this way you can greatly simplify general cases. Other than that I can only say: research research research because this material is vital to understand if you want to be productive using the framework; navigation and the 6 JSF lifecycle phases are two items you should put on the top of your list to hammer out until you really get it. A good JSF book will help you immensely there. Balusc's blog is also a good source of deeper understanding:
    http://balusc.blogspot.com/
    Most of his articles are on JSF 1.2 but most of the information still applies.
    Oh and its no surprise that you're a bit confused - this framework is not easy to pick up especially when you don't know any other web frameworks. If you keep running into a wall you should consider checking out something else like Wicket or Play framework. It might just be that JSF simply isn't the tool for the job you're trying to do.

Maybe you are looking for