Multiple branches to the same page

A few questions about branches...
1. Having a branch back to the same page with a 'when button pressed=Submit', another branch back to the same page with some other button-press condition, etc are all redundant, right?
It is sufficient to have just one unconditional branch back to the same page, right?
2. What is the difference between branch type 'branch to page or url' and simply 'branch to page'? Does the former cover the latter, so why do we need two types?
3. Anyway, when I choose the latter, there is a checkbox below the page number for 'branch to page using redirect'. What does this mean?
4. I have always seen the 'On submit: after processing' branch point being used. When would the other branch points be used?
Thanks

Vikas,
1. No, they are not "all redundant" nor is any
individual one. What if your page is submitted in
some way other than by one of the buttons evaluated
in the branch definitions?
Right, thats why I said "It is sufficient to have just one unconditional branch back to the same page, right?". Why is it not sufficient to have just 1 unconditional branch? That would cover all the cases. Each page process can then check for whatever conditions it needs?Ummm, you say "Right" to my rebuttal and then you restate your original premise -- that logic eludes me. Let me offer this: Ponder my question, exactly as I wrote it, and consider self-submitting items, tabs, javascript, fields that submit the page when you hit Enter, etc., then it might make more sense. I don't think I can help you with that last part "Each page process..." even if it were an actual question.
2. A Branch to Page (aka direct branch) calls the
target page directly from accept processing without
using a URL redirect. The other type redirects.
Maybe this has nothing to do with HTMLDB, but whats the difference between "directly from accept processing" and "redirect"?Fair question. When you submit a page, wwv_flow.accept processes it. When it finishes, it evaluates the branching logic to determine what page you see next and then either redirects to that page (to f?p=...) or calls wwv_flow.show in the same database session (direct branch).
3. That's a way of creating most branches as URL
redirect branches when the developer isn't paying
attention. Uncheck the box to "really" create a
direct branch.
You seem to be implying that a "direct branch" is not really desirable in most cases? Why? (I guess your answer to my question above will clear this up for me)Well, they're usually not the best choice. You end up with "wwv_flow.accept" in the browser location window after the branch and using the browser's back button to go back to those requests gives you that annoying "page contains POSTDATA" message. Those branches can be useful if you want to stay in the same database session for page processing (after submit) and the subsequent page view, such as in the case of inline validation errors where package state is maintained. The checkbox (default checked) technique is to require developers to really think about a choice that may have been reflexive.
4. Please read the User's Guide.
I did. Lets take them 1 by one
a. On submit, before computation: The docs say this is to be used for a Cancel button. But wouldnt a javascript:document.form.reset() do the same thing?A Cancel button that submits the page does just that, it submits the page, allowing session state to be saved and any logic on the page to be performed before the correct branch is taken. You ask whether that javascript would do the same thing. The same thing as what, the Cancel button? No!
b. on load before header: "...displays another page instead of the current page...". But then why wouldnt I just create a branch of some other branch point with that "another page number" in the first place?Because sometimes it's better for page X to decide to go to page Y before doing much of anything than for N callers of page X to make the same determination.
I guess I am having difficulty understanding the concept of a "branch point". As you said elsewhere, a branch doesnt contain any logic, it doesnt call anything, it just branches to some page/url.Where did I say that?
So, why have all these different branch points? What advantage does having this fine degree of control provide us? (as opposed to always 'on submit: after processing'?)Your proposal about reviewing various branch points was "Lets take them 1 by one", but then you skipped three of them. Please read the entire section on branching, create pages with all possible types of branches and a variety of buttons and conditions, experiment extensively with them and let us know if it's still unclear. I think you'll find, over time, that all features
in HTML DB are there for a good reason. The developers found a need for them developing real applications. Where capabilities were missing, features were invented and added,
where features seemed useless, they were dropped/deprecated. The tool you see today has been evolving for years. I think it's unreasonable to expect to be able to
appreciate the value of every single feature until you've been using HTML DB for a couple of years.
Scott

