How to pass a value from jspx page to the managed bean

hi,
i have created a jspx page and manages bean with page flow scope..
in my jspx page i am searching a employee record from the data base . and getting entire employee details including 'status' as a search result.
here i want to pass the value of 'status ' field to the managed bean variable called 'stval'.
can anybody suggest any solution?.......

As per the details provided in the post above, when the user clicks on the search in the af:query, the results are populated in the table. And you are interested in getting the value of particular column. This could be done by having the custom row selection listener to get the value of the current row (selected row in the table).
1) Have a custom selection listener:
<af:table value="#{bindings.EmpDeptVO.collectionModel}" var="row"
rows="#{bindings.EmpDeptVO.rangeSize}"
emptyText="#{bindings.EmpDeptVO.viewable ? 'No data to display.' : 'Access Denied.'}"
fetchSize="#{bindings.EmpDeptVO.rangeSize}"
rowBandingInterval="0"
rowSelection="single" id="t1"
partialTriggers=":::qryId1 ::ctb1 ::commandToolbarButton1"
columnStretching="column:c1"
styleClass="AFStretchWidth" columnSelection="multiple"
first="0" contentDelivery="immediate" autoHeightRows="10"
binding="#{pageFlowScope.ExampleBean.searchResultsTable}"
*selectionListener="#{pageFlowScope.ExampleBean.rowSelected}">*
2) In the method, set the current row programmatically:
ADFUtil.invokeEL("#{bindings.EmpDeptVO.collectionModel.makeCurrent}",
new Class[] { SelectionEvent.class },
new Object[] { selectionEvent });
3) Get the current row and get the required attribute values and set it in any of the variables in the managed bean:
Row selectedRow =
(Row)ADFUtil.evaluateEL("#{bindings.EmpDeptVOIterator.currentRow}");
String status = selectedRow.getAttribute("Status");
Thanks,
Navaneeth

