Hi,


Thanks that is exactly what I want to do but I am running into a problem prior 
to this one.  How do I model this?



So far I started with a page variable (it is a collection) going  into my 
FrontEndView.   I have added the  @andromda.struts.view.field.type=select to 
that page variable.  That page variable contains the result of the call to 
loadSomething(myCollection) method.



Then from the FronEndView I have a transition to a defer event.  On this 
transition I have added all the parameters I need.  Here is my problem: I will 
send back to the server only one item frome the collection so the server is 
expecting only a string and not a collection.  So should I model that 
collection also as an event parameters although I do not use on it the server 
side?  Otherwise how can I have it displayed?





It might sound confusing so let me give an example.





Let say we a web page to add a student to a class.



The page display the classes in a drop-down.



When I select class "chemistry" I will send "chemistry" to the server and not 
the class collection "chemistry,biology,etc"



So the server method "addStudentToClass(string className)" is expecting only 
the class name.



Since only event parameters are rendered on the page and giving that page 
variable are not, I would need to create an event parameter for the class as a  
collection AND a a string, right?

So I would send this to the server:  "addStudentToClass(Collection classNames, 
string className)" .
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=3486#3486
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

Reply via email to