Topic
1 reply Latest Post - ‏2012-12-13T18:16:43Z by TammyDix
SystemAdmin
SystemAdmin
6420 Posts
ACCEPTED ANSWER

Pinned topic How to retrieve values of selected row in the table?

‏2012-11-12T05:04:59Z |
Hi,
I am using IBM BPM v 8.0.
I have created a table in Coach(as well as heritage coach), and within the configuration option I have chosen 'Multiple selection'.This creates a checkbox for each row dynamically at runtime.

If I want to retrieve these selected rows onto the following pg, or retrieve the selected row no., how can I do it?
Updated on 2012-12-13T18:16:43Z at 2012-12-13T18:16:43Z by TammyDix
  • TammyDix
    TammyDix
    6 Posts
    ACCEPTED ANSWER

    Re: How to retrieve values of selected row in the table?

    ‏2012-12-13T18:16:43Z  in response to SystemAdmin
    I am not sure what you are asking but just shooting in the dark here:

    MyObject obj= (MyObject) yourTable.getRowData();

    is how you get the selected row in your backing bean. If it is multiple rows then:

    List<MyObject> yourList = (List<MyObject>)yourTable().getValue();

    Hope this helps.