• 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: Using inner classes or enums as attribute types with Velocity templates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using inner classes or enums as attribute types with Velocity templates


  • Subject: Re: Using inner classes or enums as attribute types with Velocity templates
  • From: Paul Hoadley <email@hidden>
  • Date: Fri, 11 May 2012 12:29:35 +0930

Hi Mark,

On 10/05/2012, at 11:33 PM, Mark Wardle wrote:

See attached. I hope this helps.

Thanks.  Worked perfectly.  Looks like your base template was a little older than the one I've been using (from WOLips on GitHub[1]), so I just grafted the replace() calls into the right places in the newer template.

Essentially, I just replace '$' with '.' in the class name and everything then just works! IMHO, this should be part of the standard templates.

I might fork a copy of the WOLips repo and do just that.

[1]: https://github.com/wolips/wolips/blob/master/wolips/core/plugins/org.objectstyle.wolips.eogenerator.core/templates/_WonderEntity.java


-- 
Paul Hoadley
http://logicsquad.net/



 _______________________________________________
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: 
 >Using inner classes or enums as attribute types with Velocity templates (From: Paul Hoadley <email@hidden>)

  • Prev by Date: Re: ListPage MySQL OutOfMemory
  • Next by Date: Re: Is WO has HTML5 features....!
  • Previous by thread: Using inner classes or enums as attribute types with Velocity templates
  • Next by thread: Wowodc tickets?
  • Index(es):
    • Date
    • Thread