Facing problem in a dynamic messaseChoice---Require help

hi..
My page has two messaseChoice dropdowns. When the page opens data comes in the first dd (drop down) as picklist from a VO.
I have implied fireAction on this messaseChoice, which calls an event to redirect this page to the same page. And execute another VO query taking the value choosed in the first dropdown as setBindingParams, and result column is used as the picklist for the second messaseChoice.
My problem is that all the rows is not displayed in the second messaseChoice and last option showing as "OAWEBBEANPICKLISTHELPER_END_OF_DATA"
Please some one help to find out the problem.

Hi
Follow below things.
1) Second message choice properties set like
PicklistViewInstance: SecondVO
Picklist Display Attribute : what you want to display front end
Picklist Value Attribute : what you want to store in table.
2) when select value from 1st DD event will be generated in process form request you should call the am method with 1st message choice value. In AM You pass to secondVO and execute the query.
Sample code find below
if(vEvent3 != null && vEvent3.equals("update1stDDEvent")) {
String vVariable1 = pageContext.getParameter("Values");
Serializable params2[]= {vVariable1};
am.invokeMethod("updateSecondMessageChoice",params2);
Try this way.
Thanks
Mateti

Similar Messages

Maybe you are looking for