this has been implemented, you can now use an array of value objects with 
bpm4struts tables



this means you don't need to use a collection type anymore, the advantage is  
more strongly typed control: the cartridge sees the attributes and knows which 
one is a date and needs formatting (you can even attach tagged values to these 
attributes)



1. create your value object (only use <<ValueObject>> if you want AndroMDA to 
generate it, this stereotype is not required)

2. add attributes to this class

3. create another class with the same name, but give it the [] suffix

4. no not add attributes to this class (the cartridge will ignore them)

5. use the type created in step 3 as a page-variable

6. you'll still need to use a tagged value on this page-variable to denote 
which columns to render to the screen (most of the time you'll not want to 
display all of them) .. this works the same way as with the collection



for more info: 
--
Wouter Zoons - [EMAIL PROTECTED]

http://www.andromda.org/
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=3893#3893
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