dcsimg
Specifying ObjectData.toString() ?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   arnaud_jamin
Posted On:   Wednesday, November 27, 2002 03:41 AM

is it possible to specify what properties are returned by the toString method of an ObjectData ?

By default, it return all the properties like this :

"{p1=" + p1 + " p2=" + p2 "}"

I'd like it to return only one of the properties.

Re: Specifying ObjectData.toString() ?

Posted By:   Ara_Abrahamian  
Posted On:   Thursday, November 28, 2002 11:51 AM

Then just modify the template file to return one property. Make a copy of the dataobject.xdt file, modify it, then invoke ejbdoclet with a nested dataobject like this: .


Ara.

About | Sitemap | Contact