How to pass attribute values after ExecuteWithParam to the method call

Hello

I use Jdev 11.1.1.6.

My use case, is that I have mainPage BTF which has ExecuteWithParam as the default activity. It filters the VO using params. I have a requirement to store some of the attributes of current line to pageFlowScope which must be sent to several taskflows child.
I present a method call after the ExecuteWithParam event and before the page is rendered but do not know how should I pass the current line (or something) in this method call to store values on pageFlowScope.

What should I switch to this bean managed to store values on pageFlowScope? Is there an alternative?

Thank you
JAI

I see two possible ways to get to the attributes. First of all, you can get the iterator current rank and get attributes here. Secondly, add you links attribute in the file pageDef methods for all attributes that you are interested in. Then you access it by using the attribute binding. I never tested the 2nd method, but I guess that the framework will fill the attribute links, as it does in a normal page.

Sorry, can't give you enjoy this code adds that I'm not in front of a PC.

Timo

Tags: Java

Similar Questions

  • How to pass multiple values of payload through the contextual event - jdev 11.1.2.3

    Hello:

    How to configure contextual events publish several values of payload?

    On click of a button, I'm declaritively publish a contextual event, which works very well when a single value is passed to the event handler.

    My event handler method has the signature of:
    eventHandler (String)

    But now I also have an oracle.jbo.domain.Number, so my new eventHandler looks like this:
    eventHandler (Number, String)

    How to pass two values during editing of the event and how to place the payload with multiple values for the new eventHandler?

    All article or code would be greatly appreciated.

    Thanks for the help.

    You define a bean holding your values and pass an instance of the bean as a payload...

    Timo

  • How to navigate to the next page based on the value returned by the method call inside the action attribute of the command key.

    How to navigate to the next page based on the value returned by the method call inside the action attribute of the command key.

    I use JDeveloper 12.1.2.0.0

    < af:button id = "tt_b2".

    rendered = "#{attrs.nextRendered} '"

    partialSubmit = 'true '.

    action = "#{attrs.backingBean.nextAction} '"

    Text = "next".

    Disabled = "#{attrs.nextDisabled}" / >

    private static final String NEXT_NAVIGATION_ACTION = "controllerContext.currentViewPort.taskFlowContext.trainModel.getNext";

    public String nextAction() {}

    If (validate()) {}

    updateModel();

    Return NEXT_NAVIGATION_ACTION;

    }

    Returns a null value.

    }

    Use case is made for model train, which is being implemented based on this blog: http://javacollectibles.blogspot.co.UK/2014/10/ADF-train-template.html

    We define a generic action following in the model, but the action must be called under certain conditions, based on the question of whether all validation controls had been passed on no.

    You can do this in two ways:

    1 returnValue = (String) ADFUtils.invokeEL("#{controllerContext.currentViewPort.taskFlowContext.trainModel.getNext}");

    return returnValue;

    2.

    public String getNextTrainStop() {}

    String nextStopAction = null;

    ControllerContext controllerContext = ControllerContext.getInstance ();

    ViewPortContext currentViewPortCtx = controllerContext.getCurrentViewPort ();

    TaskFlowContext taskFlowCtx = currentViewPortCtx.getTaskFlowContext ();

    TaskFlowTrainModel taskFlowTrainModel = taskFlowCtx.getTaskFlowTrainModel ();

    TaskFlowTrainStopModel currentStop = taskFlowTrainModel.getCurrentStop ();

    Terminus of TaskFlowTrainStopModel = taskFlowTrainModel.getNextStop (currentStop);

    nextStopAction = nextStop.getOutcome ();

    _logger.fine ("train, next stop:"+ nextStopAction ");

    Return nextStopAction;

    }

  • How to remove a schema after having connected the expdp session

    Dear Experts,

    How to remove a schema after you connect the expdp session?

    I'm not able to reach a work

    
    [oracle@orcl28 ~]$ expdp system/****  attach=SYS_EXPORT_SCHEMA_01
    
    
    Export: Release 12.1.0.1.0 - Production on Mon Jan 18 02:23:26 2016
    
    
    Copyright (c) 1982, 2013, Oracle and/or its affiliates.  All rights reserved.
    
    
    Connected to: Oracle Database 12c Release 12.1.0.1.0 - 64bit Production
    ORA-39002: invalid operation
    ORA-39000: bad dump file specification
    ORA-31640: unable to open dump file "/home/oracle/datapump/UREPJ.dmp" for read
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    

    You have this table in the schema of SYSTEM-SYS_EXPORT_SCHEMA_01?

    Delete this table, and then try again.

    Aman...

  • How to eject a disc after download in the new lightroom?

    Am I missing something or is part of this feature? How to eject a disc after download in the new lightroom?

    There will be an another upcoming update for Lightroom, where import old windows will be restored and eject option was part of it.

    So we can just wait for the next version of the eject option restores also as well as the import window.

    Really, thank you for patience on this and apologize for the inconvenience caused to you.

    Thank you

    ~ Mohit

  • How to pass a value of text to another page?

    If you have a text input and a button to the page 1 how to make that value available on page 2 after clicking on the button. I created a flow of the page by clicking on the button brings me to page 2 but not sure where you get the value of input text that was on page 1.

    Thank you.

    As you can see in the code I added an inputText and a CommandButton on page1.
    I use setActionListener to pass the value of page1 page2 declaratively.
    In faces config, I created a stream of page 1 to page 2. The value 'of result' as the action attribute of the commandButton control.
    I created with an outputText page2.
    Everything you enter in page1 should appear in page 2 when you click on the CommandButton.
    Yet, you can't make it out, let me know your email id, I will send you the sample application.

  • How to pass variable separated by commas in the bind value of VOquery?

    Version 11.1.1.3.0
    The guys need to help you on this

    I have a VO with query somethg as below

    SELECT *.
    FROM a schema. Table-name
    WHERE (: Bind_Varible has the value null or Column_Name IN (: Bind_Varible))

    User will be be select several values of the screen and I need to pass these value above bind variable.
    But in the variable binding ADF take everything as a single string, then, how can I pass values separated by commas?

    As SELECT *.
    FROM a schema. Table-name
    WHERE (: Bind_Varible has the value null or Column_Name IN (99,55))

    Thank you
    Any help will be appreciated

    I put mine up in this way, my binding variable is a list of values separated by commas, that is to say ("A, B, C, D") (I have a select that many shuttle) then I used a regexp substr to turn them into a list

     WHERE    :Bind_Batch_NM_Comma_Sep_List IS NULL
             OR batch_nm IN
                   (    SELECT REGEXP_SUBSTR (:Bind_Batch_NM_Comma_Sep_List,
                                              '[^,]+',
                                              1,
                                              LEVEL)
                                  batch_nm
                          FROM DUAL
                    CONNECT BY LEVEL <=
                                    REGEXP_COUNT (:Bind_Batch_NM_Comma_Sep_List,
                                                  ',')
                                  + 1)
    

    Published by: pollywog on September 18, 2012 16:07

  • How to pass a value LOV to where clause of another LOV

    Hello

    I have the two LOV project and activity. When I select a value of project LOV this value project to switch to the 2nd activity LOV where clause. How can I achieve this.

    I tried to use the code in the process CO request by getting the value of project with the command below.

    int v_project = Integer.parseInt ((String) passiveCriteria.get ('Project')); grab the critirea project

    and set this value in the setwhereclauseparams of the VO LOV. But the above command is throwing an exception with the exception of null pointer.

    This approach is correct, or should I use any other method.

    Thank you
    HC

    Below you will find the article interesting

    http://oracleanil.blogspot.com/2010/12/dependent-lov-in-OAF.html

    Thank you
    AJ

  • How to pass a value cannot be used in time during the Navigation target

    Hi all
    On a dashboard, I have a poster measure info bar chart by name each month (month name being on the x axis). The months displayed are based on a dashboard command prompt (year, month name) year-to-date.
    When I click on the bar of a month on the chart name, I use the Navigation target to open another query in the dashboard. The target a YEAR and MONTH "is requested. For example, if I click on 'MAY' bar, the other application opens to display data «CAN» Everything works.

    However, I need to do this not for the month selected as described above, but for the year to date instead. For example, I click on 'MAY' bar, I want the other application to display the data of 'JAN' thru 'MAY', not just 'CAN' itself. I'll do the same thing I have done to the request of the source, have a filter for the month number (not the name of the month) and have a 'BETWEEN 01 and xx' where ' xx will be calculated by taking the name of the month and using the number of months instead, so it would eventually "BETWEEN 01 and 05.

    Question: Is there a way I can pass the name of the month which was clicked on the chart and move on to the target, so I can use in a calculation and not the filter "is invited"?

    Thank you!

    _Analytics,

    I had the same solution but slightly different. It's different because you assumed this month as the number of months, but according to the scenario described by the user, is a name of months where the navigation must be done.

    user13033100,

    Here is the solution with an sine qua non - year should be fixed by default.
    Outside of having a main report and the subreport, create an additional report by month #, name of the month, call the "report additional sup.
    Now in the ' additional report under ' create filter of month name as "" is bringing"---> bar value from the master report is passed to this 'report additional sup '.
    Thus, month # column "additional sub of the report" gives you value months appropriate to limit the subreport.
    Month # of the report additional sup', create a filter on the column for the month in the subreport. The month filter sub report must be an advanced filter 'filter based on the results of another application', search for ' report additional sup ' month # column. In here a consumption below or equal operator.

    Quickly close the thread if replied/useful.

    -bifacts
    http://www.obinotes.com

    Published by: bifacts on October 21, 2010 14:12

  • How to pass Dynamic values in the LOV

    Dear all,
    Good evening

    I gave to 02:00

    1 is for of the Lov
    1 is for AM pagelayout

    I'll pass the client id for my lov

    This client code receives well the current page

    How to pass the client code to lov

    pls guide me

    Hello

    Copy the following code

    xxcrmCompPersPKVOImpl vo = getxxcrmCompPersPKVO1();
    vo.setWhereClauseParams (null);
    vo.setWhereClauseParam (0, ooportunityid);
    vo.executeQuery ();

    OAListOfValuesBean sb = (OAListOfValuesBean) webBean.findChildRecursive ("xxcrmPeriodicBillingContractLovRN");
    OAApplicationModule am2 = (OAApplicationModule) pageContext.getApplicationModule (sb).

    OAViewObject vo = (OAViewObject) am2.findViewObject ("xxcrmPeriodicBillingContractNoVO");
    vo.setWhereClauseParams (null);
    vo.setWhereClauseParam (0,1001);
    vo.setWhereClauseParam (1,1024);
    vo.executeQuery ();

    Thank you
    Gerard

  • How to pass APEX_UTIL. COUNT_CLICK parameters in the url

    Hello

    I have to count clicks on list items:

    There is an option to click Accounts in the definition of each element of the list,
    and you can add category County click here.

    However, I also need to add the parameter Id click - p_id.
    This parameter (p_id) suppose to pass a value in the column CLICK_ID in the APEX_WORKSPACE_CLICKS view.
    I built a url for it.
    The url without p_id works perfectly:
    z?p_url=f?p=&APP_ID.:43:&APP_SESSION.::NO:::&p_cat=Common&p_company=&WORKSPACE_ID.&p_user=&APP_USER.
    But the url with p_id does not at all:
    z?p_url=f?p=&APP_ID.:43:&APP_SESSION.::NO:::&p_cat=Common&p_id=Profile&p_company=&WORKSPACE_ID.&p_user=&APP_USER.
    Do you know how to pass p_id parameter in the url, so that he would be inserted in the view of apex_workspace_clicks?

    Thank you!

    CLICK_ID of the APEX_WORKSPACE_CLICKS column is a number, then you need a number, ex:

    & p_id = 1

    If your url should look like:

    z?p_url=f?p=&APP_ID.:43:&APP_SESSION.::NO:::&p_cat=Common&p_id=1&p_company=&WORKSPACE_ID.&p_user=&APP_USER.
    

    You can use a page number associated with a click, to be more descriptive

  • How to unlock an ipad after reset of the manufacturer?

    How to unlock an iPad after reset of a manufacturer.  Purchased from a third party and do not know the original owner.

    Without the previous owner Apple ID and password, the iPad doesn't help. Not even Apple can help you.

    Get your money back if you can.

  • Photosmart c4580: how to reconnect wifi printer after I changed the wifi network security key

    I changed my network security key and now my printer cannot 1) added a new device and 2) appears offline.  I restarted the printer.  How can I get the printer on the network after I changed the network security key.

    Replacement/change your wireless router try here.

    http://www.HP.com/global/au/en/wireless/reconfiguring-system-Help3.html

  • Passing parameters to the method call in expressions of value

    JDeveloper 11.1.2.1.0 does support the feature of passing parameters to method calls in expressions of value in JSF pages? AFAIK this is JSF 2 version it and it should support this feature. Unfortunately when I put in a JSF page the following tag
    < h:commandLink value = "#{row.employeeId}" action = "#{empBean.showDetails (row)}" / > "
    The page does not work. Any ideas on this point?

    Thank you to everyone.

    Hello

    The functionality you need is defined in JSR 245.
    If you need to wait for it to become part of the standard, it will be included in JEE6
    I don't know if 11.1.2.1.0 uses JEE6 standard...
    You can try this other thing,
    http://www.coderanch.com/t/213290/JSF/Java/why-JSF-calls-method-parameter

  • JDeveloper 11 g - value of bean to access after the method call.

    Hello

    I created a command button to run a PL/SQL method, as shown in the example call: http://download.oracle.com/docs/cd/E17904_01/web.1111/b31974/bcadvgen.htm#BABEIFAI 37-11

    I have the following code, to fill a java bean in my ApplImpl class.

    Result APIResultBean = new APIResultBean();
    // 7. DateValue property value using in-first OUT param
    result.setResultValue (st.getString (28));
    // 8. StringValue property value using THE param 2nd
    result.setMsgValue (st.getString (29));
    System.out.println ("Bean defined:" + st.getString (28) + "and:" + st.getString (29));

    The java bean has the following code and is defined as a java class in my model of controller:

    package CELPAY.model;

    import java.io.Serializable;
    Import oracle.jbo.domain.Date;

    / public class APIResultBean implements Serializable {}



    String ResultVal;
    String MsgVal;

    public setResultValue (String ResultVal) Sub {this. ResultVal = ResultVal ;}
    public String getResultValue() {return ResultVal ;}
    public setMsgValue (String MsgVal) Sub {this. MsgVal = MsgVal ;}
    public String getMsgValue() {return MsgVal ;}

    }



    The procedure runs, but I have no idea how to do to retrieve the output variables in a form as a text of output. That is to say, how can I access this bean? I tried to create a data control, but the methods come not through. I also tried this entry in the adfc. - config.xml and refercing variables.

    My question is tha that the getResultValue methods are not displayed in Jdevloper?

    Great satisfaction to all helped, because I was stuck on this all day

    Your Get accessor method is getMsgValue(), the rule says remove the GET and change case of the first character of the remaining string. If getMsgValue()-> MsgVale-> msgValue.
    Try #{bindings.element.inputValue.msgValue}

    Timo

Maybe you are looking for