This content has been marked as final. Show 7 replies
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?
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.