On Tue, 2003-03-11 at 06:05, Ryan Littrell wrote:
> I am trying to find out how I can override the toString method of the 
> generated objects created by the valueobject tag.
> 
> Currently, it returns a string of the object's contents.  I want it to 
> return something such as the valueobject's name  ie. return getName();

A couple of alternatives come to mind:
a) you could create your own class that extends the VO, and override the
method in that.
b) you could take a copy of the template, modify that, and specify it as
a custom template to the subtask.


Andrew.




-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to