Re: Modifying userPresentableDescription in D2W
Re: Modifying userPresentableDescription in D2W
- Subject: Re: Modifying userPresentableDescription in D2W
- From: Chuck Hill <email@hidden>
- Date: Thu, 13 Jan 2005 12:53:05 -0800
It is a method in the EOEnterpriseObject interface:
public String userPresentableDescription()
Returns a short (no longer than 60 characters) description of an
enterprise object based on its data. EOCustomObject's implementation
enumerates the object's attributeKeys and returns the values of all of
its properties, separated by commas (applying the default formatter for
numbers and dates)
Just override it in your EO.
Chuck
On Jan 13, 2005, at 12:42 PM, Florijan Stamenkovic wrote:
Is there a way I can modify what the userPresentableDescription
displays for a to-many listing in a D2W environment?
Florijan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
village.net
This email sent to email@hidden
--
Practical WebObjects - a book for intermediate WebObjects developers
who want to increase their overall knowledge of WebObjects, or those
who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden