Jake

I havent been following this thread too closely so I'm not entirely sure
what you are trying to do, but it seems your current dilemma is just
getting the properly formatted date strings to your templates without
having to include the logic in the template.  If this is so....

You could add variables to your object class, for instance:

String formattedDateOne;
String formattedDateTwo;

Then create fields in your intake group definition that map to these
fields.

Now create get methods that take the real date from the database and
format it to the appropriate string.  Then when your designers want the
date in a specific format, they simply call the appropriate get.

If you want to be able to edit from these fields then you need to write
set methods that manipulate the string and pass the appropriate date
object to the super.setDate().  Otherwise, just leave the bodies of
these methods empty.

All of this is based on experience with 2.1, and I believe you are using
2.2, but I thought i might be worth a shot.

-b


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to