Hi all,

In the JSR170 1.0 spec, 6.7.13 PropertyDefinition.getDefaultValues()
states:

'If null is returned, then the property has no fixed default value. This
does not exclude the possibility that the property still assumes some
value automatically, but that value may be parameterized (for example,
"the current date") and hence not expressible as a single fixed value.
In particular, this must be the case if isAutoCreated returns true and
this method returns null.'


I would like to define a protected and auto-created property of a date
type. This property needs to be set to the current date on creation, but
I do not know how to use parameterized default values.

Any help would be appreciated.

Thanks.


GOSS is a leading Enterprise Content Management provider. GOSS ECM Suite 
delivers Web Content Management, EDRMS, Email Management, Digital Asset 
Management, Capture and IDR and Hosted services.
 
GOSS  a leading UK supplier of Enterprise Content Management solutions has won 
a place in the Deloitte Technology Fast 50 Awards 2005 for the second 
consecutive year.

This email contains proprietary information, some or all of which may be 
legally privileged. It is for the intended recipient only. If an addressing or 
transmission error has misdirected this email, please notify the author by 
replying to this email. If you are not the intended recipient you may not use, 
disclose, distribute, copy, print or rely on this email. 

 

Email transmission cannot be guaranteed to be secure or error free, as 
information may be intercepted, corrupted, lost, destroyed, arrive late or 
incomplete or contain viruses. This email and any files attached to it have 
been checked with virus detection software before transmission. You should 
nonetheless carry out your own virus check before opening any attachment. GOSS 
Interactive Ltd accepts no liability for any loss or damage that may be caused 
by software viruses.
 

Reply via email to