To display a combo box, you will need to model a scalar page variable and a scalar event param (that is, a Long, or a String, ...). Add @andromda.struts.view.field.type=select to the page variable. In the server-side Activity-State, add a method like "loadData(item:Long)". AndroMDA will see that it needs a backing list as it is modeled as a select, and will create the necessary setters on the coresponding form.
The event param you model is the result of the select. That is only the value that IS selected, not all the possible values. If you model the event param as a Collection, you are saying that multiple values can be selected at the same time, so of course it creates a multi-select. I hope it helps a bit ... -- Jabber : [EMAIL PROTECTED] (feel free to contact me) _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=3490#3490 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user