Similar Messages

  • How to pass multiple values from workbook to planning function ?

    Hi,
    I have created Planning function in Modeler and it has one parameter(Variable represents = Multiple single values).
    When executing the planning function by create planning seq. in the web template : I see value of variable store data like ...
        A.) input one value -> V1
        B.) input three values -> V1;V2;V3
    This function execute completely in web.
    However, I want to use the planning function in workbook(Excel).
    The value of variable can't input V1;V2;V3... I don't know how to pass multiple values from workbook to parameter(Multiple single values type) in planning function ?
    thank you.

    Hi,
    Please see the attached how to document (page no 16).
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0881371-78a1-2910-f0b8-af3e184929be">how to</a>
    Hope this was helpful
    thanks

  • How to get attribute value from standard page ?

    Hi,
    How to get attribute value from standard page ?
    String str = (String)vo.getCurrentRow().getAttrbute("RunId");
    But this value is returning a null value ....
    Can anyone help me to get this attribute value which is actually having a actual value .

    getCurrentRow() would always return null if no setCurrentRow() is used.
    Please check the page design and understand how many rows of VO are there. You can also use the following to get the row:
    vo.reset();
    vo.next();
    Regards
    Sumit

  • How do you log values from RT target to the computer?

    Hi,
    I am using sbRIO 9633. How do you log values from RT target to the computer?
    I created a shared variable on the RT target and used them on the log VI created under "My Computer", but I get error.
    I get this error..
     \\192.168.1.140\temp deployment failed (error: -1967357949, IAK_SHARED:  (Hex 0x8ABC8003) Unable to query Measurement & Automation Explorer for the Shared Variable Engine. Make sure the Shared Variable Engine exists on the RT target and check that the network connection is valid.).
    kdm

    What are your data rates?  If you are producing data "continuously", you might find that Network Streams are easier and more reliable than Network Shared Variables.  In any case, you need an "engine" on one side (Host or Target) or the other.  I'm streaming 24 channels of 16-bit data from a PXI controller to a PC this way, with three other streams handling two-way messaging and transmission of "occasional" time-stamped data to the PC.
    Bob Schor

  • How to pass a value from the report to a form ( BIT OF URGENT ).

    Hi,
    I had created a "Form on a Table with Report" on the report I had remove the edit link and set one of the column feilds that functionality. Now I want to know how to pass that value that is clicked ( having hyper link ) on to the form where it runs a SQL query and then displays the reuslts on the form.
    Illustrating with an example.
    I am having these following columns on the report ( these are the results for the join statement )
    JOBNUM JOBNAME DEPTNUMBER SAL EMPNO LNAME FNAME
    In the above JOBNUM is having Hyper link as I removed the edit image.
    Now this is area I am having problem. When the user clicked on the JOBNUM then on form it should display 20 other columns( pulled from 5 other tables ) which are related to that particualr JOBNUM.
    Anybody give me a solution in which area I have to include my SQL statement and how to pass that selected value to that SQL statement.
    Cheers,
    Krishna

    Hi Ron,
    I am doing exaclty what you have suggested me but no luck. I started changing the DEMO_CUSTOMERS application to my requirements.The report is working fine and on the report I have created a page attribute to the Hyper linked column and linked that to the page 2 and assign that attribute with #JOBNUM#.
    I am able to pass that value on to form when I click on the JOBNUM. But the problem is I am not able to pass that value into the SQL query so that my query pulls 20+ columns on to the Form ( which is second page ).
    Small clarification... On the form region it is said FORM NAME and type is HTML is that is the way the APEX was designed or does it need to say region type as FORM.
    Thanks for your help in advance.
    Cheers,
    Krishna.

  • Pass lov value from one page to another page

    hi
    can any one please help me how to pass selected lov value in one page to another page
    iam able to get the lov value in controller but how to pass that value as parameter to the VO in another page.

    Hi,
    Get the value in controller, create a hash map and put that value in hashmap.
    Then pass that hashmap in pageContext.forwardImmediately method.
    If you want to use that value in multiple pages, then put that in session variable.
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to pass date parameter from one page to other in BSP application

    Hello gurus,
    In my BSP application i have taken an input field and made its type "date" and its value also of type date and have set showhelp .
    Now once a particular date is given as an input i want to pass its value to next page. And in next page i have to fire a query based on the date entered in previous page...
    Now my prb is that my date value is not getting passed to the next page.
    I have used
    navigation->set_parameter( name = 'BEGDA' value = BEGDA ).
    to pass date parameter.....still parameter is not getting passed.
    plz help me with this.....
    thankx.....

    Hi Eddy,
    By truncation i mean the entire date becomes 10 char including the ' . ' eg(06.12.2006).
    so with begda being 8chars it takes my date as 06.12.200
    as a result my query is not getting executed.
    now i have tried to use a FM  'CONVERT_DATE_TO_INTERN_FORMAT'.
    in my 1st page but still in 2nd page its giving me following error.
    <b>The data that was read could not be written to the specified target field during a SELECT access. Either the conversion is not supported for the type of the target field, or the target field is too short to accept the value, or the data is not in the appropriateformat for the target field.
    </b>
    Regards
    Swati

  • How to pass Multivalue parameters from main report to the subreport to a database stored procedure

    I am having a Main Report, where the user selects the parameters, and calls the subreport which in turn calls the stored proc which updates the report parameters table, which will be used by all the other sub reports to filter data on.
    It works fine when I pass single values from the Main report to the sub report, and it updates the database, but when I map the formula field to the subreport, the subreport does not even show up, and nothing happens on the database. I am thinking the subreport is not executing. I am using the 'Change Subreport Links' to map the formula fields to the subreport parameters.
    Please let me know if there is any other work around or a sample report which solves a similar problem.

    That is definitely a problem. CR 11.0 has been out of support for 5+ years(?). CR 11.5 has been out of support for close to 3 years.
    As far as I am concerned, the suggestions given here are going for naught as presumably they are based on recent builds of CR (E.g.; CR 12.x or higher). I really doubt that Abhilash or Jamie remember if CR 11.0 had problems related to the issue at hand. But they do know that their suggestions work in current versions of CR.
    Thus a suggestion; I suspect that you should be able to obtain an image from your IT where you can install CR 11.0 and update it to CR 11.5. Then use this as a proof of concept to the powers that be in your org that it is time to get with the times. BTW.; the most current version of CR is CR 2013, version 14.1.x(!). Again, something that your org should be aware of. So, even better than updating the image to CR 11.5, download the free 30 day eval of CR 2013 and try the suggestions in that version. The eval download is here:
    SME Free Trials | SME Software | SAP
    BTW.; CR 2013 is a side by side install, meaning that it will happily co-exist with your current CR 11.0 install.
    - Ludek

  • How to pass field value from popup window to oninput processing of other pg

    Hi,
    I want to pass a field value from the popup window to oninput processing of main page ( from where popup window is triggered). and need to close the popup window. How to do it ?
    In the popup window's oninputprocessing, im doing some validation checks. If it passes all the validations, then only the control shd come to main page ..else it should stay in popup window only .
    Regards,
    Jothi.

    Hi Jothi,
    you can use java script to pass the value and close your popup window. use the following code.
    in your popup window:
    function passData(h1)
             window.opener.document.getElementById('var1').value = h1 ;
             window.close();
    then call this function when you finish your validations.
    in your main page layout create an input field with id as passed in the function above "var1".
    In the value attribute give it your variable as follow:
    <htmlb:inputField id      = "var1"
                              value   = "<%= var2 %>"
                              visible = "false" />
    "var2" will be assigned the value from your popup window.
    I hope this will help you..
    Regards,
    Husain

  • How to pass multiselected values to next page

    Hi,
    I am fetching some rows from the database & displaying those rows in my mainPG through TableRN. Inthat Table I enabled multiselection option and if i select 5 rows outof 15 rows & if i click the submit button, i want to display only the selected rows in the next page.
    i.e
    MainPage
    col1 col2 col3 col4
    row1
    **row2
    row3
    **row4
    row5
    row6
    **---->selected rows
    Next Page
    col1 col2 col3 col4
    row2
    row6
    This is my requirement. so anyone plz let me know how to do that? how to pass those selected rows values to the next page while clicking Next buttion.
    thanks in advance
    logu.k

    Hi Frank,
    Thnaks for your reply. actually it is not a JSP pages. i am developing some self service application pages through Oracle application Framework (OAF). There i have cratedone mainPage (i.e MainPG.xml), which contains one Table Region with multiselection option enabled.
    Now i select some rows in the Table and if i click the next button only that selected rows should be display in the next page, i am using different Controller file (CO) for each pages (that next page also OAF page).
    this is what my requirement.
    so could u plz help me out how to do this.
    thanks
    Logs

  • How to pass all values from one node element to created node element?

    Hi
    I have model node element under which there are 7 values, and I've created value node element and trying to pass the values from the model node Element to this value node element. But instead of passing all the values its listing only one value.
    How do we rectify this problem!!!
    Thanks in Advance
    Srikant

    Hi Anil
    I've created the node named: TableNode
    and the name of the node from which i want to get the data is : Li_Required_Node
    the Node Structure is
    Context
      |_ Zs_Quantity_Input
         |_Output
           |_Node_Required_Node
              |_Schddt
      |_TableNode
        |_CmpDate
    The Schddt has some 7 values
    The code Snippet is as follows:
    IPublicPricesComp.ITableNodeElement nodeElement;
    IPublicPricesComp.ILi_Required_NodeElement scheduleElement;
    int counter3Max = wdContext.ILi_Required_Node().size();
    for( int counter3= 0 ; counter3 < counter3Max ;counter3++ )
    nodeElement = wdContext.createTableNodeElement();
                             scheduleElement = wdContext.nodeZs_Quantity_Input().nodeOutput_Contract_Qty().nodeLi_Required_Node().getLi_Required_NodeElementAt(counter3);
    nodeElement.setCmpDate(scheduleElement.getSchddt());
    wdContext.nodeTableNode().addElement(nodeElement);               
    On writing the above code and then binding the node to a table column only one value getting displayed
    Where can be the error?
    Thanks in Advance
    Srikant

  • How to pass multiple values from master to child report

    Hello,
    How would I pass multiple prompts from the master to child report? So for example, say I want to pass a 'Country' value along with a 'City' value
    Would it be?
    ="<a href=\"../../opendoc/openDocument.jsp?iDocID=ASQlgCemIOlEid1HHUlzyPs&sDocName=DocTest&sIDType=CUID&sType=wid&sWindow=Same&lsSCountry="+[Country]+"&lsSCity="+[City]+"\</a>"
    Thanks,
    Carter

    Carter,
    what is the syntax for this?
    It is exactly how you have posted in your original note.
    "&lsSCountry="+[Country]+"&lsSCity="[City]
    This will work providing the target report has a prompt called "Country" and another prompt called "City".  Note that your prompt and what you pass between the &lsS and the equal (=) must match exactly, otherwise OpenDocument will not communicate the prompt title to InfoView properly and InfoView will stop and execute the prompt to get the info it needs before running the report.  Have you tried what you've posted originally to see if it executes without a problem?
    Thanks,
    John

  • How to pass a value from 1 mxml componet to the another mxml componet

    I have created 3 mxml components. I am using 1st component as
    a container component for other 2 components mean[ inside 1st
    component i have placed 2 other components]. now i want to pass
    selectedvalue from 1 component to another component.
    say 1st component is
    MyFirstComponent.mxml
    2nd component is
    MySecComponent.mxml
    3rd component is
    MyThirdComponent.mxml
    now i have place 2nd & 3rd component in 1st component.
    whenever i select an item from dropdown in 2nd component i want to
    set/pass that selectedvalue to 3rd component public variable. how
    can i achieve this.
    MySecondComponent.mxml
    [code]
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns:salesforce="
    http://www.salesforce.com/"
    creationComplete="login()">
    <mx:ComboBox x="102" y="26" id="ddlDepartmentName"
    cornerRadius="2" height="20"
    fontWeight="bold" width="148"/>
    </mx:Canvas>
    [/code]
    MyThirdComponent.mxml
    [code]
    <?xml version="1.0" encoding="utf-8"?>
    <mx:HBox xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns:salesforce="
    http://www.salesforce.com/"
    creationComplete="login();">
    <mx:Script>
    <![CDATA[
    import SubComponents.Department.DepartmentSummary;
    public var departmentID:String = 10;
    ]]>
    </mx:Script>
    </mx:HBox>
    [/code]
    right now i am using hardcoded departmentID in 3rd component,
    i want to remove the hardcoded value and i want to set the value
    from 2nd components' on selectionChange.
    When i select department Name from the comboBox which is
    created in 2nd component i want to get the value in 3rd component.
    how can i achive this..
    want to set the departmentID in 3rd component to the
    ddlDepartmentName.selectedValue in 2nd component. when i change the
    selected value in 2nd component i want to display the department
    information in 3rd component after setting the departmentID
    Waiting for your valuable answer.

    This code seems to work:
    ------------------ MyThirdComponent.mxml -------------------
    <?xml version="1.0" encoding="utf-8"?>
    <mx:HBox xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns:salesforce="
    http://www.salesforce.com/">
    <mx:Script>
    <![CDATA[
    [Bindable]
    public var departmentID:String = new String();
    ]]>
    </mx:Script>
    <mx:Text text="{departmentID}"/>
    </mx:HBox>
    ------------------------- MySecondComponent.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns:salesforce="
    http://www.salesforce.com/">
    <mx:Script>
    <![CDATA[
    public function changeHandler():void{
    this.parentApplication.my3rd.departmentID =
    ddlDepartmentName.selectedLabel;
    ]]>
    </mx:Script>
    <mx:ComboBox x="102" y="26" id="ddlDepartmentName"
    cornerRadius="2" height="20"
    fontWeight="bold" width="148" change="changeHandler()">
    <mx:ArrayCollection>
    <mx:String>Bananas</mx:String>
    <mx:String>Apples</mx:String>
    <mx:String>Oranges</mx:String>
    </mx:ArrayCollection>
    </mx:ComboBox>
    </mx:Canvas>
    ----------------------- Test.mxml
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns:comp="components.*" creationComplete="init()">
    <mx:Script>
    <![CDATA[
    public function init():void{
    my3rd.departmentID = my2nd.ddlDepartmentName.selectedLabel;
    ]]>
    </mx:Script>
    <comp:MyThirdComponent id="my3rd"/>
    <comp:MySecondComponent id="my2nd"/>
    </mx:Application>

  • How to pass a value from a menu to a form

    I have a scenario where I'd like to take a value set in a menu and pass it to the form that refers that menu. Using a Global seem to work on one instance but not another. While I try to figure out the instance problem, has anybody else passed values from menus to forms without using a global variable?

    How would that work? I've tried by defining a package in the menu but how do I have the form refer to that value?
    I try to refer to the package item in the form like
    package_name.variable_name
    but the form does not know what that is.

  • Passing a value from one page to another with multiple projects?

    Hi,
    I am trying to do something and I am not quite sure what I may be doing wrong. Situation is this:
    I have 1 project which is our Model, deployed into a .jar and imported successfully into the main project. No problems with this.
    I also have another project for editing profiles, in it it contains a taskflow running off of page fragments to accomplish a CRUD design. This is also deployed and imported into our main project successfully. It has a parameter value that should be detected upon entry into the pageflow called inEntityID.
    I have our main project application which has both imported .jar files into the library.
    I am using the unbounded adfc-config Flow to make sure that the pages can see each other. They can.
    If I use no data being sent from my main page to my edit page I can see both the main page fine and what would be a working region that is displaying the task flow from our editing project. If I attempt to send a value from my main page to the edit page it will not show up.
    ADFC looks like so: MAIN goEdit>EDIT
    Code snippet from my button which gathers data from the main page table to send to the edit page via action goEdit
    <af:commandToolbarButton text="Edit Entity"
    id="ctb3" action="goEdit">
    <af:setPropertyListener type="action"
    to="#{pageFlowScope.sendID}"
    from="#{bindings.PseLegalEntityId.inputValue}"/>
    </af:commandToolbarButton>
    PseLegalEntityId is the value that I have named which is an attiributevalue from my mainPageDef which links to the primary key that I want to send to edit.
    The paramenter that I have set in the region is set as such: Task Flow Binding Parameters : id* inEntityID | Value* #{pageFlowScope.sendID}
    I am using Jdeveloper 11.1.1.2.0
    Any insight on what I may be doing wrong would be helpful. Thanks in advance,
    PSP

    Is more information needed to answer this? if so let me know which.
    Thanks,
    PSP

Maybe you are looking for

  • Setting computer time and date

    After removing the battery from my Powerbook G4 to send to the dealer for the battery exchange program I have had problems setting the computer date and time. It has reverted back to 1 January 1970. I have been into system preferences and changed the

  • How do I set up iMessage?

    When I try to sign in to use iMessage I type in my Apple ID and press sign in. Then it takes a while to load and brings up a notification that says, " iMessage Activation could not sign in please check your network connection and try again." I have t

  • Using Labviews 6i Limited Vision capability to capture frames from DT3132 Board.

    I'm wondering if anyone has used Labview 6i Limited IMAQ VI's to capture images from a Data Translations DT3132 Board? Is it possible to quickly create an Application without purchasing IMAQ Vision ADD-IN Module for Labview? Thanks, Regis

  • Received "Urgent: Re-validat​ion Required" Msg

    Is this a scam??  It says I must confirm my hotmail account password on my BB before April 5 to continue sending or receiving messages from this account...  Anyone know anything about this?  Thanks! Solved! Go to Solution.

  • Saving contact Info

    Is it possible to download the contact info from the Droid X to a pc