Model a <<FrontEndView>> and add an outgoing transition with a parameter on it .. add the @andromda.strutsview.field.type=select tagged value to this parameter
Now model an action state with a transition going into this <<FrontEndView>>, defer to a controller operation from this action state, make sure the controller operation you are calling there has a parameter with the same name and type as the one modeled on the transition. In you controller implementation class you will indeed have *ValueList and *LabelList operations, did you read the Javadocs rendered for those methods ? They basically say you need to set the values for the list by using setXXXValueList(Object[]) .. the labels (if different than the values) can be set using setXXXLabelList(Object[]) The online-store has an example of this, the thing is that int the example it is using a parameter that is a collection-type and therefore the combobox will show as a listbox (= multiple selection allowed) -- Wouter > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:andromda-user- > [EMAIL PROTECTED] On Behalf Of Leif Johansson > Sent: Sunday, February 20, 2005 12:03 AM > To: andromda-user@lists.sourceforge.net > Subject: [Andromda-user] backinglist howto? > > Could someone give a couple of pointers on how to set the backing list > for a select field? I guess it involves using the set*LabelList and the > anset*ValueList operations in a form but I cannot find an example to > fill in the details for me. > > Cheers Leif > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Andromda-user mailing list > Andromda-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/andromda-user ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user