How to get value from message choice in oaf
In this post , I will share the code to get the value from the message choice item in the OAF Page. Here below is the code to get the value from message choice in oaf
OAMessageChoiceBean val1=(OAMessageChoiceBean)messageChoice.findIndexedChild("Pass the Id of the message choice");
String mChoiceVal2=val1.getValue(pageContext).toString();
or you can also use
String val1=pageContext.getParameter("Pass the Id of the message choice");
This could also work , you have to test both of these two options to identify which will work for you.
0 comments:
Post a Comment