This content has been marked as final. Show 7 replies
Get the value of First Poplist in variable and pass it over to where clause while executing PickList VO of the 2nd Poplist there by you
can filter the values .
You need to write code in Process form Request . Let me know if you need further more inputs .
Thanks for your reply.
I explain you my requirement in detail.
On load of a page (processRequest) i need to map a VO to advanced table. This advanced table is having a poplist which is dependent on an attribute from VO which means for each row in advanced table poplist depends on a formvalue in the table row.
I need this to be done in processRequest. Is it possible to get the rendered advancedTable object in processRequest? If you can provide me some sample code, that would help me a lot.
Before proceeding further i need some confirmation from you ,
Please correct me if my understanding is wrong , you are trying to update / insert a record into database using advanced table region , and one of the column is
poplist , and poplist should filter the records dynamically in each row and filter should be done with the help of formvalue .
Nope. I am developing a search screen. Based on previous page parameter value, the advancedTable in my current search page should load with VO details.
While mapping VO attributes with advancedTable columns i have mapped one of the value as formValue. Based on this formValue(where clause attribute of poplist vo) the poplist column in the advancedTable should be dynamically rendered.
So onload ie., in processRequest i have to make sure the poplist values in each row is rendered based on formValue in each row of advancedTable.
Can you please provide some input with sample code?
Can anyone help me solving this requirement. I need this immediately please help me.
I think you will have to use the concept of setListVOBoundContainerColumn.
OATableBean table = ... OAMessageChoiceBean empPoplist =
(OAMessageChoiceBean)table.findChildRecursive("EmpName"); empPoplist.setListVOBoundContainerColumn(0, /* bind index */
set the correct bind index here.
Aknur it worked. Thanks a lot.