Similar Messages

  • How can I have use the same div ID multiple times on the same page?

    Okay so a problem I encounter a lot is that often times I want to use the same div ID several times on the same page. An example of this is when I'm creating table like designs.
    Let's say for instance I create a div ID called 'product-container'. I want to use 'product-container' multiple times on the same page but if I do this it is improper XHTML and will throw errors in any XHTML validator (you are only allowed to use a div ID once on any XHTML page in order for it to be standards compliant).
    Now the first option is that I could define 'product-container' in my CSS style sheet multiple times by doing something like this...
    #product-container {
         width: 300px;
    #product-container-2 {
         width: 300px;
    #product-container-3 {
         width: 300px;
    #product-container-4 {
         width: 300px;
    What you will see there however is that it seems pointless to define the same ID numerous times over (just adding a number on the end) when each ID is the exact same thing and has the exact same attributes.
    Now what I have noticed is that there are some sites out there who manage to have the same ID appear several times in the code but add a number to it just like above. The difference is that they only have one definition for 'product-cointainer' in their CSS document but in their actual XHTML code they have IDs for 'product-container' but with numbers on the end like 2,3,4,5, etc. It's almost as if JavaScript or some other code is automatically appending a number on the end of the ID so the validator won't consider the markup to be invalid, but yet it knows that it's using the same 'product-container' style that is contained in the CSS style sheet.
    I hope I explained this correctly. I'm just hoping to find a way that I can put the same div ID on a page multiple times without having to define it over and over again in my CSS.
    Any help is much appreciated!

    Because it seems like by using a class you can't make this position as 
    well as you can by using an ID. Am I wrong?
    An ID name can be used only one time per page.  A class name can be used multiple times per page.
    .product {
    width: 300px;
    text-align:left;
    color: #FF0000
    border: 2px solid #666;
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • I can no longer (since upgrading to the latest firefox) open up multiple tabs of the same page (something I need to be able to do when emailing and referencing multiple emails while writing one email). The only option it gives me is to 'switch to tab'.

    Question
    I can no longer (since upgrading to the latest firefox) open up multiple tabs of the same page (something I need to be able to do when emailing and referencing multiple emails while writing one email). The only option it gives me is to 'switch to tab'.

    I'll try to make this clear. I USED to be able to left click on a hyper link and the hyper link would open in a NEW tab. Now for some unknown reason the hyper link by default opens in the same tab (window). I have to right click the hyper link in order for it to open in a NEW tab. (Yes, my 'tools'> 'options'> 'tabs' are set to "open new windows in a new tab." (Please no answers telling me to get rid of the Ask toolbar because I don't have one.) Thank you.

  • How to pass a parameter from a report to multiple forms in the same page

    Hi:
    i have a report and a lot of forms in the same page. The fact is that i want to stablish a link over a filed in the report which would make some information appear in those forms so that information could be updated. For example: i have a report with company names. Over those names i want to put a link. When the link would be pressed the forms would reflect the information about that comany. Is this possible to be done? how can i do this or something similar?
    Thanks.
    Regards. Urko.

    Please see post Re: session state security
    It has been done for a single form in a page and can be extended to multiple forms as well.

  • Multiple Browsers with the same Page Flow

    I have a legacy application that I am working on migrating to Weblogic. The
    legacy application allowed the user to have multiple windows of the same
    module open at the same time. Users found this useful if they wanted to look
    at two different records in the same module. For example, if you had a
    registration app and you wanted to look at Joe's registration information
    and Sue's registration. Is it possible to have two browsers within the same
    session open and pointing to the same RegistrationController.jpf?
    Thank You.
    Michelle

    I believe our problem is that our form beans are class members of the page
    flow thus when you open another instance of the same controller the form
    beans are overwritten. Our GUI is displayed as modules containing multiple
    tabs with a form bean for each tab. The module has a controller, signifying
    the page flow for the module. So, one record in a module will span multiple
    tabs. We did not want to have one big form bean that is why we multiple
    form beans. But it now looks like we will need to store these form beans
    perhaps to the session in a collection identified by the window instance
    they belong to.
    We also need to do multiple different page flows but I don't think nested
    page flows will not work here because the page flows would almost need to be
    nested of each other. I guess you could almost think of as each module is
    an independent application however some can be invoked by others.
    <Rich Feit> wrote in message news:[email protected]..
    Hi Michelle,
    Yes, that should be just fine. That page flow will remain the "current
    page flow" as requests from both browser windows hit it. The NetUI
    runtime synchronizes the action methods, so you don't need to worry about
    thread-safety within them.
    There's also a way to have multiple different active page flows at the
    same time, but in this case you don't need to do anything special.
    Rich

  • Hey everybody... I have an image that I would like to produce multiple images on the same page ...same image just 25 times on one page can anyone help me?

    hello everyboby...I am have a difficult time trying to take one image and reproduce it 25 times on the same page......can anyone help me?

    You certainly are not following my work flow - that is the info window in the main iPhoto window
    I said (steps numbers for ease of following my work flow)
    1 - Simply select the photo and
    2 - print,
    3 - select the printer,
    4 - Select the paper size and
    5 - select a print size (keep the image ratio in mind so you do not get unwanted cropping)  that will fit the required number of photos on the page with small borders - you have to do the math - and
    6 - if the preview does not show multiples of the same photo click customize,
    6 a - click settings and
    6 b - select multiples of the same photo on a page -
    the preview will reflect this selection - and
    7 - print
    Nothing about getting info for the photo in the iPhoto window
    LN

  • Reusing the same jsp include multiple times on the same page

    If someone knows a way out of this
    I'd like to print out 2 records of the same data type I have a JSP include which does that.
    Now my issue is how to use the same include twice on the same page
    Ideally I would like to do the following:
    <%
    request.setAttribute("person", person1);
    %>
    <jsp:include page="./person.jsp"/>
    <%
    request.setAttribute("person", person2);
    %>
    <jsp:include page="./person.jsp"/>
    And in person.jsp
    I could have
    <h:inputText name=#{person.name}/>
    This fails in the updateModel phase - And I realize why it's failing. There really is no person managed bean.
    It's just that I am at a kind of loss as to what I need to do now -
    Am missing something or is it just impossible to use jsp:includes the way Ive tried to?

    I do not understand, have you created a backing bean named person? Have you defined it in your config file?
    Please copy/paster your backing bean code and config file.
    Normally, you can set directly the value of the bean by using some java code in your jsp instead of setting the request attribute.

  • Multiple copies of the same page?

    Hi, under the previous version of iWeb, I somehow managed to create three 'Welcome' pages. All three are the same page, and all three show up in my .mac account online. However, I've since upgraded to Leopard (erase and install) and don't have any way to get to those actual pages that I know of. Does anyone have an idea on how I can get to them, or even simply delete them and start over?
    Thanks
    Dan

    Dan ~ To simply delete those published iWeb pages from .Mac:
    Connect to the Internet and click anywhere on your Desktop background to launch the Finder. Then in the menu bar at the top of your screen, click on...
    Go > iDisk > My iDisk > (wait) > Web > Sites > ...
    ...drag your site folders to the Trash. If you see a "_gallery" folder, don't delete it -- that would be your .Mac Web Gallery if you've published one.
    When done, Ctrl-click on the iDisk icon on your Desktop and choose Eject "userid". Wait for the iDisk icon to disappear.

  • Why do I get multiple windows of the same page?

    Why do I get multiple pages under each other of the same website?

    Ah I'm not alone its seems to be a recent 'issue'

  • How can I print multiple photos on the same page from iPhoto?

    I want to print multiple pictures on one paper. How can I do that from iPhoto? If I select multiple photos they are printed on separate pages.

    Select the photos and click print - select the printer, paper size and print size (be sure that they will physically fit on the paper) and click customize - on the resulting page click on the settings icon - the gear looking thingy at the bottom - and in the selection window set print multiple photos on a page - the preview should reflect this change - and click print again to continue
    LN

  • How to show the region multiple times on the same page

    Hi,
    I have a PL/SQL Dynamic Content region which creates a report with custom layout using pl/sql web toolkit. The stored procedure takes the parameter and creates report. Can I display the same region multiple times by calling it from loop with different parameter each time ?
    Thank you,
    Asha

    Hello Asha,
    In your plsql you can do a loop, so you would only have one plsql region but in there that can generate different areas of your website.
    e.g. it can loop and generate different divs or tables.
    Regards,
    Dimitri
    http://dgielis.blogspot.com/
    http://www.apex-evangelists.com/

  • Why am I getting multiple versions of the same page showing in the Back (and Forward) buttons?

    I had this problem with Firefox 4.x -- and I just upgraded to FF5, but the issue still exists.
    What happens is, when I've surfed to more than one page (or site) on a tab, then want to go back, I find that my Back button history often has multiple versions of the most recent page loaded, so that when I press the Back button once, it does nothing. Instead, I have to hold the button to display all of that tab's recent history, in order to return to the page that immediately preceded the current page.
    Could this be an issue with a plugin, that's loading the page multiple times, or something? It's certainly an annoyance.
    Thanks in advance for any assistance you may be able to provide!

    Yeah, it's keeping all the history -- better than deleting it, I suppose -- but I'd rather not have to hit that button numerous times.
    Here's an example -- I just tried this moments ago.
    * I just opened a new tab.
    * Typed imdb.com in the address bar.
    * Clicked on a NewsDesk story: Jon Hamm Locks In 'Mad Men' for 3 Years
    URL: http://www.imdb.com/news/ni11982605/
    * Then clicked on Jon Hamm's name.
    URL: http://www.imdb.com/name/nm0358316/
    (And come to think of it, IMDb seems to be where I notice this happening the most frequently.)
    So the back button just reloads the Jon Hamm profile page again, and ditto when I finally page back to the news story page (takes me two clicks of the back button to go to the page before it).
    Odd thing, when I repeated this process -- without opening a new tab -- now I have FOUR of the news story pages in the drop down from the Back/Forward buttons, but TWO of the Jon Hamm profile pages.
    Ah, here's an interesting thing -- every time I go to a new page (Hamm's bio, for instance), then go back, there is suddenly one more instance of the previous page.
    I've seen literally DOZENS of instances of one page loaded up in this Back/Forward drop-down history. Not the ideal situation, obviously. ;-)
    See screen capture below, if that helps.
    Thanks again!

  • Unable to open multiple instances of the same page to display report

    Hi,
    I have a scenario to implement. I need to show SSRS report on a button click(ViewReport). What I want is to open a new page(Report.aspx) on ViewReport_Click.
    Now for the second time I want user to be able to change the parameters and click on the ViewReport button again to open a new instance of page, while the old page is still alive. So, that user can compare both the reports.
    Now what is happening is the same web window is getting refreshed.
    Please help: Its really urgent for me to get this working.
    Thanks,
    Anshuman

    Hi AnshumanSingh,
    In my opinion, this thread is related to ReportView forum. So please post thread on that forum for more effective response. Thank you for understanding. Please refer to the following link.
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=vsreportcontrols.
    Regards,
    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.
    Click
    HERE to participate the survey.

  • When I print multiple photos on the same page,  the prints come out different.

    I have printed several copies of the same photo, 2 to a page.  The 2 copies are different.  One seems to be before adjustment and one after, so the exposure appears different. My printer is a Canon pro9000. Can anyone tell me what I am doing wrong?
    Thanks!

    If you print the photo (2 to a page) twice separately, i.e. not 2 copies of the same setup in iPhoto,  are they different?
    Try this:  in the Print menu use the PDF button and select the Save as PDF option.  Then open the file in Preview and print the 2 copies.  Do they look the same?  If not then the problem may lie with the printer not maintaining the same settings from one print to the the next.
    OT

  • Problem with multiple .swf in the same page

    Hi everybody,
    I got a small animation written in actionscript 2.0. I need
    to load it several times in a webpage (about 20 instances), but
    seems to be too many work and the web browser freezes.
    Anyway, it's a relatively simple script (not complex
    arithmetics per cycle, although two or three color gradient
    refreshing), so I think the problem could be the fact of having so
    many instances running at the same time...
    Is there any way to fix this problem without reducing the
    quality of the animation?
    Thanks a lot!

    Sorry Kglad, I didn't mean to be rude. With "No coding
    errors" I meant the animation itself runs with no errors. I'm sure
    you could run the 20 instances with no freezing (that's why I put
    the post :) ) But I'm affraid it is an animation for a client, so I
    cannot distribute the code.
    Perhaps I didnt explain the situation clearly enough (in part
    because of my poor english...).-
    - By 20 instances I mean 20 separated embedded objects in the
    html
    - The animation is relatively simple. A turned on candle, in
    each cycle I calculate the next position of the flame (that
    oscilates from left to right). The flame is composed by 4
    concentric gradients. There is NO loops, only an 'onEnterFrame'
    function refreshing the flame each time.
    - It's true that I got plenty variables at the _root level.
    If that could be the problem, how can I workaround it?
    - It is my first time trying to embed so many objects at the
    same time too. No idea if the problem could be the way I embed the
    object from the html :(
    - The only thing I can guess is that when a cycle of one of
    the object is running, the other 19 objects must wait their turn.
    That would explain why the more instances I run, the worst results
    I get. In that case, I wonder if there's a way to run them in a
    kind of asynchronous mode, just guessing...
    Any other comment would be appreciated. Anyway, thanks a lot
    everybody for your colaboration.

Maybe you are looking for