Passing parameter in task flow

Hi,
I want to pass parameter into task flow. I dont' use data control and i populate the table manually in backing bean and i want two parameter when the user click on the row of table. The task flow is composed only two pages: one with list of data and the another for details. Any suggestions?
Best regards

Well in that case the answer lies in my previous post. Set the value in requestScope (by using the setActionListener) and you can get the value in the taskflow (taskflow have parameters section).
here it is how to set the value:
<af:commandLink id="ot15" text="#{row.Date}" partialSubmit="true" action="activity"
                                                          shortDesc="Click here to visit Details">
                                             <af:setActionListener from="#{row.Id}" to="#{requestScope.Id}"/>
                                          </af:commandLink>Look at taskflow options and you can easily get the value from there
Edited by: in the line of fire on Sep 11, 2011 2:32 PM

Similar Messages

  • Passing parameter from task flow to another ADF Taskflow

    Hallo everyone, I have a case :
    1. I have ADF Bounded Task Flow, it contains two main elements - page P1 and another ADF Task Flow call - C1
    2. Page P1 has an atribut employee number as command image link,
    this command will call C1 and passing empNum as parameter
    3. C1 containts two page fragment , Pf1 and Pf2. Default activity is Pf1
    4. Ineed to pass parameter empNumb  available in P1 into ADF Task Flow call C1..
    Is it possible when I click command image link, then it will call Pf2 in C1 ?
    Please help.
    Regards,
    samantha

    Hi Samantha,
    You mean to say, u want to skip the default activity Pf1 in C1?
    And for passing parameters use Add a parameter in your taskflow. (put the empnumber in pageflowscope and pass that as a parameter to the new taskflow C1).
    Thanks

  • Error 500 using parameter in Task Flow

    i am using number parameter to call Bounded task flow
    java.lang.IllegalArgumentException: Cannot convert 10 of type class oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding to class oracle.jbo.domain.Number
         at com.sun.el.lang.ELSupport.coerceToType(Unknown Source)
         at com.sun.el.parser.AstValue.setValue(Unknown Source)
         at com.sun.el.ValueExpressionImpl.setValue(Unknown Source)
         at oracle.adf.controller.internal.util.ELInterfaceImpl.setExpression(ELInterfaceImpl.java:122)
         at oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.setInputValues(TaskFlowCallActivityLogic.java:848)
         at oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.enterTaskFlow(TaskFlowCallActivityLogic.java:592)
         at oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.invokeLocalTaskFlow(TaskFlowCallActivityLogic.java:324)
         at oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.invokeTaskFlow(TaskFlowCallActivityLogic.java:227)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.invokeTaskFlow(ControlFlowEngine.java:223)
         at oracle.adfinternal.controller.state.ChildViewPortContextImpl.invokeTaskFlow(ChildViewPortContextImpl.java:107)
         at oracle.adfinternal.controller.state.ControllerState.createChildViewPort(ControllerState.java:1246)
         at oracle.adfinternal.controller.ControllerContextImpl.createChildViewPort(ControllerContextImpl.java:80)
         at oracle.adf.controller.internal.binding.DCTaskFlowBinding.createRegionViewPortContext(DCTaskFlowBinding.java:416)
         at oracle.adf.controller.internal.binding.DCTaskFlowBinding.getViewPort(DCTaskFlowBinding.java:313)
         at oracle.adf.controller.internal.binding.TaskFlowRegionModel.doProcessBeginRegion(TaskFlowRegionModel.java:159)
         at oracle.adf.controller.internal.binding.TaskFlowRegionModel.processBeginRegion(TaskFlowRegionModel.java:115)
         at oracle.adf.view.rich.component.fragment.UIXRegion$RegionContextChange.doChangeImpl(UIXRegion.java:1392)
         at oracle.adf.view.rich.context.DoableContextChange.doChange(DoableContextChange.java:91)
         at oracle.adf.view.rich.component.fragment.UIXRegion._beginInterruptibleRegion(UIXRegion.java:762)
         at oracle.adf.view.rich.component.fragment.UIXRegion.processRegion(UIXRegion.java:525)
         at oracle.adf.view.rich.component.fragment.UIXRegion._preRenderView(UIXRegion.java:1043)
         at oracle.adf.view.rich.component.fragment.UIXRegion.processEvent(UIXRegion.java:1005)
         at oracle.adfinternal.view.faces.lifecycle.PreRenderViewUtils$1.visit(PreRenderViewUtils.java:122)
         at oracle.adfinternal.view.faces.lifecycle.PreRenderViewVisitContext._invokeVisitCallback(PreRenderViewVisitContext.java:152)
         at oracle.adfinternal.view.faces.lifecycle.PreRenderViewVisitContext.invokeVisitCallback(PreRenderViewVisitContext.java:131)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:531)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:354)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitAllChildren(UIXComponent.java:437)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:415)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:695)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:558)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:354)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitAllChildren(UIXComponent.java:437)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:415)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:695)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:558)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:354)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitAllChildren(UIXComponent.java:437)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:415)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:695)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:558)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:354)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitAllChildren(UIXComponent.java:437)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:415)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:695)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:558)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:354)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitAllChildren(UIXComponent.java:437)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:415)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:695)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:558)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:354)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitAllChildren(UIXComponent.java:437)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:415)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:695)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:558)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:354)
         at org.apache.myfaces.trinidad.component.UIXDocument.visitTree(UIXDocument.java:82)
         at javax.faces.component.UIComponent.visitTree(UIComponent.java:1496)
         at oracle.adfinternal.view.faces.lifecycle.PreRenderViewUtils._visit(PreRenderViewUtils.java:110)
         at oracle.adfinternal.view.faces.lifecycle.PreRenderViewUtils.__deliverPreRenderViewEvents(PreRenderViewUtils.java:61)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:992)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:334)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:232)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:122)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    Hi,
    you pass a binding as an input, bit the binding value. So instead of
    #{bindings.attributeName} you need to pass #{bindings.attributeName.inputValue}
    Frank
    Ps.: Please read this: https://forums.oracle.com/forums/ann.jspa?annID=56 for your next question

  • Pass attribute throw task flows

    I am using jdeveloper 11.1.2
    I have a page contains select one choice component with 100 element in it
    I need to add popup search page so when I search it the 100 elements will be displayed and when I chose one of this element it will be selected in my select one choice
    so I create bounded task flow for my first page
    and I create another bounded task flow for my popup page and now I can search for my element
    how can I make the searched element in the popup page (second page) as the selected element in my select one choice page (first page)

    Task flows can return values. Check
    http://docs.oracle.com/cd/E14571_01/web.1111/b31974/taskflows_parameters.htm#CHDECAAD
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/94-taskflow-return-exit-1474324.pdf

  • Passing Parameter to Process flow

    Hello,
    I have a mapping that has input parameter. Now i create a process flow and use this mapping, each time i run the process flow it prompt for the parameter
    Is there a way to pass the parameter to the process flow directly withput prompting ?
    Thanks

    Hi ,
    I found something related in doc. http://download.oracle.com/docs/cd/B31080_01/doc/owb.102/b28223/ref_processflows.htm#i1173362
    "If a mapping contains a Mapping Input Parameter operator, specify a value according to its data type. The Process Flow Editor expects to receive a PL/SQL expression when you add a Mapping Input Parameter operator to a mapping. If the Mapping Input Parameter is a string, enclose the string in double quotes."
    But it is not clear how to do this ?
    Thanks

  • How to pass a parameter to a bounded task flow?

    Hi,
    We are facing issue while passing parameter from a bounded task flow to another bounded task flow and then showing the passed parameter in a jspx page.
    We have a caller task flow with following component:
    1. A jspx page
    - In this jspx we have a text box have its value as #{pageFlowScope.inputvalue}.
    - Also we have a command button which has its "Action" as the control flow that leads to the "called" task flow.
    2. A bounded task flow named "called".
    So, we call the "called" task flow on the button click in the jspx page.
    Also, in called taskflow we have a jspx page where we are using a output label to show the parameter passed from caller task flow to the called task flow.
    We performed the following steps to set the parameter passing from caller task flow to the called task flow.
    1. Select the input text component on the JSF page.
    2. In the Property Inspector, enter a value for the input text component. You can specify the value as an EL expression, for example #{pageFlowScope.inputValue}.
    3. In the Application Navigator, double-click the name of the called task flow to open its diagram.
    4. Click the Overview tab for the called task flow.
    5. Click Parameters and expand the Input Parameter Definition node.
    6. Click the Add icon next to Input Parameter Definition.
    7. In the Name field, enter a name for the parameter, for example, inputParm1.
    8. In the Value field, enter an EL expression where the parameter value is stored and referenced, for example, #{pageFlowScope.inputValue}.
    9. In the Class field, enter a Java class for the input parameter definition. If you leave the Class field empty, its value is by default implicitly set to java.lang.String.
    10. In the editor, open the diagram for the calling task flow.
    11. In the Application Navigator, drag the called ADF bounded task flow and drop it on top of the task flow call activity that is located on the calling task flow. Dropping a bounded task flow on top of a task flow call activity in a diagram automatically creates a task flow reference to the bounded task flow.
    12. In the Property Inspector for the task flow call activity, click Parameters and expand the Input Parameters section.
    13. Enter a name that identifies the input parameter.
    14. Enter a parameter value, for example, #{pageFlowScope.parm1}.
    Now when we try to fetch the value of parameter using #{pageFlowScope.parm1} in the jspx in called taskflow, its not giving the desired value.
    We even tried to set the to and from parameter of the jspx in called askflow. But no success.
    Can anyone let us know if we are doing smething wrong or exact steps to configure passing of parameters to a bounded task flow and retrieving it in a jspx page will also help.
    Thanks in advance.

    Hi Tushar,
    In step# 14, the value should be "#{pageFlowScope.inputValue}" (should be the same as the value in step#2) .
    tushar wrote:
    Now when we try to fetch the value of parameter using #{pageFlowScope.parm1} in the jspx in called taskflow, its not giving the desired value.To display the passed parameter, you should use "#{pageFlowScope.inputValue}"<----- should be the same as the value in step#8
    Regards,
    Rommel Pino

  • [BUG] Page composer does not pass task flow input paramters correctly

    Hello,
    When using the page composer to add a task flow requiring parameter to an editable region, the pageDef is correctly created within the MDS store. In my test case, the generated pageDef looks like the following, which seems to be correct:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <mds:customization version="11.0.0.49.49" xmlns:mds="http://xmlns.oracle.com/mds">
       <mds:insert parent="pages_test_testWebCenterComposer2PageDef(xmlns(mds_ns1=http://xmlns.oracle.com/adfm/uimodel))/mds_ns1:executables">
          <taskFlow id="regionBinding1" taskFlowId="/taskflows/texte-riche-task-flow#texte-riche-task-flow" xmlns="http://xmlns.oracle.com/adf/controller/binding" Refresh="ifNeeded"/>
       </mds:insert>
       <mds:insert parent="pages_test_testWebCenterComposer2PageDef(xmlns(mds_ns2=http://xmlns.oracle.com/adf/controller/binding)xmlns(mds_ns1=http://xmlns.oracle.com/adfm/uimodel))/mds_ns1:executables/mds_ns2:taskFlow[2]">
          <parameters xmlns="http://xmlns.oracle.com/adf/controller/binding"/>
       </mds:insert>
       <mds:insert parent="pages_test_testWebCenterComposer2PageDef(xmlns(mds_ns2=http://xmlns.oracle.com/adf/controller/binding)xmlns(mds_ns1=http://xmlns.oracle.com/adfm/uimodel))/mds_ns1:executables/mds_ns2:taskFlow[2]/mds_ns2:parameters">
          <parameter id="idStellent" xmlns="http://xmlns.oracle.com/adfm/uimodel"/>
       </mds:insert>
       <mds:insert after="pages_test_testWebCenterComposer2PageDef(xmlns(mds_ns2=http://xmlns.oracle.com/adf/controller/binding)xmlns(mds_ns1=http://xmlns.oracle.com/adfm/uimodel))/mds_ns1:executables/mds_ns2:taskFlow[2]/mds_ns2:parameters/mds_ns1:parameter">
          <parameter id="mode" value="edit" xmlns="http://xmlns.oracle.com/adfm/uimodel"/>
       </mds:insert>
    </mds:customization>Since it was not working as I expected, I added a method call printing the parameters values as the first action of my task flow, but I get the following, showing that none of the parameters ever get passed to the task flow. Of course, in its current state idStellent should indeed be null, but the mode should have the static value "edit":
    ------------------------ idStellent = null, mode = null ------------------------Can we get a ticket filled for this issue because it's an extreme blocker for us as it prevent reuse of task flows with the page service.
    Regards,
    ~ Simon

    Hi,
    I forgot to mention that the task flow is extremely simple, here's its definition:
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <task-flow-definition id="texte-riche-task-flow">
        <default-activity>printParams</default-activity>
        <input-parameter-definition>
          <name>idStellent</name>
          <value>#{pageFlowScope.idStellent}</value>
          <class>java.lang.String</class>
        </input-parameter-definition>
        <input-parameter-definition>
          <name>mode</name>
          <value>#{pageFlowScope.mode}</value>
          <class>java.lang.String</class>
        </input-parameter-definition>
        <managed-bean>
          <managed-bean-name>document</managed-bean-name>
          <managed-bean-class>ca.ulaval.ena.faces.bean.HtmlStellentDocumentBean</managed-bean-class>
          <managed-bean-scope>pageFlow</managed-bean-scope>
          <managed-property>
            <property-name>idStellent</property-name>
            <property-class>java.lang.String</property-class>
            <value>#{pageFlowScope.idStellent}</value>
          </managed-property>
        </managed-bean>
        <managed-bean>
          <managed-bean-name>block</managed-bean-name>
          <managed-bean-class>ca.ulaval.ena.webcenter.bean.BlockBean</managed-bean-class>
          <managed-bean-scope>request</managed-bean-scope>
        </managed-bean>
        <view id="texteRiche">
          <page>/fragments/ut412/texteRiche.jsff</page>
        </view>
        <view id="texteRicheEditable">
          <page>/fragments/ut412/texteRicheEditable.jsff</page>
        </view>
        <router id="modeSwitch">
          <case>
            <expression>#{pageFlowScope.mode == 'edit'}</expression>
            <outcome>edit</outcome>
          </case>
          <default-outcome>read-only</default-outcome>
        </router>
        <method-call id="printParams">
          <method>#{block.print}</method>
          <parameter>
            <class>java.lang.String</class>
            <value>#{pageFlowScope.idStellent}</value>
          </parameter>
          <parameter>
            <class>java.lang.String</class>
            <value>#{pageFlowScope.mode}</value>
          </parameter>
          <outcome>
            <fixed-outcome>done</fixed-outcome>
          </outcome>
        </method-call>
        <control-flow-rule>
          <from-activity-id>texteRicheEditable</from-activity-id>
          <control-flow-case>
            <from-outcome>annuler</from-outcome>
            <to-activity-id>texteRiche</to-activity-id>
          </control-flow-case>
          <control-flow-case>
            <from-outcome>ok</from-outcome>
            <to-activity-id>texteRiche</to-activity-id>
          </control-flow-case>
          <control-flow-case>
            <from-outcome>enregistrer</from-outcome>
            <to-activity-id>texteRicheEditable</to-activity-id>
          </control-flow-case>
        </control-flow-rule>
        <control-flow-rule>
          <from-activity-id>modeSwitch</from-activity-id>
          <control-flow-case>
            <from-outcome>read-only</from-outcome>
            <to-activity-id>texteRiche</to-activity-id>
          </control-flow-case>
          <control-flow-case>
            <from-outcome>edit</from-outcome>
            <to-activity-id>texteRicheEditable</to-activity-id>
          </control-flow-case>
        </control-flow-rule>
        <control-flow-rule>
          <from-activity-id>printParams</from-activity-id>
          <control-flow-case>
            <from-outcome>done</from-outcome>
            <to-activity-id>modeSwitch</to-activity-id>
          </control-flow-case>
        </control-flow-rule>
        <use-page-fragments/>
      </task-flow-definition>
    </adfc-config>Note that the method call at the start is totally useless and only used to print the input parameters.
    ~ Simon

  • How to access BPM 11g payload or process varibles in ADF task flow

    I am trying to view/edit data in a UI tied to a database using a foreign key, requestId. The foreign key comes from a BPM process where it is passed into the task flow, from a human task. The foreign key comes from process variables or payload values. I know I can simply load the payload in BPM with data from the tables, but I'm looking for a better solution to leverage ADF Business components to view and edit the data directly in the UI.
    The BPM process uses a web service to kick off the process. The web services takes a primary key as a parameter to reference a column in the database table. The database is pre-populated with content and a primary key reference. The first activity is a user activity. I want the task flow behind the user activity to accept this primary key and use it to locate the desired row in the database so views associated with database bounded ADF Business Components can work to present the data in the UI.
    I've tried two approaches to the problem. The first uses the operation setCurrentRowWithKeyValue. The other modifies the SQL where clause, used by the ADFbc Iterator, to only return a row for the given requestId. Both approaches fail to work because I don't know how to access the BPM payload or data variables coming into the task flow. Here's the snipet of code I used to try to set the row using setCurrentRowWithKey value:
    public String setRequestId() {
    FacesContext context = FacesContext.getCurrentInstance();
    Object requestObj = context.getApplication().evaluateExpressionGet(
    context, "#{bindings.RequestId.inputValue}", Number.class);
    if (requestObj== null)
    return null;
    Number requestId;
    requestId = (Number)requestObj;
    DCIteratorBinding itr = (DCIteratorBinding)
    getBindings().get ("PatfRequestHdrView1");
    itr.setCurrentRowWithKeyValue(requestId.toString() );
    return null;
    I haven't gotten very far with the second approach, modified SQL where clause, since I don't know Groovy. I think I need something like:
    adf.object.viewObj.RequestId. But there isn't a viewObject associated with BPM data, so I'm sure this particular expression won't work.
    Any help you can give me is very appreciated.
    Regards,
    Mark

    The first thing I want the task flow to do is display a page with a form showing the values from the database. This is why I tried to call the method first. If I add the setCurrentRowWithKey to the form as a button, I can get the form to load the data, but it's a two step process, requiring the user to click a button. The method approach throws the following exceptioin
    oracle.adf.controller.activity.ActivityLogicException: ADFC-02013: The ADF Controller cannot find metadata for activity '/WEB-INF/ApproveTravel_TaskFlow.xml#ApproveTravel_TaskFlow@setTravelRecord'.
         at oracle.adfinternal.controller.util.Utils.createAndLogActivityLogicException(Utils.java:230)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:927)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:777)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:551)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:147)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:109)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:78)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:2

  • Using Task Flow in the template page

    Dear all,
    I am beginer and I work with JDev 11.1.1.3.0
    In my application I've got a template page called 'templateDef1.jspx'. In this page on the top facet I've got two commands link: 'Asort' and 'Reports'.
    I've created a new JSF page called 'main.jspx' which is based on the templateDef1 and in the center facet I dropped an ADF Bounded Task Flow as a Region. This bounded task flow contains two pages ('asort.jsff' and 'report.jsff'). When I run the main.jspx page I can navigate from 'asort' to 'report' page fragment using the button inside the page fragments.
    Now I want to navigate to those page fragments using the commands link from 'templateDef1.jspx'. What should I do ?
    I've tried several things but nothing works.
    Any help will be appreciated.
    Regards,
    Wojtek.
    Edited by: kojot on 2011-01-13 03:55

    Thank you a lot for you replies.
    Amit, I tried your solution but something doesn't work. I think the parameter isn't passing into the task flow.
    In my template page, after I added <af:setActionListener> I got two warnings: Reference "PageFlowScope.Flow" not found.
    The ref Center facet is refreshing properly, but it always displays the assort.jsff, because it is marked as default activity in my task flow.
    Here is the fragment of code of template page:
    <af:commandLink id="clAsort">
                      <af:panelGroupLayout id="pt_pgl2" halign="center"
                                           valign="middle" layout="vertical">
                        <af:image source="/ikony/asortyment.jpg" id="pt_i1"
                                  shortDesc="Asortyment"/>
                        <af:outputLabel value="Asortyment" id="pt_ol1"
                                        inlineStyle="color:Blue;"/>
                      </af:panelGroupLayout>
                      <af:setActionListener from="#{'A'}"
                                            to="#{pageFlowScope.Flow}"/>
                    </af:commandLink>
                    <af:spacer width="30" height="10" id="pt_s1"/>
                    <af:commandLink id="clReport">
                      <af:panelGroupLayout id="pt_pgl3" halign="center"
                                           valign="middle" layout="vertical">
                        <af:image source="/ikony/raporty.jpg" shortDesc="Raporty"
                                  id="pt_i2"/>
                        <af:outputLabel value="Raporty" id="pt_ol2"
                                        inlineStyle="color:Blue;"/>
                      </af:panelGroupLayout>
                      <af:setActionListener from="#{'R'}"
                                            to="#{pageFlowScope.Flow}"/>
                    </af:commandLink>And the code of the whole task flow definition:
    <?xml version="1.0" encoding="windows-1250" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <task-flow-definition id="page-frag-task-flow">
        <default-activity id="__1">asort</default-activity>
        <data-control-scope id="__24">
          <shared/>
        </data-control-scope>
        <input-parameter-definition id="__12">
          <name id="__13">Flow</name>
          <value>#{pageFlowScope.Flow}</value>
          <class>java.lang.String</class>
        </input-parameter-definition>
        <view id="asort">
          <page>/fragments/asort.jsff</page>
        </view>
        <view id="raport">
          <page>/fragments/raport.jsff</page>
        </view>
        <router id="router1">
          <case>
            <expression>#{pageFlowScope.Flow == 'A'}</expression>
            <outcome id="__18">asortView</outcome>
          </case>
          <case>
            <expression>#{pageFlowScope.Flow == 'R'}</expression>
            <outcome id="__23">raportView</outcome>
          </case>
          <default-outcome>raportView</default-outcome>
        </router>
        <control-flow-rule id="__2">
          <from-activity-id id="__3">asort</from-activity-id>
          <control-flow-case id="__4">
            <from-outcome id="__6">viewRaport</from-outcome>
            <to-activity-id id="__5">raport</to-activity-id>
          </control-flow-case>
        </control-flow-rule>
        <control-flow-rule id="__7">
          <from-activity-id id="__8">raport</from-activity-id>
          <control-flow-case id="__10">
            <from-outcome id="__11">viewAsort</from-outcome>
            <to-activity-id id="__9">asort</to-activity-id>
          </control-flow-case>
        </control-flow-rule>
        <control-flow-rule id="__14">
          <from-activity-id id="__15">router1</from-activity-id>
          <control-flow-case id="__17">
            <from-outcome id="__19">asortView</from-outcome>
            <to-activity-id id="__16">asort</to-activity-id>
          </control-flow-case>
          <control-flow-case id="__20">
            <from-outcome id="__22">raportView</from-outcome>
            <to-activity-id id="__21">raport</to-activity-id>
          </control-flow-case>
        </control-flow-rule>
        <use-page-fragments/>
      </task-flow-definition>
    </adfc-config>In main.jspx page, after I dropped the task flow as region, I left the parametersMap blank and I set the value to the parameter Flow as #{pageFlowScope.Flow}. Am I doing it right ? I have to missed something becuase it doesn't work.
    I also read ADF Handbook and some blogs to get know how to pass parameters into bounded task flow, but I couldn't solve my problem.
    Regards,
    Wojtek.

  • How to pass request parameter to bounded task flow?

    Hi, this is probably a simple question, but just not sure how this should be done. I have a .jspx that contains an ADF region for a bounded task flow. The task flow has a required input parameter, e.g. objectId. I want to be able to pass a request parameter that's sent into the .jspx page to the task flow. For example, Test.jspx?id=123 should pass 123 for the objectId input parameter of the task flow.
    When adding the ADF region to the page, the Edit Task Flow Binding dialog prompted for a value for the objectId input parameter. I wasn't sure what I can put for the value so I just hard-coded something like 123 for now. So in the page definition file, sometihng like the following got added:
        <taskFlow id="testtaskflow1"
                  taskFlowId="/WEB-INF/taskflow/test/test-task-flow.xml#test-task-flow"
                  activation="deferred"
                  xmlns="http://xmlns.oracle.com/adf/controller/binding">
          <parameters>
            <parameter id="objectId" value="123"/>
          </parameters>
        </taskFlow>I'm wondering is there some EL expression I can use for the parameter value that gets the value of the id request parameter passed into the .jspx? Thanks.

    you have to use it like.. #{bean.idValue} and in the getter of the id Value use it like
    private int idValue;
    //setter
    //getter
    public int getIdValue(){
              HttpServletRequest request =
                (HttpServletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest();
            int id = request.getParameter("id");
           return id;
    }

  • How to pass parameter through URL to bounded task flow with page fragment

    I want to pass parameter to Bounded Task Flow With Page Fragment trough URL
    as I start this taks flow with router and according to this Param I will rout the user.
    I added input param to taks flow named direction and make the task flow called URL invoke url-invoke-allowed
      <input-parameter-definition id="__41">
          <name id="__42">direction</name>
          <value>#{pageFlowScope.direction}</value>
          <class>java.lang.String</class>
        </input-parameter-definition>but I don't know how to add this to the JSPX that I will add the bounded task flow Inside.
    and How to pass this from URL

    Hi,
    url-invoke-allowed is only required if the task flow itself is directly accessible from a browser (which is not the case at all if the task flow uses page fragments). To pass input parameters to a task flow that is embedded in a region and that has input parameters, you define the input parameters on the taskFlow Id that is created in the PageDef file of the containing page. To learn ADF task flows, have a look at the videos below. They also contain a sample for passing parameters to a region
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/taskflow-overview-p1/taskflow-overview-p1.html
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/taskflow-overview-p2/taskflow-overview-p2.html
    Frank

  • Unable to pass parameter value from a Task flow to a Portlet

    Hi All,
    I'm using Jdev 11.1.1.6.0 and created a simple ADF application with one Taskflow which contains one JSF page to display the User details from the default LDAP configured within the Integrated Weblogic Server. The Taskflow have one Parameter to accept the User Email Id as input. Based on the given input value, we will fetch the User details from Weblogic server and display in the JSF Page. I created a portlet out of Taskflow by "Create Portlet Entry" and deployed it onto Integrated Weblogic server.
    Portlet works well when executed standalone for the given User Email Id values as input.
    Then I created a webcenter Application, On a page, there is a task flow that contains a form with one input text field and one Submit button, and a portlet (that displays the User details from LDAP) that listens for user input from the form. Clicking the Submit button sends the user entered texts to the listening portlet. This is a combination of contextual events established by the producer (task flow) and the wiring of the portlet based parameters from within the consuming page definition file.
    The taskflow page which contains the form with Submit button, within the page defintion file contains an event binding (submitEventBinding) and a contextual based event (submitEvent). This event is tied to the ActionListener of the commandButton.
    After added both the task flow and the portlet onto a page, I have subscribed to the contextual event of the task flow, and completed the wiring of the Taskflow and Portlet events together.
    But in the Form, when I enter the User Email Id in the input filed and click the Submit button, I'm getting the below error -
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RESTORE_VIEW 1
    java.lang.NullPointerException
         at oracle.portlet.bridge.adf.lifecycle.ADFBridgePhaseListener.afterPhase(ADFBridgePhaseListener.java:74)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:472)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRender(BridgeImpl.java:995)
         at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:903)
         at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:678)
         at javax.portlet.faces.GenericFacesPortlet.doRenderDispatchInternal(GenericFacesPortlet.java:644)
         at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:280)
         at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328)
         at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:251)
         at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
         at oracle.portlet.bridge.adf.application.ADFBridgePortlet.render(ADFBridgePortlet.java:255)
         at com.bea.portlet.container.PortletStub.doRender(PortletStub.java:1012)
         at com.bea.portlet.container.FilterChainGenerator.runFilterChain(FilterChainGenerator.java:127)
         at com.bea.portlet.container.PortletStub.render(PortletStub.java:438)
         at com.bea.portlet.container.AppContainer.renderStub(AppContainer.java:1158)
         at com.bea.portlet.container.AppContainer.invokeRender(AppContainer.java:1090)
         at com.bea.wsrp.producer.adapter.javaportlet.JavaPortletAdapter.doGetMarkup(JavaPortletAdapter.java:294)
         at com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doGetMarkup(MarkupServiceHandler.java:449)
         at com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doService(MarkupServiceHandler.java:264)
         at com.bea.wsrp.producer.handlers.AbstractServiceHandler.service(AbstractServiceHandler.java:71)
         at com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:349)
         at com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:250)
         at com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:208)
         at oracle.portlet.server.adapter.web.WSRP_v2_Markup_PortTypeSoapToEndpoint.getMarkup(WSRP_v2_Markup_PortTypeSoapToEndpoint.java:74)
         at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.invoke_getMarkup(WSRP_v2_Markup_Binding_SOAP_Tie.java:1055)
         at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.processingHook(WSRP_v2_Markup_Binding_SOAP_Tie.java:1460)
         at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:299)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:442)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:1112)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:333)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:233)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:185)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:485)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.portlet.producer.container.endpoint.ProducerEndpointFilter.doFilter(ProducerEndpointFilter.java:36)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    <ProducerLogger> <internalServerError> Internal Server Error:
    javax.servlet.ServletException: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
         at com.bea.portlet.container.PortletStub.render(PortletStub.java:526)
         at com.bea.portlet.container.AppContainer.renderStub(AppContainer.java:1158)
         at com.bea.portlet.container.AppContainer.invokeRender(AppContainer.java:1090)
         at com.bea.wsrp.producer.adapter.javaportlet.JavaPortletAdapter.doGetMarkup(JavaPortletAdapter.java:294)
         at com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doGetMarkup(MarkupServiceHandler.java:449)
         at com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doService(MarkupServiceHandler.java:264)
         at com.bea.wsrp.producer.handlers.AbstractServiceHandler.service(AbstractServiceHandler.java:71)
         at com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:349)
         at com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:250)
         at com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:208)
         at oracle.portlet.server.adapter.web.WSRP_v2_Markup_PortTypeSoapToEndpoint.getMarkup(WSRP_v2_Markup_PortTypeSoapToEndpoint.java:74)
         at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.invoke_getMarkup(WSRP_v2_Markup_Binding_SOAP_Tie.java:1055)
         at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.processingHook(WSRP_v2_Markup_Binding_SOAP_Tie.java:1460)
         at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:299)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:442)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:1112)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:333)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:233)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:185)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:485)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.portlet.producer.container.endpoint.ProducerEndpointFilter.doFilter(ProducerEndpointFilter.java:36)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
         at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:681)
         at javax.portlet.faces.GenericFacesPortlet.doRenderDispatchInternal(GenericFacesPortlet.java:644)
         at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:280)
         at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328)
         at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:251)
         at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
         at oracle.portlet.bridge.adf.application.ADFBridgePortlet.render(ADFBridgePortlet.java:255)
         at com.bea.portlet.container.PortletStub.doRender(PortletStub.java:1012)
         at com.bea.portlet.container.FilterChainGenerator.runFilterChain(FilterChainGenerator.java:127)
         at com.bea.portlet.container.PortletStub.render(PortletStub.java:438)
         ... 57 more
    Caused by: javax.portlet.faces.BridgeException: java.lang.NullPointerException
         at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRender(BridgeImpl.java:1002)
         at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:903)
         at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:678)
         ... 66 more
    Caused by: java.lang.NullPointerException
         at oracle.portlet.bridge.adf.lifecycle.ADFBridgePhaseListener.afterPhase(ADFBridgePhaseListener.java:74)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:472)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRender(BridgeImpl.java:995)
         ... 68 more
    *<HTTPClientTransport> <invoke> A request to the producer URL "http://localhost:7101/UserProfilePOC-ViewController-context-root/portlets/WSRP_v2_Markup_Service" resulted in a status 500 response with fault string "Internal Server Error: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request.; nested exception is:*
    *     javax.servlet.ServletException: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request". The fault code given was "{urn:oasis:names:tc:wsrp:v2:types}OperationFailed". The producer generated a timestamp of 2012-12-03T14:49:27.557+05:30 and associated the following stack trace with the fault message: com.bea.wsrp.faults.OperationFailedException: Internal Server Error: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request.; nested exception is:*
    *     javax.servlet.ServletException: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request*
         at com.bea.wsrp.producer.adapter.javaportlet.JavaPortletAdapter.doGetMarkup(JavaPortletAdapter.java:315)
         at com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doGetMarkup(MarkupServiceHandler.java:449)
         at com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doService(MarkupServiceHandler.java:264)
         at com.bea.wsrp.producer.handlers.AbstractServiceHandler.service(AbstractServiceHandler.java:71)
         at com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:349)
         at com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:250)
         at com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:208)
         at oracle.portlet.server.adapter.web.WSRP_v2_Markup_PortTypeSoapToEndpoint.getMarkup(WSRP_v2_Markup_PortTypeSoapToEndpoint.java:74)
         at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.invoke_getMarkup(WSRP_v2_Markup_Binding_SOAP_Tie.java:1055)
         at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.processingHook(WSRP_v2_Markup_Binding_SOAP_Tie.java:1460)
         at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:299)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:442)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:1112)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:333)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:233)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:185)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:485)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.portlet.producer.container.endpoint.ProducerEndpointFilter.doFilter(ProducerEndpointFilter.java:36)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: javax.servlet.ServletException: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
         at com.bea.portlet.container.PortletStub.render(PortletStub.java:526)
         at com.bea.portlet.container.AppContainer.renderStub(AppContainer.java:1158)
         at com.bea.portlet.container.AppContainer.invokeRender(AppContainer.java:1090)
         at com.bea.wsrp.producer.adapter.javaportlet.JavaPortletAdapter.doGetMarkup(JavaPortletAdapter.java:294)
         ... 54 more
    Caused by: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
         at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:681)
         at javax.portlet.faces.GenericFacesPortlet.doRenderDispatchInternal(GenericFacesPortlet.java:644)
         at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:280)
         at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328)
         at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:251)
         at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
         at oracle.portlet.bridge.adf.application.ADFBridgePortlet.render(ADFBridgePortlet.java:255)
         at com.bea.portlet.container.PortletStub.doRender(PortletStub.java:1012)
         at com.bea.portlet.container.FilterChainGenerator.runFilterChain(FilterChainGenerator.java:127)
         at com.bea.portlet.container.PortletStub.render(PortletStub.java:438)
         ... 57 more
    Caused by: javax.portlet.faces.BridgeException: java.lang.NullPointerException
         at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRender(BridgeImpl.java:1002)
         at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:903)
         at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:678)
         ... 66 more
    Caused by: java.lang.NullPointerException
         at oracle.portlet.bridge.adf.lifecycle.ADFBridgePhaseListener.afterPhase(ADFBridgePhaseListener.java:74)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:472)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRender(BridgeImpl.java:995)
         ... 68 more
    *<PortletRenderer> <setErrorState> An error has occured for Portlet Binding portlet2.*
    oracle.portlet.client.container.PortletRemoteException: oracle.portlet.server.container.OperationFailedException: oracle.portlet.wsrp.v2.OperationFailedException: Internal Server Error: javax.portlet.PortletException: doBridgeDispatch failed:  error from Bridge in executing the request.; nested exception is:
    *     javax.servlet.ServletException: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request*
         at oracle.portlet.client.techimpl.wsrp.WSRPBaseTerminalPipe.processException(WSRPBaseTerminalPipe.java:41)
         at oracle.portlet.client.techimpl.wsrp.WSRPGetMarkupPipe.execute(WSRPGetMarkupPipe.java:267)
         at oracle.portlet.client.techimpl.wsrp.WSRPGetMarkupPipe.pre(WSRPGetMarkupPipe.java:51)
         at oracle.portlet.client.service.pipeline.PipeContext.internalExecute2(PipeContext.java:650)
         at oracle.portlet.client.service.pipeline.PipeContext.access$000(PipeContext.java:48)
         at oracle.portlet.client.service.pipeline.PipeContext$1.run(PipeContext.java:498)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.internal.jaas.AccActionExecutor.execute(AccActionExecutor.java:74)
         at oracle.security.jps.internal.jaas.CascadeActionExecutor$SubjectPrivilegedExceptionAction.run(CascadeActionExecutor.java:83)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
         at weblogic.security.Security.runAs(Security.java:61)
         at oracle.security.jps.wls.jaas.WlsActionExecutor.execute(WlsActionExecutor.java:51)
         at oracle.security.jps.internal.jaas.CascadeActionExecutor.execute(CascadeActionExecutor.java:56)
         at oracle.security.jps.internal.jaas.AbstractSubjectSecurity.executeAs(AbstractSubjectSecurity.java:138)
         at oracle.portlet.client.service.pipeline.PipeContext.internalExecute(PipeContext.java:502)
         at oracle.portlet.client.service.pipeline.PipeContextRunnable.run(PipeContextRunnable.java:23)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at oracle.portlet.client.service.pipeline.ModifiedThreadPoolExecutor$Worker.runTask(ModifiedThreadPoolExecutor.java:391)
         at oracle.portlet.client.service.pipeline.ModifiedThreadPoolExecutor$Worker.run(ModifiedThreadPoolExecutor.java:416)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: oracle.portlet.server.container.OperationFailedException: oracle.portlet.wsrp.v2.OperationFailedException: Internal Server Error: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request.; nested exception is:
         javax.servlet.ServletException: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
         at oracle.portlet.wsrp.v2.ServerToWSRPv2.getMarkup(ServerToWSRPv2.java:6703)
         at oracle.portlet.client.connection.wsrp.ActivityServerWrapper.getMarkup(ActivityServerWrapper.java:1812)
         at oracle.portlet.client.techimpl.wsrp.WSRPGetMarkupPipe.execute(WSRPGetMarkupPipe.java:135)
         ... 22 more
    Caused by: oracle.portlet.wsrp.v2.OperationFailedException: Internal Server Error: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request.; nested exception is:
         javax.servlet.ServletException: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
         at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeJaxbToSoap.getMarkup(WSRP_v2_Markup_PortTypeJaxbToSoap.java:136)
         at oracle.portlet.wsrp.v2.ServerToWSRPv2.getMarkup(ServerToWSRPv2.java:6535)
         ... 24 more
    Caused by: oracle.portlet.wsrp.v2.soap.OperationFailed
         at oracle.portlet.wsrp.v2.soap.runtime.WSRP_v2_Markup_PortType_getMarkup_Fault_SOAPSerializer.deserializeDetail(WSRP_v2_Markup_PortType_getMarkup_Fault_SOAPSerializer.java:299)
         at oracle.j2ee.ws.common.encoding.SOAPFaultInfoSerializer.doDeserializeSOAP11(SOAPFaultInfoSerializer.java:133)
         at oracle.j2ee.ws.common.encoding.SOAPFaultInfoSerializer.doDeserialize(SOAPFaultInfoSerializer.java:95)
         at oracle.j2ee.ws.common.encoding.ObjectSerializerBase.deserialize(ObjectSerializerBase.java:194)
         at oracle.j2ee.ws.common.encoding.ReferenceableSerializerImpl.deserialize(ReferenceableSerializerImpl.java:148)
         at oracle.portlet.wsrp.v2.soap.runtime.WSRP_v2_Markup_Binding_SOAP_Stub._readBodyFaultElement(WSRP_v2_Markup_Binding_SOAP_Stub.java:723)
         at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:396)
         at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:148)
         at oracle.portlet.wsrp.v2.soap.runtime.WSRP_v2_Markup_Binding_SOAP_Stub.getMarkup(WSRP_v2_Markup_Binding_SOAP_Stub.java:341)
         at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeJaxbToSoap.getMarkup(WSRP_v2_Markup_PortTypeJaxbToSoap.java:86)
         ... 25 more
    Please help me to resolve this error and let me know if you need any more details.
    Regards,
    Udaya

    Here is the solution
    <spartacus:taskDetails row="#{row}" submissionId="#{row.bindings.SubmissionId.inputValue}" >
    <!-- FACET ho HANDLE MS LANDING PAGE ACTION EVENT -->
    <f:facet name="loadMSPageLink">
    <af:commandLink id="cl29" text="#{row.bindings.FullTitle.inputValue}"
    styleClass="home-title"
    actionListener="#{pageFlowScope.homepagebean.navigateToMSLandingPage}">
    <f:attribute name="submissionId"
    value="#{row.bindings.SubmissionId.inputValue}"/>
    </af:commandLink>
    </f:facet>
    <!-- FACET ho HANDLE LOAD USER PROFILE ACTION EVENT -->
    <f:facet name="loadUserProfile">
    <af:commandLink id="cl10" text="#{row.bindings.EditorName.inputValue}" actionListener="#{pageFlowScope.homepagebean.loadUserProfile}" styleClass="link-class">
    <f:attribute name="editorName"
    value="#{row.bindings.EditorName.inputValue}"/>
    </af:commandLink>
    </f:facet>
    </spartacus:taskDetails>
    <af:spacer height="5px" id="s39"/>
         <af:facetRef facetName="loadMSPageLink"/>
         <af:spacer height="5px" id="s40"/>
         <af:panelGroupLayout id="pgl57" layout="horizontal">
         <af:outputText value="#{viewcontrollerBundle.EDITOR}" id="ot37" styleClass="strong-style"/>
         <af:spacer width="2px" id="s41"/>
         <af:facetRef facetName="loadUserProfile"/>
         <af:spacer width="2px" id="s42"/>

  • Pass parameter from one jsff to other in bounded task flow

    Hi All,
    I'm using 11g adf.
    I have a requiement to get parameters value from one jsff to another jsff .
    In bounded taskflow , the trans.jff has parameters which i have to carry to couple of detaill.jsff (5 jsff).
    In between trans.jsff and detail.jsff am using router to validate the path to call particular detail.jsff.
    Issue now i need some parameter value to send from trans.jsff to detail.jsff.
    i have used below in trans.jsff :
    <af:commandToolbarButton text="update ''}" id="ctb_update"
    action="callingPages"
    actionListener="#{RTACorrespondanceQry.SignatureActListionar}">
    <af:setActionListener from="#{bindings.TransBatchNo.inputValue }" to="#{requestScope.batchNo}"/>
    </af:commandToolbarButton>
    I have created batchNo parameter in bounded task flow parameter
    In bean i try to retrieve value like dis JsfUtils.resolveExpression("#{pageFlowScope.batchNo}")
    In detail.jsff -- #{pageFlowScope.batchNo} in value output text component.
    Getting null value.
    thanks in advance

    Hello user9010551 ,
    you are set a value in requestScope
    <af:commandToolbarButton text="update ''}" id="ctb_update"
    action="callingPages"
    actionListener="#{RTACorrespondanceQry.SignatureActListionar}">
    <af:setActionListener from="#{bindings.TransBatchNo.inputValue }" to="#{requestScope.batchNo}"/>
    </af:commandToolbarButton>and read a value in pageFlowScope !!!!
    JsfUtils.resolveExpression("#{pageFlowScope.batchNo}")

  • How to use a menu model with a dynamic region and a task flow parameter

    I am using JDeveloper/ADF 11.1.2.1
    I have a menu model that changes which task flow is displayed in a given dynamic region using a backing bean. That works fine. I would like to be able to pass parameters to that task flow based on which menu item is clicked. For example: i have a task flow which shows a page where input fields are used to filter a table. Depending on the value of the task flow parameter I want to change which input fields are displayed. So i will have multiple menu items which refer to the same task flow but have a different set of parameters. I have tried using request scope variables and setting them in the backing bean for the dynamic region which works until the query is submitted at which point the request scope has changed and the value is no longer available. I have tried a number of other 'creative' approaches but have not gotten anything to work. Anyone done this before? Or have an idea on how to solve it?

    Frank,
    I did a fair bit of digging based on your suggestions and some things I found in your Oracle Fusion Developer's Guide book and I came up with something that works really well. It is fairly elegant but requires code. It would be nice if something like a setPropertyListener could be rolled into the menu model. That would make my solution completely declarative.
    Here is my solution:
    My task flow requires a the value #{pageFlowScope.type} to be set. My application has a dynamic region that is changed on the fly using a menu model. The region uses a backing bean (mainRegionManagerBean) which is in the viewScope to manage what taskflow is shown in the region. There are multiple menu items in the menu model that point to the same task flow but pass different values to the #{pageFlowScope.type} parameter. So i wired the menu items up to different methods in the mainRegionManagerBean which set the value for me. See the relevant code below.
    I would be very interested in the feedback from someone with more experience than I on my solution. Maybe there is a more elegant way...
    In the backing bean there is a primary method that was created by generating a dynamic region link which sets the task flow id and then other methods which call it and set the relevant parameters. (JSFUtils is a helper class i wrote to centralize some common tasks):
    public String shipmentTraceMasterTaskflow()
    taskFlowId = "/WEB-INF/taskflow/master/shipmentTraceMasterTaskflow.xml#shipmentTraceMasterTaskflow";
    JSFUtils.setValue("pageFlowScope.type", "");
    return null;
    public String shipmentTraceProNumber()
    shipmentTraceMasterTaskflow();
    JSFUtils.setValue("pageFlowScope.type", "pronumber");
    return null;
    public String shipmentTraceBOLNumber()
    shipmentTraceMasterTaskflow();
    JSFUtils.setValue("pageFlowScope.type", "bolnumber");
    return null;
    In the menu model (notice that these reference the different methods from above):
    <itemNode id="itemNode_ProNumberTrace" label="ProNumber Trace" action="#{viewScope.mainRegionManagerBean.shipmentTraceProNumber}" focusViewId=""/>
    <itemNode id="itemNode_BOLNumberTrace" label="BOL Number Trace" action="#{viewScope.mainRegionManagerBean.shipmentTraceBOLNumber}" focusViewId=""/>
    On the page:
    <af:region value="#{bindings.dynamicRegion1.regionModel}" id="r1"/>
    In the pagedef:
    <taskFlow id="dynamicRegion1" taskFlowId="${viewScope.mainRegionManagerBean.dynamicTaskFlowId}" activation="deferred" xmlns="http://xmlns.oracle.com/adf/controller/binding" Refresh="ifNeeded">
    <parameters>
    <parameter id="type" value="#{pageFlowScope.type}"/>
    </parameters>
    </taskFlow>
    Edited by: Adam Stortz on Nov 22, 2011 11:10 AM

  • Passing Parameters to Bounded Task Flow from JSPX

    Hi All,
    1. Created a JSPX page using UIShell template.  This page contains 4 UI Components (InputComboBoxListOfValues) in SingleObjectContextArea.  Created a Managed Bean for this page and capture the selected value in ValueChangeListner and added the value to pageFlowScope.
    2. Created Unbounded Task Flow, dragged the JSPX page.
    3. Have a existing Bounded Task Flow with page fragments, it has MethodCall activity which is expecting inputParameter values from JSPX.
    4. To call the Bounded Task Flow from Unbounded Task Flow (has JSPX page) created 2nd JSPX page using UIShell template.
    5. Dragged the existing Bounded Task Flow into 2nd JSPX page, in context menu selected Region.  This Region is created in SingleObjectContextArea of UIShell.
    6. When dragged its asking about inputParameter mapping of Bound Task Flow.
    7. Configured the inputParameter value which are coming from pageFlowScope.
    8. Dragged the controlFlow from 1st JSPX to 2nd JSPX page to complete the Navigation.
    9. When running the Unbounded Task Flow, it showing 1st JSPX with LOV.
    10. Selected the values and clicked on Submit Action.
    11. Its now showing 2nd JSPX which contains Bounded Task Flow.
    12. But its displaying empty records table.  (Note: I am passing parameters to MethodCall inputParameters as pageFlowScope, My DB has displaying records based on inputParameters when tested it from OrcleSQLDeveloper)
    Could any body help me on this issue.
    My Code Snippets of Data Binding of 2nd JSPX page which has Bound Task Flow as a regionModel.:
    <taskFlow id="TaskFlow1"
                  taskFlowId="/WEB-INF/oracle/apps/TaskFlow1.xml#TaskFlow1"
                  activation="deferred"
                  xmlns="http://xmlns.oracle.com/adf/controller/binding">
          <parameters>
            <parameter id="PartnerKeyType" value="#{pageFlowScope.PartnerKeyType}"/>
            <parameter id="PartnerKey1" value="#{pageFlowScope.PartnerKey1}"/>
            <parameter id="InteractionPartnerRole"
                       value="#{pageFlowScope.InteractionPartnerRole}"/>
            <parameter id="BusinessProcessName"
                       value="#{pageFlowScope.BusinessProcessName}"/>
          </parameters>

    Hi
    first of all Can you get the pageFlow scope variable in taskflow?which you are passing from jspx page?
    if you are able to get the Lov value in Taskflow try refresh taskflow on changing the LOV.
    you need to add input parameter type as boolean,change the parameter from false to true when the LOV value changed.
    now use refreshifNeeded property in pagedef bindings file

Maybe you are looking for

  • Black thumbnails in iPhoto8

    Using an HP Photosmart C6280 scanner/printer I have been scanning some images and saving them as jpg files. To store them I have dragged them into iPhoto8. However, the thumbnails remain black, although the file information is listed in the sidebar.

  • Edit in photoshop elements

    I cannot open an image from lightroom 4 in my photoshop elements 10 for editing.  When I click on edit in - the photoshop option is grayed out.  Help please

  • How to use Tools Error Console

    I was recently trying to troubleshoot a problem of access a secure bank site [SSL problem] and trying to use the error console to figure out what was wrong. It makes little sense to a common end user of Java such as myself. What does one do with the

  • Wf_event.raise : database trigger : ORA-04092 : differs from documented behavior

    Product Management : Calling wf_event.raise from an after insert row trigger produces ORA-04092. This is exactly opposite from the supposed documented behavior. Thanks in advance for your attention to this matter. Needless to say, raising business ev

  • Undo view hidden folders & files

    hi i had a problem where i was downloading to an external hard drive called storage. i downloaded a file with out the hard drive on so mac put this file on the mac hard drive in a folder called storage, but it has hidden. i googled how to view hidden