Page flow inheritance in Workshop 10 application structure?

This question will probably expose my relative ignorance in this forum but I don't know who else to ask. I'm trying to use page flow inheritance to extend an abstract base controller class to controllers for several projects (which should all behave the same way but have different jsps, templates, and configuration parameters) in an application. I can't figure out how/where to build the base class and where it needs to be in order for the project controllers to have access to it. I tried building the class in its own project and exporting a jar, or including the module in an enterprise app - although I've been able to build and deploy some of these attempts, everything I've tried gives runtime errors that seem to be due to classes/files not being found because the application structure isn't workable. If anyone has examples of how to do this, or suggestions for other ways to do this besides inheritance, I would be very happy to hear them.

This is why you break your application into task flow, this allows you to have a hierarchy of taskflows and one icon in a diagram that can represent a complete flow.
Learn more about taskflows here:
http://www.oracle.com/technetwork/developer-tools/adf/learnmore/adfinsider-093342.html#a2

Similar Messages

  • 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

  • ApexLib: Get a Page Flow Diagram of your application!

    Yesterday I came across Graphviz and remembered that a college had already used it to generate some ERDs/Class diagrams. After taking a closer look, I thought to give it a try and use it to generate a page flow diagram for an APEX application as you can also see it for JSF in JDeveloper.
    It's part of the ApexLib Framework and it's FREE! ;-)
    Get the details at http://inside-apex.blogspot.com/2007/01/apexlib-get-page-flow-diagram-of-your.html
    A diagram sometimes says more than 1000 words... - Simple translation from german :-)
    Have fun
    Patrick
    Check out my APEX-blog: http://inside-apex.blogspto.com

    Hi Carl,
    in the ApexLib_Generate_PageFlowDiagram.sql script you have the possibility to change the call to the Graphviz tool. According to there documentation the dot tool has several supported output format.
    eg. '$dot -Tpng -o%filename.png -Tsvg -o%filename.svg %filename.dot'would produce a PNG and a SVG file. There is no option for PDF, but in there FAQs (http://www.graphviz.org/doc/FAQ.html) they have the following workaround. They first create a Postscript output and then use a Postscript2PDF converter to get the PDF output. On LINUX it would probably look like
    '$dot -Tps -o%filename.ps | epsf2pdf -o %filename.pdf'On Windows you have to get a PDF converter and the hole call in the script would look like
    BEGIN
        ApexLib_PageFlowDiagram.generateCommands
          ( pGraphvizCommand      => '$dot -Tps -o%filename.ps %filename.dot'||CHR(10)||
                                     '$pdfconverter %filename.ps %filename.pdf'
          , pSkipSelfReference    => TRUE
          , pSkipDynamicReference => TRUE
          , pSkipSharedComponents => TRUE
    END;Hope this helps
    Patrick
    Check out my APEX-blog: http://inside-apex.blogspot.com

  • How to link 2 page flow controllers in Workshop

    Hello there,
    I have been playing with rowSet controls and page flows in WorkShop for a few days now and I can see that the creation of both of these is straight forward.
    The question that I have is ... having created the page flow for a given rowSet control, say, "customersController.jpf" -- how can I click on a given row and pass a parameter to, say, "ordersControler.jpf" and have ordersController.jpf query the database based on the parameter passed to it?
    At this point I have these 2 page flows which work okay in isolation. So, we have:
    /customers/customersController.jpf    [custid, name, address, etc]
    /orders/ordersController.jpf    [orderid, date, total, etc]
    I have already managed to pass the custid parameter when clicking on the custid field for a given customer on the customersController.jpf page.
    URL looks something like this:
    http://localhost:7001/myApp/customers/showOrders.do?_autoscope__rowId=customersControllerGridName%7ECUSTID%7E1004
    "showOrders.do" is, of course, an action that calls ordersController.jpf.
    We can see that the customer id (CUSTID) parameter is being passed (1004). Now, how can I modify ordersController.jpf and orders.jcx so that only the orders for customer 1004 are returned by ordersController.jpf? By default, all the order in the database are returned.
    Thanks a million,
    Manuel
    Message was edited by:
    manu_moreno

    Hi manu_moreno,
    You should create an Event handler.
    On the Property Editor, click on the "Event Handler" option.
    On "Add Handler..." you should select "Handle Page Flow Event". This way you can trigger a Page Flow action everytime an action in another portlet is called.
    The parameters I suggest you put on the Session.
    Hope this Helps,
    Pedro Oguri

  • How to moidfy ant file to compile page flow files only

    Hello,
    Our existing application is compiled with standard ANT task and running on weblogic server. Now I try to change the jsp part using page flow and weblogic workshop.
    I think I still need to create an application and a project that contains the page flow files. How can I modify the the ANT file and compile the page flow files only, then these files can be packed with other files into a WAR file?
    Thank you for the help in advance.
    Zhong

    Hi,
    You can go through this weblog Handling Of Non-HTML Documents by Brian. It would be useful to you.
    /people/mark.finnern/blog/2003/09/23/bsp-programming-handling-of-non-html-documents
    Regards,
    Ravikiran.C

  • Multiple entry points into a Page Flow

    Is it possible to define multiple entry points into a PageFlow ? That is, can I forward to an arbitrary Action inside a PageFlow (other then the standard begin) ?
    If so, is there sample code illustrating this ?
    Thank you
    Cristian

    The flow view should show the action from the anchor.
    "Cristian" <[email protected]> wrote in message
    news:405892c9$[email protected]..
    >
    John,
    That answers my questions.
    One more thing though :
    When using an anchor to forward from a jsp to an action in a pageflow,
    the 'Flow View' does not show the corresponding link. Is that normal ?
    Thank you
    Cristian
    "John Rohrlich" <[email protected]> wrote:
    Cristian,
    Yes the samples implicitly go to begin because jumping into the middle
    of
    some flow can lead to code that is difficult to follow and to debug.
    If
    there are pieces of a page flow that are useful in multiple contexts
    you
    might want to make them independent page flows or nested page flows
    You can go from a jsp to an action in another page flow using an anchor
    and
    setting the href attribute, for example
    <netui:anchor
    href="/WebApp/anotherPageFlow/someAction.do">continue</netui:anchor>
    notice that you set href= rather than action= because you are going
    outside
    of the local page flow.
    If you want to go from an action in one page flow to an action in another
    page flow of the same application you can do this
    * @jpf:forward name="success" path="/anotherPageFlow/someAction.do"
    If you want to pass a form to the action you can do that also. You just
    follow the last example and add the form to the forward, for example
    return new Forward("success", someForm);
    I hope that covers it - john
    "Cristian" <[email protected]> wrote in message
    news:405787a2$[email protected]..
    I need to go from either an action or a jsp in one page flow to ajsp/action in another page flow, passing around a session scoped action
    form.
    What is the syntax for the forwarding path ?
    All the samples I found implicitly
    forward to the 'begin()' action in the destination jpf.
    How do I tell it to go to
    another action/jsp in the target jpf ?
    Thanks
    Cristian

  • Struts Page Flow Linking - Multiple Projects

    Hello all,
    I've 2 projects(Project1,Project2) in my workspace(Appliaction1). Each project having it's own struts Pagwe Flow. Each project space represents a particular module of an Appliaction. I would like to know the way to link the struts page flow of all these applications. Say, Project1 is my primary Project space. I want all the remaining page flows to be linked to it. Thanks in Advance.
    Regards,
    Arun.v

    Thanks for the reply... I'm using JDeveloper 10.1.2. Is it the Same for it too. Or do I've to different to achieve Struts page flow linking between page flow belonging to different projects.
    Regards,
    Arun.V

  • Workshop CRASHED while editing a page flow

    Workshop Gurus -
    Any clues on this bug. I get this error while editing pageflow. It just started
    happening this morning.
    I must say, WLW crashes gracefully. It allows me to report this message directly
    to BEA, and then allows me to save my files. However, I do need a resolution to
    this problem, hopefully soon.
    java.lang.NullPointerException
         at workshop.pageflow.model.ExternalPageFlow.refChanged(ExternalPageFlow.java:120)
         at workshop.pageflow.model.DocumentEventAdapter.processModelObjects(DocumentEventAdapter.java:492)
         at workshop.pageflow.model.DocumentEventAdapter.process(DocumentEventAdapter.java:177)
         at workshop.pageflow.model.DocumentEventAdapter.elementChange(DocumentEventAdapter.java:123)
         at com.bea.ide.element.ElementChangeSupport.fireListeners(ElementChangeSupport.java:253)
         at com.bea.ide.element.ElementChangeSupport.fireElementChange(ElementChangeSupport.java:243)
         at com.bea.ide.element.ElementChangeSupport.fireElementChange(ElementChangeSupport.java:219)
         at com.bea.ide.document.DefaultDocument.fireElementChildRemoved(DefaultDocument.java:482)
         at com.bea.ide.sourceeditor.DefaultSourceDocument.mergeComplete(DefaultSourceDocument.java:523)
         at com.bea.ide.sourceeditor.DefaultSourceDocument.mergeMetadata(DefaultSourceDocument.java:610)
         at workshop.sourceeditor.compiler.CompilerProject$MergeRunner.run(CompilerProject.java:1448)
         at workshop.sourceeditor.compiler.CompilerSvcImpl$TreeMergeLock.runMerger(CompilerSvcImpl.java:161)
         at workshop.sourceeditor.compiler.CompilerProject$4.run(CompilerProject.java:1498)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    Thanks
    Kunal Mittal

    Raj -
    Yes I am using SP2. I have had Workshop crash SEVERAL times when working with
    page flows. Some sort of null pointer exception. The only good thing is that workshop
    crashes gracefully, so I didn't lose any work that I was doing.
    Thanks.
    Kunal
    "Raj Alagumalai" <[email protected]> wrote:
    Kunal,
    Can you try using SP2 ?
    Thanks,
    Raj Alagumalai
    Backline Workshop Support
    "Kunal Mittal" <[email protected]> wrote in message
    news:[email protected]...
    Workshop Gurus -
    Any clues on this bug. I get this error while editing pageflow. Itjust
    started
    happening this morning.
    I must say, WLW crashes gracefully. It allows me to report this messagedirectly
    to BEA, and then allows me to save my files. However, I do need aresolution to
    this problem, hopefully soon.
    java.lang.NullPointerException
    atworkshop.pageflow.model.ExternalPageFlow.refChanged(ExternalPageFlow.java:12
    0)
    atworkshop.pageflow.model.DocumentEventAdapter.processModelObjects(DocumentEve
    ntAdapter.java:492)
    atworkshop.pageflow.model.DocumentEventAdapter.process(DocumentEventAdapter.ja
    va:177)
    atworkshop.pageflow.model.DocumentEventAdapter.elementChange(DocumentEventAdap
    ter.java:123)
    atcom.bea.ide.element.ElementChangeSupport.fireListeners(ElementChangeSupport.
    java:253)
    atcom.bea.ide.element.ElementChangeSupport.fireElementChange(ElementChangeSupp
    ort.java:243)
    atcom.bea.ide.element.ElementChangeSupport.fireElementChange(ElementChangeSupp
    ort.java:219)
    atcom.bea.ide.document.DefaultDocument.fireElementChildRemoved(DefaultDocument
    .java:482)
    atcom.bea.ide.sourceeditor.DefaultSourceDocument.mergeComplete(DefaultSourceDo
    cument.java:523)
    atcom.bea.ide.sourceeditor.DefaultSourceDocument.mergeMetadata(DefaultSourceDo
    cument.java:610)
    atworkshop.sourceeditor.compiler.CompilerProject$MergeRunner.run(CompilerProje
    ct.java:1448)
    atworkshop.sourceeditor.compiler.CompilerSvcImpl$TreeMergeLock.runMerger(Compi
    lerSvcImpl.java:161)
    atworkshop.sourceeditor.compiler.CompilerProject$4.run(CompilerProject.java:14
    98)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
    atjava.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
    va:197)
    atjava.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    :150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    Thanks
    Kunal Mittal

  • Workshop 8.1: Page Flow Action and jsp:include

    Hi everybody.
    Can i use jsp:include to "include" a page flow action ?
    I've tried it, but odd things are happening: The resource got included, but fragments of html source "around" it are been lost.
    Any ideas ?
    Thanks in advance.

    Hi Daniel
    There are 2 ways you can acheive this.
    1) Using something called Pageflowscoped form for this. This will let you use arrays for checkbox group.
    The main part will be that you need to define a member varaible of the form at the pageflow level there by the data will not be lost
    2) Using Request scoped form like you have now but need to modify the getter method to populate the "searchResult" object.
    public List getSearchResult() {
    if( null == searchResult){
    System.out.println(" Pouplate the searchResult here. ");
    searchResult= new ArrayList();
    //populate the default values.
    return this.searchResult;
    More info at:
    http://e-docs.bea.com/workshop/docs81/doc/en/workshop/guide/netui/guide/conReqScopedVsPageScopedBean.html
    I have a sample with pageflowscoped bean and requestscoped bean that I can send you if you provide your email address.
    Unfortunately we cannot attach files in the newsgroup.
    Thanks
    Vimala

  • Is there a way to RECREATE the Page Flow Overview in BEA Workshop 4WL?

    BEA Workshop foe weblogic makes JSP development a lot simpler, and the auto generated Page Flow Overview is a nice feature - as long as your page flows are relatively small and simple. It doesn't take much to completlly confuse the tool though and you end up with a workflow with all sorts of flow lines cris-crossing each other - often I which I could just reach in and move a single jsp or action item and the whole mess would straighten out.
    Is there a way to reposition individual elements of the Page Flow Overview or failing that to have it Recreate itself (in hopes that it will straighten out the mess itself).
    Also is there a way to manually edit the flow - adding notes and/or objects and flow lines?

    There is no explicit "refresh" button for the Page Flow Overview (PFO), however clicking the "Show Link Labels" button on the toolbar will cause the graph to be redrawn.
    That said, in my experience replotting the graph nearly always arrives at the same layout. While the layout algorithm does a pretty good job with large graphs generally, some very highly connected graphs can be pretty tough to read right off the bat.
    For various reasons we've moved away from having users manually tweak the layout to deal with this situation. However, we added some highlighting functionality to help make graphs easier to read even if the layout appears tangled.
    If you click the Graph Tracing button on the PFO toolbar you can select a given node and see all directly connected nodes highlighted. If some of the directly connected nodes are far away on the canvas, park the PFO next to the Page Flow Editor view and you'll be able to see a more regular arrangement of the same nodes.
    When you're more interested in following a specific path than seeing the whole immediate neighborhood, you can hit the slash key repeatedly to cycle through highlighting all the links connected to the selected node.
    Finally, you can ctrl-click to multi-select links of interest if you want to trace a given path all the way through the flow. If you were doing this for documentation purposes you can print the graph in this state, or click the Export to Image button, to make a copy of the highlighted path.
    WRT your other question about editing the flow - the Page Flow Editor is intended to complement the PFO as a means of efficiently editing the flow. Select a node in the PFO and you be able to add/modify connections to that node viat the Page Flow Editor.
    There is no provision to add notes or other objects to the flow (though the exported image files can of course be annotated in a graphics editor for documentation purposes).
    I hope that helps.

  • Invoking OA page in flow of Quoting : The application id or shortname (webu

    Hi,
    Currently we do have a customized OA page which is being invoked from a quote line page
    So its working fine from JTT Quoting Page to --> OA page
    BUt now i have developed a new OA page and which is being navigated from existing OA page using pageContext.forwardImmediately
    But I am getting error as The application id or shortname (webui) you entered does not exist
    I checked with my OA page which is working and it does not have any function name / menu attached but it works fiine but 2nd OA page is failing
    Flow
    Quoting Page --> OA pag1 (Working fine ) --> OA page 2 (Not working The application id or shortname (webui) you entered does not exist)
    Thanks
    Amit

    can you paste the code.
    -knick

  • Workshop 8.1 - jsp:include an Page Flow action resource

    Hi everybody.
    Can i use jsp:include to "include" a page flow action ?
    I've tried it, but odd things are happening: The resource got included, but fragments of html source "around" it are been lost.
    Any ideas ?
    Thanks in advance.

    Hi everybody.
    Can i use jsp:include to "include" a page flow action ?
    I've tried it, but odd things are happening: The resource got included, but fragments of html source "around" it are been lost.
    Any ideas ?
    Thanks in advance.

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

  • How do I redirect request to an external page flow?

    Hi,
    I´m really stucked here. I need to redirect and XML wich I get in page flow to an external page flow(in a different project(war) but in the same workshop application(ear)), I´ve tryied all kinds off things but it does not work correctly.
    I even tryied what is written in workshop docs:
    If the path begins with a protocol such as "http:" the page flow runtime will look outside of this web application for the resource, and it will automatically cause a redirect (rather than a server forward) to the resource. If the path begins with a forward slash, "/", the runtime will start at the web application's root directory to locate the resource. If the path omits the forward slash, "/", the reference is relative to the page flow's directory.
    so I did:
    @jpf:forward name="goToKnapp" path="http://localhost:7001/eaiKnapp/PageFlowName.jpf"
    and inside the method:
    return new Forward("goToKnapp");
    and it does´t work.
    Any help will be wellcome.

    Go to iPhoto and hit File and go to EXPORT. From there you can export your entire iPhoto Library to your external drive in any folder you want. Now if you've named the pictures in iPhoto and you select the check box for NAME and Keywords in the EXPORT menu the photos will be exported with the names given in iPhoto and any keywords you have added to the photo such as a description.. Hope this helps not sure if this is what your looking for.

  • Weblogic portal page flow issue

    Hi,
    We are working with portal development using legacy product. This runs on weblogic portal 8.1 SP 4.
    Part of the project, we have to provide user management. We are planning to use the java page flow offered by weblogic.
    When we create a new application and new project and try to create a new page flow (with the UserManager controller) standalone, it works.
    We access the legacy portlets by IMPORTING it as a project inside weblogic portal (i.e workshop). If we follow the same steps to create the page controller in this imported project, the page flow does not work. i.e., instead of displaying the form, it generates java code in the test browser of Workshop
    Do we have to enable any project specific settings for jpf to work.
    regards
    -Ramudu

    Hi,
    Proliferation refers to the process by which changes made to the Library instance of a portal asset are pushed into user-customized instances of that asset which means that when any changes are made to the portlet in source and if you want to propagate that change to the destination, that time if that portlet is used in a desktop where many users are provided an option to customize that desktop only that particular time at destination if you change the Portal Resources Proliferation of Updates Configuration setting to either Asynchronous or off propagation will be faster because that time propagation utility will not change for each user. If the value is synchronous it changes for each user and hence some delay that too it will happen during commit operation only but not during download operation.
    So I feel, Proliferation may not be useful for your case.
    We need to find why downloading source is taking 3 hrs and destination is taking 8 hrs.
    Please let me know whether you are running downloadsource and downloaddestination.
    I suggest run downloadSource in source machine itself and downloadDestination on the destination Machine itself so that you can reduce the network latency.
    Thanks & Regards,
    Murali.
    ===========

Maybe you are looking for