Re: Inappropriate OGNL expression !
Re: Inappropriate OGNL expression !
- Subject: Re: Inappropriate OGNL expression !
- From: Ramsey Gurley <email@hidden>
- Date: Fri, 21 Sep 2012 10:43:21 -0700
On Sep 21, 2012, at 9:59 AM, Chuck Hill wrote: One solution is to add a method
public String dateFormatForOperationStartDate() { NSTimestampFormatter formatter = new NSTimestampFormatter("%Y-%m-%d %H:%M:%S"); formatter.setDefaultParseTimeZone(NSTimeZone.defaultTimeZone());
return formatter.format(anOperation.dateStart()); }
And use that. Which defeats the purpose of WOOgnl...
That's why I've never had any purpose for WOgnl. Code goes in the java file :-)
Ramsey |
_______________________________________________
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