Controller Java Page Flow and Backing file

Hello all,
I am very confused with the controller and the backing file, for example, I have a login page, I would like to flow to another page after I successfully login, which method I should use.
Thanks and best regards
Spencer

u can use the validation technique provided by the weblogic.

Similar Messages

  • Difference between java page flow and java process definition

    I have joined a BEA WebLogic Integration project as an entry level BEA developer. I have a big question on the real difference between a jpf and a jpd. My co-workers say there is actually no difference, but I don't believe so. I think a jpd is more like a back-end process and it may or may not not need a View(MVC). While a jpf is the Controller(MVC) and is closely related to a web-based application where all the navigation logic(and only navigation logic) resides. A jpf normally should have a View(rendered on browser or other terminals) to present data from Model. I strongly believe this is true. But my project manager and my team lead, both are very technical guys, fiercely object to my understanding. I am extremely curious to have input from the BEA community on this fundamental concept.

    I find it hard to believe your team lead really believes there is no difference between a JPF and a JPD. There are numerous differences, both conceptually and technically.
    I believe your understanding of the differing roles of the two is correct. A JPF would represent the view of an application, and a JPD would represent callable services of an application, and server-side business logic.
    From the technical point of view, a JPF, assuming it avoided certain features, can be deployed on Tomcat. The core of it is a pure servlet application. A JPD is an EJB, either a SLSB or a SFSB.

  • Page Flow and Java Control interaction

    Hi everybody !
    Even after to read some documents like
    http://dev2dev.bea.com/pub/a/2004/06/wlw_internals.html
    and
    http://dev2dev.bea.com/pub/a/2004/01/jones.html
    i still didn't get what is really happening "behind the scenes" between Page Flows and Java Controls (Workshop 8.1). I would be glad if anyone could send to me more detailed documentation or explanation about this subject.
    How can a Java Control to stand behind a Stateless Session Bean (GenericStatelessSLSB) and still to keep its internal state (instance variables) consistent ? How can a statefull Java Control to remain statefull being accessed by a stateless component (the EJB) ? Or is the source code of a Java Control (the JCS file) kept by the Page Flow and sent to EJB for its execution ?
    Thanks in advance.

    Hi Daniel
    I have attached a doc I created that explains what happens behind the scenes
    when a pageflow call a JCS va a JWS calling a JCS.
    Can you please go through the document and let me know any questions you may
    have?
    Thanks
    Vimala
    <Daniel Lima> wrote in message news:[email protected]..
    Hi everybody !
    Even after to read some documents like
    http://dev2dev.bea.com/pub/a/2004/06/wlw_internals.html
    and
    http://dev2dev.bea.com/pub/a/2004/01/jones.html
    i still didn't get what is really happening "behind the scenes" between
    Page Flows and Java Controls (Workshop 8.1). I would be glad if anyone
    could send to me more detailed documentation or explanation about this
    subject.
    How can a Java Control to stand behind a Stateless Session Bean
    (GenericStatelessSLSB) and still to keep its internal state (instance
    variables) consistent ? How can a statefull Java Control to remain
    statefull being accessed by a stateless component (the EJB) ? Or is the
    source code of a Java Control (the JCS file) kept by the Page Flow and
    sent to EJB for its execution ?
    Thanks in advance.

  • Oracle WebLogic Portal 10.3.6: Creating a Java Page Flow Portlet in WorkShop

    Hello,
    We are not able to create a Java Page Flow Portlet in WorkShop. While adding the Beehive NetUI Facet(1.0.2) getting the following error in the workshop.
    error installing beehive netui facet
    File template generation failed: Unable to configure AvalonLogSystem : java.io.FileNotFoundException: C:\Windows\System32\velocity.log (Access is denied)
    Following are the environment details:
    WebLogic Server 11gR1
    Oracle WebLogic Portal 10.3.6
    Any Solution for this issue??

    Hi Chris,
    I have already gone through this document. But the procedure that is given in it is not working. I mean I am not able to render diffferent different jspx files based on the menu link clicked. It will great if you can provide me steps by step process since I am new to the portal World.
    Thanks a lot for your reply

  • Hiding portal page using  a backing file.

    Hi,
    Is it possible to hide a page using a backing file. Want to hide a page based
    on the request parameter. I assume it has to be done in a Book backing file.
    Don't want to use entitlement s here. Does anybody have sample code or point
    me to documentation.
    Thanks,
    Shankar

    Yes, you can get the contained page backing contexts from a
    BookBackingContext by calling getPageBackingContexts() on an instance of
    the BookBackingContext you have.
    -Sameer
    Shankar Bala wrote:
    Hi Sameer,
    Thanks for your response. I was thinking of Book backing file because, I need
    to toggle between two pages. At any time only one is visible based on the request
    parameter.
    Is it possible to get the page context and set visible=false from there?
    thanks.
    Sameer <[email protected]> wrote:
    You can do this in the Page backing file. Override the preRender method
    in your backing file and do something like:
         public boolean preRender(HttpServletRequest request,                
    HttpServletResponse response)
              String param = request.getParameter("YOURPARAM");
              if(param != null && param.equals("EXPECTEDVALUE"))
              PageBackingContext backingContext =
    PageBackingContext.getPageBackingContext(request);
              backingContext.setVisible(false);     
    Hope this helps.
    -Sameer
    Shankar Bala wrote:
    Hi,
    Is it possible to hide a page using a backing file. Want to hide apage based
    on the request parameter. I assume it has to be done in a Book backingfile.
    Don't want to use entitlement s here. Does anybody have sample codeor point
    me to documentation.
    Thanks,
    Shankar

  • JSR for Java Page Flow?

    Hello there,
    I would love to know if there is or will be a JSR for the Java Page Flow
    technology that we have in Workshop. If not. what are the reasons behind this?
    I see there is JSR207 for the Process Definition stuff for integration, but what
    about page flow?
    thanks,
    frank

    Frank,
    XML beans stand alone is available at
    http://workshop.bea.com/xmlbeans/index.jsp
    Thanks
    Raj Alagumalai
    WebLogic Workshop Support
    "Thomas Cook" <[email protected]> wrote in message
    news:[email protected]..
    Frank,
    Speaking for page flows, there will soon be an Ant compiler and
    supporting libraries to allow page flows to run on Tomcat and possibly
    other standards-based products as well. Whether there will be any other
    standardization push for page flows, such as a JSR, remains to be
    determined.
    I can't say anything for XML beans other than it's currently freely
    available from BEA.
    Thomas
    frank wrote:
    aehm, I missed something: XML Beans
    Also, does anyone know which way of standardization this piece of
    technology will
    go?
    I understand it makes sense to merge it with jax-b over time, but arethere any
    >>
    jsr out yet or anything else?
    thanks a lot for any information!
    frank
    "Frank" <[email protected]> wrote:
    Hello there,
    I would love to know if there is or will be a JSR for the Java Page Flow
    technology that we have in Workshop. If not. what are the reasons behind
    this?
    I see there is JSR207 for the Process Definition stuff for integration,
    but what
    about page flow?
    thanks,
    frank

  • Iphone pauses and flips to cover flow and back with other earphones

    If I use any other earphones than the ones that are provided, my iphone pauses and plays randomly, and flips to cover flow and back without any movement... any help?

    Connect the two devices that are showing large backups to your computer and check the capacity guage in iTunes to see how large "Other" is.  Sometimes this can grow to be extrememly large, requiring you to restore the device to reduce it to a more reasonable level (approx. 1GB).

  • Nested Page Flows and Pop Ups - Workshop 8.1

    Hi, everybody.
    I'm facing the following problem:
    I've a "main" page flow within some page flow-scoped data and forms. Now i need to open/execute another page flow (a "secondary" one) inside a pop up window. The tricky is i cannot "lose" the data in the first page flow. I will navigate to main page, fill some data, open the pop up, execute some queries, close the pop up and continue previous navigation.
    If i don't use a "nested" page flow for my pop up, i loose the page flow-scoped data from my main page flow (a new page flow is created).
    If i use a nested page flow, the following scene does not work:
    - Go to main page (create main page flow);
    - Fill some data;
    - Open pop up (create nested page flow);
    - Perform some queries (execute actions inside nested page flow);
    - Close pop up window;
    - Fill some data;
    - Submit main page;
    - Execute form validation using Struts Validator.
    When i execute the last step and there are errors in the submitted form, netui data binding tags fail. I believe that the engine "thinks" that it should use nested page flow (and form) instead of the main page flow (and form).
    I've found a workaround for this situation: When the pop up is closed, the main page execute a "dummy refresh action" in the main page flow.
    Is this the correct behaviour ? Is there another way of do it ?
    Thanks in advance.

    Hi Vimala.
    I cannot lose page flow data because i have other kind of data (beside a form) inside my page flow: Options values, previous search result list, ...
    Can i close the pop up window without call "return-action" ? How should i proceed if i don't need/have a "return-action" ?
    How should i proceed if i should to specify the forward of a "return-action" as a request parameter/attribute ?
    Thanks.

  • Pages, numbers and Keynote files readable in Windows?

    I'm probably embarassingly niave but I'v just bought an iMac (2 months ago) and when I send Pages, Numbers and Keynote files as attachments to emails, the recipients (who operate on Windows Computers) say they can't open them. What do I have to do to convert them into files that are readable in Windows?
    Thanks for any help

    Export them as MS Office files or buy a copy of Microsoft Office for Mac

  • JPF and backing file

    I have just started using BEA portal. JPF has controller that handles all the action processings. Backing file has callback handlers to perform the same. Is the backing file concept prior to JPF's were introduced or they still go hand in hand? When does a JPF based portlet need to have a backing file as well?
    Any clarifications will be apprecieted.
    Thanks
    -SDD

    No, you don't need backing files to write portlets. The primary purpose
    of backing files is to let you interact with the portal's aggregation
    framework directly. You can think of backing files as an intermediary
    between the framework and your JPF.
    Subbu
    Shiv Dhondiyal wrote:
    I have just started using BEA portal. JPF has controller that handles all the action processings. Backing file has callback handlers to perform the same. Is the backing file concept prior to JPF's were introduced or they still go hand in hand? When does a JPF based portlet need to have a backing file as well?
    Any clarifications will be apprecieted.
    Thanks
    -SDD

  • Printing on both side of the form page front and back

    Hi experts,
                 while developing a purchase order i have come across a requirement to print on both sides of the page on the front side i wont to print the normal calculation and on the back side i have to print the terms and condition of the company what should i do for this please help.i have already created the PO which has to be printed on the front side just i wont how to print even on the back of the PO,Should i create a new window or should i go for a seperate smart form.
    Thanks
    Sumeet Malhotra

    1.  Assign next page of first page to terms and condition page. and assign terms and condition page to next  Page. Goto terms and condition page attributes and uncheck the counter button.
    In Case the printing ends of only in first page then put a command line with condition based on your requirement to trigger the Terms and condition page.
    ex: page1 -> first page
          page2 ->second page
         terms-> terms and condition page.
    assign Page1->terms
        and terms->page2 (Uncheck the counter)
        and page2->terms

  • Saving Pages, Keynote and Numbers files so they're compatible to open on PC

    How do I save files from pages, keynote and numbers so I can open them on a PC?

    I would have to think that most PC's are running Office, so that would be a safe bet.
    If you really want anyone to be able to open and read, PlainText or pdf would be even better. PDF for reading and plaintext if you want them to be able to edit.
    Adam

  • Pages App, is showing the titles of all my documents but icons are a black and white pages icons and the files won't open, what can I do?

    I recently updated iTunes and had several crashes on the next sync with my ipad2. Now when I open the Pages App, all my documents are shown with a black and white Pages icon, the title and date created is there but I cannot open any of the documents I created with this app, I have about 2 months of work I need to be able to open!

    It sounds like you are seeing what you should see when you are in the thumbnail view of all of the documents. If none of the files will open when you tap on them, try quitting Pages completely and then restart the iPad and try again.
    Go to the home screen first by tapping the home button. Quit/close open apps by double tapping the home button and the task bar will appear with all of you recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner to close the apps. Restart the iPad. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button

  • Java page flow jpf forward to dynamic url

    How to forward to a dyamic url from a page flow action method

    use new Forward (URI uri,
    boolean doRedirect)
    with redirect as false
    Edit : If the path isnt within your webapp you will have to do a redirect (you can use the constructor with the URL form)
    regards
    deepak
    Edited by: deepshet on Sep 2, 2009 3:38 PM

  • Pages, Numbers, and Keynote files as attachments in emails

    Why can't I attach a file to an email unless I export it to Word or Excel?
    If I create a file in Pages, Numbers, or Keynote and save it to my documents, I can't attach that file to an email. It says the file cannot be attached. If I go back to the file and export to Word or Excel, It will attach to the email. How can I fix this?

    Are you using Apple's Mail app?  Are you composing the email using Apple's Mail app and then trying to attach a file?  Are you using current versions of Pages, Numbers, Keynote (Pages 5.2, Numbers 3.2, Keynote 6.2)?

Maybe you are looking for

  • How do I limit the size of a TextField and do an auto advance of that field

    Attached is a copy of my program. It reads a bar code and enters that bar code into a textfield and 2 text areas. everything is working fine except I want the bar code read to trigger a print to the 2 text areas automatically instead of the user havi

  • Problem with java stored procs.

    Is there a restriction on accessing XML documents from Java stored procs? I have a Java program to parse XML document and return a string. If I run this program as a stand alone, the program runs fine. I loaded the oracle xmlparser.jar into ORACLE8i

  • Display thumbnail view of user profile photo in UIview

    I am developing an application where i have to access user profile data from server in XML format, which contains user profile image url also. My problem is that i have to display the photos in a grid like format on the view controller (eg 4 images i

  • Primary id

    hi all, i want to get change the email address that i use as my primary id. i no longer use the email address i first set up with BT, & want to make the sub account that i use all the time into the new primary id. how do i do this? much thanks 

  • Create Entity class from view

    Hello, Is it possible to use views in java persistence in the same way as tables (but just for fetching data)? Thanks in advance.