• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Inappropriate OGNL expression !
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Inappropriate OGNL expression ! (From: Chuck Hill <email@hidden>)
 >Re: Inappropriate OGNL expression ! (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Inappropriate OGNL expression !
  • Next by Date: ERPDFGeneration problem & best practices
  • Previous by thread: Re: Inappropriate OGNL expression !
  • Next by thread: Re: Inappropriate OGNL expression !
  • Index(es):
    • Date
    • Thread