Output_link and Page Navigation

Is it possible to use output_link with JSP Page Navigation Model? At first sight, the answer is no. The value attribute is mandatory and rendered into href attribute. So, I have to point to the next page directly, bypassing the Page Navigation Definition in faces-config.xml . It is not good, because it broken the concept of JSP Navigation mechanism. In other works, the Page Flow created based on faces-config.xml navigation rules will be uncompleted potentially. In turn, it reduces the value of modeling (in GUI tools) drastically.
If I am right, JSF misses the substitute for <h:command_link action="foo" immediate="false"> that works outside the form. I.e. something, that allows to involve Page Navigation, instead of avoiding it. (Something like <h:output_link action="foo">)

I guess, redefining nested place for command_link may be a critical changes in the current JSF RI implementation. Probably, it might be easier to do the following:
1. Add action attribute to the output_link
2. Make both value and action attributes optional
3. In case developer defines only value, the tag works as it works now (href=value)
4. In case developer defines only action, href = current_page_url + '?actionId='+action
in this way, the link works similar to command_link action="foo" immediate="true"
5. If developer defines both attributes then href=value + '?actionId=' + action
In this case, Navigation Model finds the defined page by URL and than makes a transfer according the defined action. BTW, such feature makes it possible to organize common starting points for Website menus which will be clearly presented in the application faces-config.

