This content has been marked as final. Show 5 replies
get the pick list in controller with the OAMessageChoiceBean lass
use these function
for picklist use this
get your picklist
use these functions to set initial values based on condition.
setSelectionValue(OAPageContext pageContext, String selectionValue)
Sets the selection value -- internal value for the choice item that will be shown as selected.
Thank you Pradeep. Thank you Soooo much.
One more question, it seems like setdefaultvalue is deprecated, is it still ok to use it? and what would happen if I just setDefaultValue but not the setSelectionValue?
Even i am facing the same issue. since setDefaultValue is depreceted, I am not able to get the desired output. Is there any other method apart from setSelectionValue()
One simple approach is to set the value for the attribute associated to the picklist item in the Base Page VO. Think about it.