Navigation and Page Submit

I am creating a Training application for my company. I have a dropdown that corresponds to the sample customer table. I have a data table the corresponds to the sample Order table. I have the dropdown do a submit on change to change the values in the data table. I also have a button to navigate to the "Add Order" page. The navigation was working until I added the 2 data components. The button just resubmits the page.
Is there any way to have navigation on a page that also uses submit on change? Or is there only one submit event per page?

My guess is that there's actually an exception that's getting swallowed - look in your server.log and see if there's anything interesting there... I suspect it's some kind of data locking or connection issue. Are you using Pointbase?
If you just build a very simple page w/the dropdown w/submit on change + button and hook up the navigation I think you'll find that works fine (unless there's some strange bug - if so, please report it).

Similar Messages

  • JSF Navigation and page access out-of-order issue

    I've been searching the web and the forums for an answer to what I thought would be at least a well-documented issue with JSF, but have been coming up empty. (which to me might mean its not an issue and just a lack of understanding on my part)
    Lets say I have two pages, one (license.jsf) that has a simple form that presents the user with a license agreement along with two commandButtons with actions "accept" and "decline".
    The other page is a landing page, lets call it "results.jsf" which the user gets navigated to should they choose to accept the license agreement.
    The problem I have is whats to stop a user from just typing in results.jsf. Granted my controller can store a value somewhere as to whether they have accepted the terms of the license and not display the content on the results.jsf page, but what I'd really like to do is intercept that initial request to results.jsf and redirect them to the license.jsf page.
    I can fathom a bunch of different "hacks" to make this work, but I'm really hoping that somebody knows of some more elegant solution for addressing this whether its in JSF directly or using some support framework like a SEAM or Spring(?) (I'm vaguely familiar with SEAM and I'm figuring since its got a workflow on the back end, its kinda hard to drop into the middle of a process flow, so maybe it addresses that some how). Or I'll happily take any suggested URL's to other threads/websites that offer advice on this subject.
    Thanks.

    Yes, I've tried that. It really is puzzling. I am also fighting the battle of the counters (trying to get them to stay centered, and (as mentioned in a separate post) trying to figure out why I have a duplicate entry in my RSS feed.
    I wonder if that problem is connected to this one?

  • JQuery Mobile and page transitions in Apex - how do they go together?

    Hi guys,
    I started off on a jQuery Mobile project with APEX - although I am still quite new to both. I have done quite a bit of research, but I haven't found really anything substantial about how they go together.
    Rather it appears to me, that both have their own way of dealing, that is to say recieving and sending data. Apex with normal http-requests, just a little AJAX on the side maybe, JQM almost only with AJAX.
    So I am running into a lot of trouble, when I use functions like apex.redirect() or .submit(), the $mobile.changePage() mostly doesnt how I want. Page content often stays in the DOM with JQM unwanted, data are sometimes not refreshed properly, or when I close a popup box, an unwanted reload takes place. Events are not bound the usual way, etc. etc.
    I certainly thoroughly have studied the JQM documentation, looked through many other tutorials and blogs, but basically I still lack in a lot of basic understanding, especially the communication between JQM and APEX - after all, the APEX Smart Phone UI from 4.2 is still quite new. And all tutorials about data management with JQM deal with JSON objects or XML - methods we can't get into due to time reasons.
    I have two questions to the community:
    A) Is it really recommendable to use a JQM framework with the "normal" page-show and page-submit events, that APEX delivers? Or if not recommendable, is it practical?
    B) Maybe some experienced users here can hint me to some recourses that specifically deal with the issues I mentioned above: e.g. How does JQM handle the urls it gets, when you use the APEX javascript functions? What global JQM settings are recommendable when using APEX, or what object-parameters should you use in the $.mobile.changePage() call?
    And one specific problem I just ran into: How does JQM treat Page-0 items? I use them for global application control, but for some strange reasons, they sometimes seem to be resettet.
    So these are a lot of questions, but I don't seek detailed answers here, rather some general guidence and advise. Any help is most appreciated.
    So long, with best regards,
    tobi
    Edited by: TobiP on 14.02.2013 13:41

    I will up this thread one time - what I normally wont do. But if noone can give any hints here this would be a really bad sign.
    I have kept on looking for those topics, but I still haven't found anything that goes into detail regarding APEX and JQM.
    Also one last wierd situation I would like to relate, that just occured: I submit a page with apex.submit('CREATE'), the dml-processing takes place, there is an unconditional branch after the processing back to that page, so it should be reloaded and refreshed - but it doesn't. Instead when I open a select list (JQM popup style), then the page gets refreshed, and the popup wont close anymore. I have no explanation for this. I hope, anyone can give me any hints.
    Thanks very much,
    tobi

  • 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 'null pointer exception'. 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>

  • In Initial View, can you set defaults for Navigation tab, Page layout, and Magnification?

    Adobe Acrobat 9 Pro V9.4.0
    Win7 Pro x64
    Problem: In Initial View, can you set defaults for Navigation tab, Page layout, and Magnification?
    Every time Acrobat scans a document, I have to go to Initial View to set Navigation tab, Page layout, and Magnification. It does not remember the settings I last used.
    Thanks in advance.

    See my response to this post

  • How make the Top-level Navigation and Content Area in one page as a whole?

    I want to make the Top-level Navigation and the Content Area in the one page as a whole displayed in user interface.In the default framework,the Top-level Navigation and the Content Area were contained  in 2 pages, So the vertical scroll bar could only control the Content Area. I want to control the full page with  one vertical bar like the page of "www.sdn.sap.com" Web.

    Hi Jianguo,
    One advantage of the external facing portal solution (SP14) is that the framework page is displayed in a single frame. Perhaps this could be of use to you.
    Hope this helps.
    Daniel

  • Problem with page submit and opening a popup.

    Hello All,
    Apex 3.1.2
    I have a button that submits a page and opens a pop-up. I'm new to javascript so I'm really hacking my way through this, so syntax tips are very useful :)
    I'm using the code below on the button, my popup opens but then my main page seems to refresh and immediately covers up the popup. How do I get the popup to stay in front of the main page? Is there a problem with my main page submit?
    Here's my URL target for the button...
    javascript:doSubmit('ADD_TO_GROUP');javascript:popUp2('f?p=&APP_ID.:2:&SESSION.::::P2_OPPORTUNITY_NUMBER: &P6_OPPORTUNITY_NUMBER.');
    Thanks Much!
    p.s. ADD_TO_GROUP is my button name, am I using that correctly in doSubmit? It seems like I can put anything there and I still get the same behavior.
    Edited by: blue4speed on Mar 24, 2011 8:33 AM - added p.s.
    Edited by: blue4speed on Mar 24, 2011 9:34 AM

    ThomasL wrote:
    p.s. ADD_TO_GROUP is my button name, am I using that correctly in doSubmit? It seems like I can put anything there and I still get the same behavior.
    --> Are your on/after submit processes conditional?
    For the javascript, you could also try to put the javascript code into an html region of your page, with condition set to a REQUEST value, or the value of an item that you set on submit.It looks like what's happening is the page is branching back to itself and that's why my the popup is pushed to the background. I created a conditon on the branch that said request != "ADD_TO_GROUP" (my button request). This kept the focus on my popup but gave me the error that the page had no branch!
    How do I get my main page to submit and the popup to appear IN FRONT of the main page?
    Thanks!
    Edited by: blue4speed on Mar 24, 2011 10:16 AM

  • Hide and Display submit button on the Simple search page.

    Heading 1: h1 Hide and Display submit button on the Simple search page.
    I'm trying to set the enabled property of the submit button on the simple search page. The business case is to disable the button if the VO has not returned any rows.
    The Submit button is on the page button bar.
    regards
    Abhi

    Hi,
    I have already added this in my ProcessRequest, the issue I am facing is it the submit button is disabled while I load >the page which is fine. but when I do a search and the query returns rows still the submit button is disabled.---Will nt reuired SPEL here..
    ---On go button click setsession value.
    Follow below steps:
    CO PR:*
    OASubmitButtonBean continueBtn=(OASubmitButtonBean)flowLayout.findChildRecursive("continueBtn");
    if(continueBtn != null && "D".equals(oapagecontext.getSessionValue("Flag"))
    continueBtn.setDisabled(false);
    else if(continueBtn != null )
    continueBtn.setDisabled(true);
    CO PFR:_
    if(pageContext.getParameter("Go") != null)
    oapagecontext.putSessionValue("Flag","D");
    Regards
    Meher Irk
    Edited by: Meher Irk on Mar 22, 2011 7:48 PM
    Edited by: Meher Irk on Mar 22, 2011 7:48 PM

  • 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

  • Top Level Navigation and Web Page Composer

    Dear all,
    I've a Site on Web Page Composer, and on this I've many Web Pages, so I've generated a Site Navigation. The Site Navigation generate a Top Level Navigation entry (Portal Role with External Connector), in this case all pages are displayed on a single menu entry. I would like to separate the pages on some Top Level Navigation Entries, what is the recommended way to do it? Create the pages on separated Sites and generate Site Navigation for each on?
    To clarify I would like a menu structure like this:
    Info  (Top Level)
    Page1                        
    Page2                        
    Page5
    Customers (Top Level)
    Page 3
    Page 4
    Page 6
    Employees (Top Level)
    Page 7
    Page 8
    And just an one site with all pages on Web Page Composer.
    Best regards

    Hi,
    every Site Navigation creates only 1 navigation file that you can integrate into the users navigation.
    In your case:
    Role (PCD)
    Folder -> Info
    Folder -> Customers
    Folder -> Employees
    Create for every folder (that are entry points) in the role a web site in WPC.
    Ex:
    Web Site: Info
    Web Pages:
    Page1
    Page2
    Page5
    Create a site navigation and add the site navigation to your folder Info.
    br,
    Tobais

  • Hiding Navigator and Builder Links on Account Info Page

    Can any one help me to Hide the navigator and builder links in the Account Info page ?
    I need a very basic account info page where the user can only change his password. I am hoping that oracle has an easy method for doing this. I would not like to build a customized page if possible.
    Thanks

    As for any portal page, you just have to set the right acces rules on the navigator and builder pages and the links won't appear.
    Also, if you just need a link to change password you can create it in an html portlet, just look at the adress the seeded link points to. You'll also so find some password change portlet in Knowledge Exchange.

  • 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

  • Error-Message "Item not defined on current page" after Page submit - AJAX

    Hello,
    a lot of subpages (regions) are loaded over htmldb_get and displayed on a master page.
    The parts loaded over AJAX are reports. The report regions of these reports contain a hidden and protected field, which hold the page number (&APP_PAGE_ID.)
    This was necessary because I had to overwrite the standard pagination function $a_report on the master page. Otherwise the standard pagination function uses always the page number of the master page and not the page number of the loaded subpages. The overwritten function $a_report is placed in the master page header and searchs for the hidden + proteced field, containing the page number of the loaded subpage.
    This works already fine.
    But after submitting the master page with before loaded subpages over htmldb_get, I get following error message:
    Error Item ID (15348310159873659) is not an item defined on the current page .
    Setting the hidden + protected field on the subpage to never display, the error message disappear, but the pagination function doesn´t work any more.
    Where is the mistake I made?
    Greetings
    Michael

    Hello Ben,
    yesterday evening I read in short your answer, but today I can´t see your answer. Have you edited it again?
    My pagination function works fine and I would maintain it if possible.
    But now a new feature is requiered, which require a submit on the master page. The submit on the master page is not possible due to the hidden field on the loaded subpage, containing the page number for the pagination function.
    Using a normal text field (not saving state) works as long as the text field is visible (condiational view != never). But this information shouldn´t be visible to the user.
    I thought, perhaps a cleanworkaround exists.
    As dirty workaround I could place the information about the actual page number in the report themself (static invisible column). But as soon as the column is invisible (not shown), I have no access on this value
    With a normal hidden html-input-element (not a APEX-Item) in the report regions header of the subpage, holding the page number, I get a http 400 error on page submit.
    An I-Frame is not really a solution, because the master page contains several subpages, which should only be loaded and displayed on demand and not immediatly on page load.
    Greetings
    Michael
    Edited by: user6044915 on 31.03.2009 00:27

  • Problem with navigation and masthead by changing languages with Anonymous

    Hi All,
    i have a problem with navigation and masthead by changin the language when accessing as anonymous user.
    Ive created two additional users anon_de  (with language german )and anon_en (for english).
    I've created also two links in the in masthead:
    /irj/portal/anonymous?guest_user=anon_en and /irj/portal/anonymous?guest_user=anon_de
    When i choose "de" for the first time it works fine, but when i choose "en" again the language in the content are is changing to english again, but not in navigation and masthead. When i click again on link for "en" the languge is set to english. Strange thing is that when i click on "de" instead the portal content change to german but masthead and navigation are in english now, as it should be before....
    It seems that masthead and navigation have always prevoius language selected.
    Do you know, what could be the reason of that strange behavior?
    Thanks for help
    Karol

    Hi Detlev,
    you are right. the user is not "updated" fast enough... the strange thing is, that it works by the first time i change the language...
    well.. i can implement that workaround as you suposed, but it would be a really workaround as the same page will be requestes second time, causing requests number to be double..
    Thanks for help
    ps. i forgot to mark this message as question to give points.. if you tell me how i can change that ill reward your answer..

Maybe you are looking for

  • Help- Connecting Macbook Pro 13" to TV with S video only

    Hi guys, So I am trying to connect my Macbook Pro 13" 2009 model to my Tv at home so I can watch movies. My Tv is a Phillips Plasma and only has a S video and audio headset input available (no hdmi). My Macbook has a mini displayport input. I went in

  • How to get an email online when showing offline for sending. Solutions on site don't solve the problem.

    How do you get an email account online when it is showing offline for sending. All settings are correct, previous solutions on the site don't help. One account works find the other one receives but doesn't send. No issues with ISP was found. This may

  • Using htmlmarkup.xsl with a data template

    Has anyone used a file called htmlmarkup.xsl, http://blogs.oracle.com/xmlpublisher/2007/01/formatting_html_with_templates.html, with a data template? If I create my BI Publisher report using a data query in my data model, htmlmarkup.xsl works fine in

  • No Songs in playlist,  or  rating,

    I just bought another computer and transferred the itunes folder to the new computer to have all of my songs and playlists on the new computer. The songs transferred and the names of the playlists transferred but there are no songs in the playlist no

  • Reg:idoc adapter

    what is the technical reason behind not creating the sender side cc in  case of idoc adapter ? (Don't say that it is based on ABAP stack and thats y....not needed) points will be rewarded for correct answers..... regards chandrakanth