When generating ActionForms for Struts, I want to generate ArrayLists when my
EJB/POJO has a List, as well as mutate other values.  Here's some psuedo code
for doing this:

    <XDtStrutsForm:forAllFormFields>
    <XDtMethod:ifIsOfType="java.util.List">
    protected ArrayList <XDtMethod:propertyName/>;
    </XDtMethod:methodType>
    
    <XDtMethod:ifIsNotOfType="java.util.List">
    protected String <XDtMethod:propertyName/>;
    </XDtMethod:methodType>

Can anyone point me in the right direction for accomplishing this?

Thanks,

-- Matt Raible, Raible Designs, Morrison CO US
-- Tel: +1 303 979-5340
-- Mob: +1 720 560-8460
-- Fax: +1 508 256-6471
-- Web: http://www.raibledesigns.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to