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

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

  • How to link Multiple pages in smart forms?

    Hi experts,
    am creating one smartform in that i have 4 pages each page is different from the other.
    am linking the pages as
    for page1 -
      next page = page2
    and create a command on main window in that   go to next page(checked) page2.
    similarly all the pages i have given
    for page2 -
      next page = page3
    and create a command on main window in that   go to next page(checked) page3.
    but in output am getting only 2 pages only
    will u help for this.
    thanks and regards
    taj

    Hi max,
    yes i created command in all pages main window
    in page1
    mainwindow1
    command(in mainwindow1)
    page2-mainwindow2-command
    like this in all 4 pages i have given
    but not getting the output of 4 pages
    only getting the 2 pages
    those are first page  and the  page that is connected to first page  either it is 2nd or  3rd or 4th
    how this am not getting the solution.
    help me
    thanks

  • How to change the "Page Flow Error - Unsatisfied Role Restriction" page

    When you try to access a page and are denied authorization to it, Weblogic automatically redirects you to a
    "Page Flow Error - Unsatisfied Role Restriction" page, on the bottom of which tells you what roles you have to be in in order to access the resource. My question is how can I change this page to match the general look and feel of my application?

    I know you asked this almost a month ago, so you may have already figured it out... but you just need to add a handler for com.bea.wlw.netui.pageflow.UnfulfilledRolesException. Something like this:
    @jpf:catch type="com.bea.wlw.netui.pageflow.UnfulfilledRolesException" path="roles-error.jsp"
    You can put it at the class level of a specific page flow, or at the class level of WEB-INF/src/Global.app, which will apply it to all page flows.
    Hope this helps.
    Rich

  • How to link second page to my Homepage? (Help sources do not help.)

    After checking my three Help sources (two of which I printed out), this question remains unanswered:
    How do I link each page to the other pages? I know that I can access them when working in iWeb by clicking on folder icons in the vertical navigation panel on the left, but I would like to be able to click onto a PAGE itself and acces other pages.
    I published to the Internet but can only get my Homepage. I thus cannot view the second page that I am working on. I clicked the box "Make visible" but this doesn't enable me to see (on the Internet) that second page I'm working on, clearly because I don't know how to make a link from the Homepage to that second page.
    — Lorna in Southern California

    Hi Lorna!
    Congrats on figuring out the iWeb navigational
    choices. Doesn't it feel great when we can accomplish
    something on our own?
    .......... Lorna says ................................................
    Lisa hi Thank you for the congrats, and yes, it does feel good to figure things out on my own, but much of my progress I owe to others who have pointed me in the right direction or outright told me the answer. But it feels SO GOOD to discover that I can solve some problems, given a lot of time to think and fiddle.
    Like James said (I think his name is James) the
    little blue inspector button gives you the choice of
    turning any picture or text into a hyperlink, to go
    either to another page within your site, or to an
    external link. It took me forever to figure out it
    seemed!
    .......... Lorna says ................................................
    So I am not the only one who sits for a long time trying to figure things out! As for the hyperlinks: I guess having the navigational bar at the top of each page is minimally good enough, but I like knowing that I can make any object into a hyperlink.
    QUESTION:
    HOW CAN I MAKE THAT OBJECT VISIBLY AND CLEARLY A HYPERLINK so that the casual visitor eating a Krispy Kreme donut does not overlook it because it blends right in?
    Currently I am unable (like hundreds of others, it
    seems) to publish my website.
    .......... Lorna says ................................................
    Lisa, WHY ARE YOU UNABLE TO PUBLISH YOUR WEBSITE?
    However, I am enjoying
    working with iWeb as far as 'practicing' making
    pages, editing, working with the color, text, all
    that sort of fun stuff. Being new to the world of
    Macintosh/Apple, I'm inching my way to learning
    things.
    .......... Lorna says ................................................
    I love the Mac. I am so glad I bought one way back in 1984. I just installed Tiger and iLife '06 last week (middle of July, '06) and am so glad to have it.
    One thing I've noticed though, and I don't know if
    this amounts to a hill of beans... but the folks that
    seem to be having the problems publishing their
    webpages via iWeb are on the East Coast of the US.. I
    wonder if that's a clue...???
    .......... Lorna says ................................................
    I haven't a clue as to why except to say that it is prolly a non-causal relationship!
    — Lorna in Southern California

  • How to link 2 pages in Portal - URGENT!!

    I am building a portal with Oracle Portal and I need to link two pages. It seems something simple and essential but I can not find the way to do it. Please could you help me with this?
    Many thanks
    Mariela

    You could link the two pages with the direct access urls. For example if page names are page1 and page2, you may call page2
    from page1 by putting a href in a Dynamic page portlet with /url/page/page2 as the href.
    Hope it helps

  • 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

  • How to link output page to output excel sheet?

    Hi,
    I have written a program where the output is downloaded as an excel sheet.There are 2 option in the output
    either we can display the output in the form of a ALV or we can download it into an excel sheet.
    Now,I want to know how I can link that excel sheet to the ALV display output,which should finally display
    the alv as the first page and the downloaded sheet as the next page.
    Regards,
    swain19

    Hi,
       You can link output type to your zprogram through NACE transaction.
    There you need to select the 'Application' and click on the 'Output types' push button.
    for ex:
      go to txn NACE and choose V3(Billing) then it will take you to the next screen there you can provide
    your ZOutput type or choose a existing one and double click on it.
    Now it will take you to the output type, there you will find 'Processing routines'.
    In processing routines you can link your program to corresponding medium of processing like Fax or Print output.
    If you want anymore help, you can always get back to me.
    Regards,
    Jalendhar

  • How to call Generic Page flow from jsp

    Hi All,
    I have some links in my home page(jsp file).Based on user's selection, i need to show another JSP page using pageflow(JPF).
    thanks in advance
    vandana

    i have function created by java script lets say x and i want to call this function from jsp scriplet tag which is at the same page ..thanks

  • How can I link to pages in a 2 level popup index/selection tree with java script?

    I can do a single level popup index using the java script below (#1) and link the selections to pages but to change to a  2 level popup index selection tree as below (#2) I can't seem to figure out how to link to pages. Any help greatly appreciated. Thanks
    1
    var itemIndex = app.popUpMenu("INTRODUCTION", "ALPHABET", "GRAMMAR", "NUMBERS", "DATES & TIME", "GETTING TO KNOW PEOPLE", "PHRASES FOR LEARNING", "DIRECTIONS & TRANSPORTATION", "DESCRIBING THE TRAIL", "DO'S & DON'TS", "EQUIPMENT", "FOOD", "INTRODUCING A VILLAGE", "CULTURE AND ETHNIC GROUPS", "HANDICRAFTS", "TEMPLES & MONKS", "AGRICULTURE", "ANIMAL HUSBANDRY", "SCHOOL & EDUCATION", "LEADING A TREK", "NATIONAL PROTECTED AREAS", "IDENTIFYING WILDLIFE", "PLANTS & FORESTS", "BOATS", "CAVES", "HEALTH AND SAFETY")
    switch (itemIndex) {
    case "INTRODUCTION":
    this.pageNum = 1
    break
    case "ALPHABET":
    this.pageNum = 2
    break
    case "GRAMMAR":
    this.pageNum = 5
    break
    case "NUMBERS":
    this.pageNum = 30
    break
    case "DATES & TIME":
    this.pageNum = 35
    break
    case "GETTING TO KNOW PEOPLE":
    this.pageNum = 42
    break
    case "PHRASES FOR LEARNING":
    this.pageNum = 56
    break
    case "DIRECTIONS & TRANSPORTATION":
    this.pageNum = 59
    break
    case "DESCRIBING THE TRAIL":
    this.pageNum = 63
    break
    case "DO'S & DON'TS":
    this.pageNum = 68
    break
    case "EQUIPMENT":
    this.pageNum = 74
    break
    case "FOOD":
    this.pageNum = 83
    break
    case "INTRODUCING A VILLAGE":
    this.pageNum = 96
    break
    case "CULTURE AND ETHNIC GROUPS":
    this.pageNum = 105
    break
    case "HANDICRAFTS":
    this.pageNum = 120
    break
    case "TEMPLES & MONKS":
    this.pageNum = 126
    break
    case "AGRICULTURE":
    this.pageNum = 131
    break
    case "ANIMAL HUSBANDRY":
    this.pageNum = 140
    break
    case "SCHOOL & EDUCATION":
    this.pageNum = 145
    break
    case "LEADING A TREK":
    this.pageNum = 151
    break
    case "NATIONAL PROTECTED AREAS":
    this.pageNum = 155
    break
    case "IDENTIFYING WILDLIFE":
    this.pageNum = 161
    break
    case "PLANTS & FORESTS":
    this.pageNum = 169
    break
    case "BOATS":
    this.pageNum = 175
    break
    case "CAVES":
    this.pageNum = 178
    break
    case "HEALTH AND SAFETY":
    this.pageNum = 182
    break
    2
    var aINTRODUCTION = ["INTRODUCTION", "How to Use This Book", "Format"];
    var aALPHABET = ["ALPHABET", "Vowel Sounds", "Consonant Sounds"];
    var itemIndex = app.popUpMenu(aINTRODUCTION, aALPHABET);
    Thanks.

    Thanks. I've got it now. I was mistakenly renaming itemIndex to each section...Introduction, Alphabet

  • HOW TO LINK PAGE IN TEMPLATE EDITABLE REGION

    Hi to all friends out there .I am new to this .I want to know how to link existing page or link in editable region of template.Please guide me.
    My template is ready but i do not know how to link existing pages in editable region of template.
    Every help is appreciated.if code also you can show me than it will be helpfull.
    Thanks in advance.

    Editable regions are for content that will change from page to page.
    Anything outside the editable regions will appear in all pages spawned from the Template.  This gives your site a consistent look.
    Ideally, you want to put common menus, headers, footers and sidebars into NON-EDITABLE regions, right?
    Open main Template (.dwt) file.
    Highlight menu item.
    On the properties panel there is a link field with a small folder icon next to it.
    Click the folder icon and browse to the site page.  Click OK.
    Repeat with additional links.  Save your main Template.dwt file and populate changes to child pages.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • 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

  • 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

  • Warn About Changes and page flow

    Hi, in dev guide, it is said:
    For any single page, or first page in a navigation flow where the retainAM URL parameter value is set to Y (and the pages share the same root UI application module) as you navigate between each page, set the Warn About Changes property to True on the pageLayout region.
    in other word, if pages in page flow are in the same AM, after changing am in the first page, anytime leave the following page to click the home link(oracle branding), the WarnAboutChanges msg should be alerted?
    But,
    Now I have two pages, using the same AM, set the two pages' property "Warn About Changes" to true.
    And I want to implement this: after inputing some words, and click a sunmitButton forward to pageB(add retainAM = Y in setForwardURL in code), then in pageB don't do anything, but click home link, WarnAboutChanges message does not alert.
    Could anyone help to explain this?
    And how to implement the page flow warnAboutChanges?
    And how root application module to set if different pages in different AMs?
    PreThanks to you very much!

    But,
    Now I have two pages, using the same AM, set the two pages' property "Warn About Changes" to true.
    And I want to implement this: after inputing some words, and click a sunmitButton forward to pageB(add retainAM = Y in setForwardURL in code), then in pageB don't do anything, but click home link, WarnAboutChanges message does not alert.
    Could anyone help to explain this?
    I asked u previously also read dev guide properly, here it what dev guide say:
    "By default, the Warn About Changes property is set to True for each of the items in this list except for the
    OASubmitButtonBean whose default value is False (a ccording to the UI guidelines, the "Warn About
    Changes" check should be performed for all submit button instances except for Cancel, Apply and Submit
    buttons). If you want to explicitly enable the check for a submit button, set this property to True. Note that can
    also set it programmatically by calling OASubmitButtonBean.setWarnAboutChanges(pageContext,
    Boolean.TRUE) in processRequest()."
    I hope this answers ur question.
    And how to implement the page flow warnAboutChanges?
    Read "Save Model ('Warn About Changes')" in dev guide :).And how root application module to set if different pages in different AMs?
    You can nest differnt AMs in on AM in AM wizard.--Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Calling Service Control from Page Flow

    In Workshop for Weblogic Platform v10.0, we have a web service control in a page flow.
    Although the web service call succeeds (as evidenced by a TcpMon monitor), the control method always returns null.
    I'm guessing that although the call looks synchronous, it's actually behaving asynchronously - returning immediately with null.
    Is this perhaps related to the particulars of calling controls from a Page Flow environment? Is it a bug in v10 of Workshop (Eclipse-based?
    Thanks for any ideas!
    - Rob
    ps: Here's the control interface and using class:
    package controls;
    import com.bea.control.ServiceControl;
    import org.apache.beehive.controls.api.events.EventSet;
    import org.apache.beehive.controls.api.bean.ControlExtension;
    @ServiceControl.Location(urls = {"http://LECAP1.lan.us.ray.com:9905/xsltTransform_vs0"})
    @ServiceControl.HttpSoapProtocol
    @ServiceControl.SOAPBinding(style = ServiceControl.SOAPBinding.Style.DOCUMENT, use = ServiceControl.SOAPBinding.Use.LITERAL, parameterStyle = ServiceControl.SOAPBinding.ParameterStyle.BARE)
    @ServiceControl.WSDL(resourcePath = "controls/cesXsltTransform.wsdl", service = "xsltTransform_vs0")
    @ControlExtension
    public interface xsltTransform_vs0ServiceControl extends ServiceControl
    static final long serialVersionUID = 1L;
    public java.lang.String xmlTransform(com.raytheon.schemas.ces.transformationservices.xmlschema.schema.TransformInput transformInput_arg);
    /** This event set interface provides support for the onAsyncFailure event.
    @EventSet(unicast=true)
    public interface Callback extends ServiceControl.Callback {};
    @Control
    private xsltTransform_vs0ServiceControl xsltTransform_vs0ServiceControl1;
    com.raytheon.schemas.ces.transformationservices.xmlschema.schema.TransformInput transformInput_arg = form
                        .getTransformInput_arg();
    String xmlTransformResult = xsltTransform_vs0ServiceControl1
                        .xmlTransform(transformInput_arg);

    Strange -- the PageFlowJspFilter adds no-cache headers to the response, so
    if you're forwarding to a JSP from the action, then the browser shouldn't be
    caching the result. What's in the URL bar in the case where your request is
    getting cached?
    "Neeraj Harlalka" <[email protected]> wrote in message
    news:3ff993bd$[email protected]..
    >
    Richard -
    Ok. I dug deeper into the issue and now my problem is that although theaction
    is getting called correctly, it seems to execute from a cache. The actiondoes
    not get executed the second time.
    Any ideas?
    Neeraj
    "Richard Feit" <[email protected]> wrote:
    Hmm... I'm not sure why you'd get that. Can you post the relevant JSP
    code?
    Also, are you able to hit the other page flow directly from a browser?
    Rich
    "Neeraj Harlalka" <[email protected]> wrote in message
    news:[email protected]..
    Hi Richard -
    I get an error saying cannot find the begin.do action.
    Thanks
    Neeraj
    Richard Feit" <[email protected]> wrote:
    Hello Neeraj,
    This should work:
    <netui:anchor
    href="/someOtherFlow/SomeOtherFlowController.jpf">someOtherFlowController.
    j
    p
    f</netui:anchor>
    What happens when you do this?
    Rich
    "Neeraj Harlalka" <[email protected]> wrote in message
    news:3fda39df$[email protected]..
    I read the other posts on how to call one page flow from a jsp
    that
    belongs to
    another pageflow. However the last suggestion posted - use the netuianchor tag
    with href, also does not work.
    Any other solution?
    Thanks
    Neeraj

Maybe you are looking for