p. 270, Java Development with Ant (its right there on your desk, isn't it?! :)....

<XDtType:ifIsOfType value="return-type" type="java.sql.Timestamp"
extent="concrete-type">
private String <XDtMethod:propertyName/>;
</XDtType:ifIsOfType>


This might not be quite exactly what you want, but maybe will get you closer with the value="return-type"?

Erik

On Thursday, January 2, 2003, at 06:21 PM, Matt Raible wrote:

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


-------------------------------------------------------
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