on 04-01-2011 12:51 PM
Hi Experts ,
Suggest me how to read values from Drop down list
Created a value list Business with 3 entries L1 , L2 ,L3
On selection of L1 , some logic for L2 other login
You cannot trigger an action on the selection of a value from a value list. However you can write the logic on some other action.
to retrieve the selected value list value name, use
vlvName=doc.getExtensionField("extension_field_name").get().getDisplayName(session);
using vlvName you can branch out and perform operations speciifc to that selection.
Incase you want to use the other attributes/functions of the vlv , use the homelocator to find the vlv bean
vlvObj=doc.getExtensionField("extension_field").get();
vlvHome=IBeanHomeLocator.lookup(session,vlvObj);
vlvBean=vlvHome.find(vlvObj);
Use the vlvBean to retrieve all the data regrding the selected value.
hope this helps.
Regards
Immanuel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.