Similar Messages

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

  • "Edit Page" Causes Image and Page Navigation to Change

    I am a client and have no idea what I am doing. My site was developed in Dreamweaver and I edit simple text and photos using Adobe Contribute. On one specific page, when I hit "EDIT PAGE," the main image on the page changes - basically the photo shifts an inch to the right, the last 1/4 of the photo separates from the main photo and you can see the background. Plus the navigation goes haywire. My graphic artist cannot help...I don't know what to do. The changes that it makes are unacceptable to publish. The image is static so it's not in the flash coding, I tried to see if I could find the style assigned to the photo but there is none. I am lost 

    Does the file need to be created in Illustrator? I have some content elements that basically contain some text and boxes. So I am wondering is this still the best way? Sounds like I cannot create the library element in InDesign.
    Also, I was told that another possibility is to create a page for that element, then place it in the InDesign file. Would that work as well? I basically have about 20 different design elements that I want to use in various documents. Since they would likely change it makes sense for me to have the capibility to edit the document once.

  • Dynamically binding CachedRowSet and page navigation exception

    I create one page and drop a table, then create one xxxDataProvider and two rowsets from one database table, rowSet1 is set to have a criteria with the key (xxx) and default to bind with the table, rowSet2 doesn't.
    In the prerender(), get the session variable for the criteria (xxx), if the value of xxx == null, xxxDataProvider bind to rowSet2. else xxxDataProvider.setObject(1, value of xxx).
    execute the page, both work well.
    now add a link, if set the link's URL property to another page, both situations work fine, but if I create an action handle method for the link and from there navigate to another gage, if the value of xxx exists, it goes well, or it throws exception like this:
    Exception Handler
    Description: An unhandled exception occurred during the execution of the web application. Please review the following stack trace for more information regarding the error.
    Exception Details: org.apache.derby.client.am.SqlException
      At least one parameter to the current statement is uninitialized.
    Possible Source of Error:
       Class Name: org.apache.derby.client.am.PreparedStatement
       File Name: null
       Method Name: checkThatAllParametersAreSet
       Line Number: -1
    Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    org.apache.derby.client.am.PreparedStatement.checkThatAllParametersAreSet( Unknown Source )
    org.apache.derby.client.am.PreparedStatement.flowExecute( Unknown Source )
    org.apache.derby.client.am.PreparedStatement.executeQueryX( Unknown Source )
    org.apache.derby.client.am.PreparedStatement.executeQuery( Unknown Source )
    com.sun.sql.rowset.internal.CachedRowSetXReader.readData(CachedRowSetXReader.java:193)
    com.sun.sql.rowset.CachedRowSetXImpl.execute(CachedRowSetXImpl.java:950)
    com.sun.sql.rowset.CachedRowSetXImpl.execute(CachedRowSetXImpl.java:1410)
    com.sun.data.provider.impl.CachedRowSetDataProvider.checkExecute(CachedRowSetDataProvider.java:1219)
    com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorRow(CachedRowSetDataProvider.java:329)
    com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorIndex(CachedRowSetDataProvider.java:300)
    com.sun.data.provider.impl.CachedRowSetDataProvider.getRowCount(CachedRowSetDataProvider.java:624)
    com.sun.rave.web.ui.component.TableRowGroup.getRowKeys(TableRowGroup.java:806)
    com.sun.rave.web.ui.component.TableRowGroup.getFilteredRowKeys(TableRowGroup.java:429)
    com.sun.rave.web.ui.component.TableRowGroup.getSortedRowKeys(TableRowGroup.java:1385)
    com.sun.rave.web.ui.component.TableRowGroup.getRenderedRowKeys(TableRowGroup.java:876)
    com.sun.rave.web.ui.component.TableRowGroup.iterate(TableRowGroup.java:1956)
    com.sun.rave.web.ui.component.TableRowGroup.processDecodes(TableRowGroup.java:1679)
    javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:880)
    com.sun.rave.web.ui.component.Form.processDecodes(Form.java:78)
    javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:880)
    javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:880)
    javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:880)
    javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:880)
    javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:306)
    com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:79)
    com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
    com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
    sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:585)
    org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
    java.security.AccessController.doPrivileged(AccessController.java:-2)
    javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
    org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
    org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
    java.security.AccessController.doPrivileged(AccessController.java:-2)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
    org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
    java.security.AccessController.doPrivileged(AccessController.java:-2)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
    org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185)
    com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
    com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
    com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
    com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
    Exception Details: java.lang.RuntimeException
      org.apache.derby.client.am.SqlException: At least one parameter to the current statement is uninitialized.
    Possible Source of Error:
       Class Name: com.sun.data.provider.impl.CachedRowSetDataProvider
       File Name: CachedRowSetDataProvider.java
       Method Name: setCursorRow
       Line Number: 343
    Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorRow(CachedRowSetDataProvider.java:343)
    com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorIndex(CachedRowSetDataProvider.java:300)
    com.sun.data.provider.impl.CachedRowSetDataProvider.getRowCount(CachedRowSetDataProvider.java:624)
    com.sun.rave.web.ui.component.TableRowGroup.getRowKeys(TableRowGroup.java:806)
    com.sun.rave.web.ui.component.TableRowGroup.getFilteredRowKeys(TableRowGroup.java:429)
    com.sun.rave.web.ui.component.TableRowGroup.getSortedRowKeys(TableRowGroup.java:1385)
    com.sun.rave.web.ui.component.TableRowGroup.getRenderedRowKeys(TableRowGroup.java:876)
    com.sun.rave.web.ui.component.TableRowGroup.iterate(TableRowGroup.java:1956)
    com.sun.rave.web.ui.component.TableRowGroup.processDecodes(TableRowGroup.java:1679)
    javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:880)
    com.sun.rave.web.ui.component.Form.processDecodes(Form.java:78)
    javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:880)
    javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:880)
    javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:880)
    javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:880)
    javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:306)
    com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:79)
    com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
    com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
    sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:585)
    org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
    java.security.AccessController.doPrivileged(AccessController.java:-2)
    javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
    org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
    org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
    java.security.AccessController.doPrivileged(AccessController.java:-2)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
    org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
    java.security.AccessController.doPrivileged(AccessController.java:-2)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
    org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185)
    com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
    com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
    com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
    com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)Is my way the right one?
    Thank you very much!

    Replacing the link with a button, the problem remains.
    I guess it has something to do deep inside the life cycle.

  • Selected Text and Page Navigation

    Okay.
    Have a document that has several artboards in it. (kinda like a multipage document). Each page is similar, but some of the text boxes has variations from page to page. So if I am zoomed in on page 1 to one text box and I select some text, using the type tool, and then hit SHIFT-page down (or page up) to go to the next page, it won't. Switch to a different tool, and it works.
    WHY? Why can't I use a keyboard short cut to jump to another page while in the type tool mode? I don't want to take my hand off the keyboard or move the mouse.
    Suggestions?
    Thanks.

    The Shift Page shortcuts are not coming from the keyboard shortcuts panel. When I try to enter them says ai cannot use that, searching with artboard  was no help either. Tried making an action, btu unfortuantley that did nto work either. I also chcked the system Preference for Keybaord, and could nto find the keyboard shorcut coming fomr there either.
    In summary uopu can use home and end while inside text and the I beam is flashing, btu not page up or page down. That seems to be a hidden comand for goingf to next and previous artboard, so that will lwork without any text on the page.

  • Parent (Global) and Current (Navigation) on the Same Page

    Hello,
    I am using the managed metadata feature in a SharePoint 2013 publishing site.  I am trying to layout my navigation as shown in the diagram below.  I can not find a publishing master page that implements this parent child relationship.  My
    top navigation is use the markup:
    <PublishingNavigation:PortalSiteMapDataSource ID="topSiteMap" runat="server" EnableViewState="false" SiteMapProvider="GlobalNavigationSwitchableProvider" StartFromCurrentNode="false" StartingNodeOffset="0"
    ShowStartingNode="false" TrimNonCurrentTypes="Heading"/>
    <SharePoint:AspMenu ID="TopNavigationMenu" runat="server" EnableViewState="false" DataSourceID="topSiteMap" AccessKey="&lt;%$Resources:wss,navigation_accesskey%&gt;"
    UseSimpleRendering="true" UseSeparateCss="false" Orientation="Horizontal" StaticDisplayLevels="1" AdjustForShowStartingNode="true" MaximumDynamicDisplayLevels="1" SkipLinkText=""/>
    I have tried using the same markup, using a different StartingNodeOffset and SiteMapProviders, for the side menu with no success.
    Thanks,
    Bob

    Hi,
    According to your post, my understanding is that you wanted to create Parent (Global) and Current (Navigation) on the Same Page.
    You can make quicklaunch work contextually like structural nav quicklaunch using Managed Metadata navigation. Please refer to:
    Managed Metadata Navigation - How do you make quicklaunch work contextually like structural nav quicklaunch?
    In addition, you can used JQuery and CSS to achieve staticlevel left navigation in SharePoint 2013.
    Here is a similar thread for your reference:
    http://social.technet.microsoft.com/forums/sharepoint/en-US/54edc501-0594-49e3-86b2-40ecf72bc68e/show-2-level-hierarchy-in-managed-navigation-menucurrent-navigation-in-sharepoint-2013
    More information:
    Overview of managed navigation in SharePoint Server 2013
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • 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

  • A SharePoint theme to limit the width of the page to 960px (without limiting width of top ribbon and top navigation)?

    I can reduce the width by some CSS inside the page CEWP or Master Page that's fine.
    BUT
    I need a SharePoint theme - which simply reduces the width of the page content to 960px. (Without affecting the top ribbon and top navigation which should stay as they are).
    Any clue how to do that please? Any sample theme?
    Thanks.

    Not sure what you are asking here exactly. By theme, do you mean a design package (masterpage + css)?
    Nikolas Charlebois-Laprade Microsoft Certified Professional & Software Engineer http://nikcharlebois.com

  • Navigation structure with books and pages

    We are setting up a navigation system in Portal 8.1. When setting this up, we have
    run into some issues with the fact that books appear in the navigation structure,
    but contain no content. As a result, we have had to create a homepage for each
    book. This creates a repeat of the section name in the navigation structure, one
    for the book and one for the page. For example, we have our Home book. Then we
    have our Home page (since books cannot directly contain portlets). In our navigation
    "Home" is repeated twice, but the book link just goes to the default page (either
    the last visited page within that session or the top page in that book if the
    no page has been visited).
    The navigation we are trying to get is very similar to the one here on bea's website.
    For example, when you click on Partners, it takes you to the Partners home page.
    This section has many other pages located inside of it as well. Does anyone have
    any suggestions on how to set this up?
    Thanks!!!
    Erin

    I've opened a support case for this item. When I get this resolved I will post
    the solution. But, to clarify the issue, the standard way that portal navigation
    works is that when a user clicks on a book the user is directed to a default page.
    This default page is either the last page visited during the session or the first
    page in the book if no page has been visited. The problem is that the book itself
    does not contain content. So if you wanted the "Partners" book to have a homepage
    titled "Partners" (just like here on BEA's site) then the word "Partners" would
    appear twice in the left nav (once as a book and once as a page). But only the
    page would actually contain content. Plus when a user clicked on the "Partners"
    book it would not always take them to the "Partners" homepage.
    "Chris Jolley" <[email protected]> wrote:
    >
    Not sure i understand your problem:
    However:
    Books can contain 1 or more Books and Pages, and can have an optional
    menu.
    Pages can contain Portlets and Books.
    What is it that you want on the 'Partners' Book?
    "Erin Powell" <[email protected]> wrote:
    We are setting up a navigation system in Portal 8.1. When setting this
    up, we have
    run into some issues with the fact that books appear in the navigation
    structure,
    but contain no content. As a result, we have had to create a homepage
    for each
    book. This creates a repeat of the section name in the navigation structure,
    one
    for the book and one for the page. For example, we have our Home book.
    Then we
    have our Home page (since books cannot directly contain portlets). In
    our navigation
    "Home" is repeated twice, but the book link just goes to the default
    page (either
    the last visited page within that session or the top page in that book
    if the
    no page has been visited).
    The navigation we are trying to get is very similar to the one hereon
    bea's website.
    For example, when you click on Partners, it takes you to the Partners
    home page.
    This section has many other pages located inside of it as well. Does
    anyone have
    any suggestions on how to set this up?
    Thanks!!!
    Erin

  • Page navigation and wildcards

    Since I use a couple of page fragments with menu's, I'm using wildcards for the navigation between pages. However, I'm trying to do things like
    <from-view-id>foo</from-view-id>
    Somehow JSC doesn't understand this. Is there any detailed information available somewhere about page navigation wildcards? I really don't feel like inserting 32 rules instead of 2 wildcards...

    The navigation file is a faces config file (as shown by the DTD at the top of the file), and the DTD (http://java.sun.com/dtd/web-facesconfig_1_0.dtd) has this to say about wildcards:
    <!--
    A "ViewIdPattern" is a pattern for matching view identifiers in
    order to determine whether a particular navigation rule should be
    fired. It must contain one of the following values:
    - The exact match for a view identifier that is recognized
    by the the ViewHandler implementation being used (such as
    "/index.jsp" if you are using the default ViewHandler).
    - A proper prefix of a view identifier, plus a trailing "*"
    character. This pattern indicates that all view identifiers that
    match the portion of the pattern up to the asterisk will match the
    surrounding rule. When more than one match exists, the match with
    the longest pattern is selected.
    - An "*" character, which means that this pattern applies to all
    view identifiers.
    -->
    <!--ENTITY % ViewIdPattern "CDATA"-->
    Thus, as you can see you're a bit limited in where you can put the *, and you can only use one.
    -- Tor
    http://blogs.sun.com/tor

  • Adding javascript to page open and page close in acrobat 8.1.2

    Reading the Acrobat Javascript Object Specification on page 22 it says that you can add javascript to the "page open" and "page close" events of a document.
    It then says that under the menu "Document -> Set page action" you can add scripts for those events
    I am using Acrobat 8.1.2 and under the document menu there is no "Set page action". And there is nowhere where I can find any "set page action" menu...
    whats the deal?
    How can i set the page open and page close events in acrobat professional 8.1.2?????????????
    Marc

    - open the Navigation Panel 'Pages'
    - select the page and open the page properties
    - in the actions tab you can set the page actions

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

  • How to add tools and pages in browser

    I just downloaded firefox to get rid of google and now I have no 'tools and pages' etc on my browser
    how do I get these bacjk please?

    I'm not sure what you mean with Tools and Pages.
    Could you elaborate on this and possibly attach a screenshot?
    *http://en.wikipedia.org/wiki/Screenshot
    *https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
    Use a compressed image type like PNG or JPG to save the screenshot.
    Make sure that you do not run Firefox in full screen mode (press F11 or Fn + F11 to toggle; Mac: command+Shift+F).
    *https://support.mozilla.org/kb/how-to-use-full-screen
    Make sure that toolbars like the "Navigation Toolbar" and the "Bookmarks Toolbar" are visible:
    *Firefox > Options
    *"View > Toolbars"
    *https://support.mozilla.org/kb/How+to+customize+the+toolbar
    *https://support.mozilla.org/kb/Back+and+forward+or+other+toolbar+items+are+missing

  • How can I show a error popup and cancel navigation?

    I am using JDeveloper 11.1.1.6 with WL 10.3.5. I am new to ADF / JDeveloper...
    My use case is as follows:
    I have a bounded task flow with two view activities linked by a control flow case. The from activity is a simple table that allows a user to click a commandLink to go to a details page to modify the record (the to activity in described task flow).
    When a user clicks the commandLink to edit the record I need to execute a AM method that returns a boolean based on a PL/SQL procedure. If this AM method returns false I need to inform the user that the record is ineligible for editing and cancel navigation to the details page (stay on the current page). If true is returned I need to allow the user to proceed to the edit page.
    What is the best way to accomplish this? I have looked at http://andrejusb.blogspot.com/2011/10/how-to-disable-action-conditionally.html but I kept getting "navigationContext resolved to null". I have also tried inserting a method call activity in the task flow between the two view activities. Using this approach I am able to execute the AM method but I cannot figure out how to route the user based on the return.
    Am I even close? Any pointers?
    Thanks.
    Edited by: errodr on Apr 18, 2013 12:00 PM

    Hi,
    As another option you can try this way as well,
    1. From View Activity2, put a return control flow case saying "back" to View acitivity1 (this output will be used to go to first view activity from either view activity2 (back button) or loop inside view activity 1
    2. On your command button, in Action property (not Action listener), create a managed bean method and use it to drive the navigation (it expects a string return value)
    3. Inside your managed bean, invoke your AM method and based on true/false of AM value you return either "Back" or <viewactivit2 outcome>
    4. If giving "Back" doesn't work, try to return null and see if that works.
    Ravi Nuka

  • Crystal 6.0 : How to hide the Page footer and Page Header of the Main Report on the Sub report.

    Post Author: pranay
    CA Forum: Crystal Reports
    Hi ,
    I have a Main report and a Sub report .  When a subreport spans across multiple pages , the page header and page footer of the main report gets displayed along with it . I want to hide the Page Footer and Page Header of the main report when a sub report is displayed . Is there any way it could be acheived in Crystal Report 6.0.

    I am assuming you are talking about the JSControl dropdown menu navigation. The easiest way to hide Community pages is to disable the Below Banner View for that navigation scheme, although it also disables the Subcommunties, Related Communities and Go up to Parent Community links. If you still want these in below the banner menu you could not display Community Pages in the "In this Community" tab and only leave the "Community Members and Knowledge Directly" link in there.
    You would think that it would be better to remove the "In this Community" tab althogether but it is tricky to remove it due to the fact that there needs to be a default horizontal menu displayed all the time. Not all Communities will have a Subcommunities or Related Communities tab so these communities would not display any below banner menus at all if there is no "In this Community" tab, which could be confusing.

Maybe you are looking for

  • Error while importing the Integration Directory Objects

    Hi, I created one simple RFC to RFC scenario.We have only one XI system. after creation of this scenario I exported the Scenario from Integration Directory. Then I deleted the configuration scenario from Integration directory. Now I tried to import t

  • My ipod wont detect any wifi and i have rebooted it and reset.

    hello i recently updated my ipod 4g and its not detecting the wireless in my house, since the wifi is not mines i cannot access the router. It  has nothing to do with the router because other people in my house are using the wifi just fine. I have re

  • Function module to trigger Infopackages

    Hi, Need your help to clarify certain doubts, Std. Infopackage name (0PAK*) will be same for each and every master data object through out all the systems ?? Means suppose 0MATERIAL_ATTR has infopackage 0PAKXXX that is been installed by system from B

  • 24p to dvd

    Hello, I have a few 2 hour long files filmed at 24FPS in mpeg4 that I need to put onto a single layer DVD. I really don't need anything fancy, I dont even need a menu, so I dropped them into toast and had toast convert it. It looks like **. So I drop

  • My photos aren't in the iphoto library

    I clicked on my photo library to see my pictures and they were all missing. I'm not sure how that happened and how to recover what happened. Any ideas?