Hello, I'm using an enum as an attribute type, and for neatness I've just moved that enum into the EO's class. It all works fine, but obviously I need to specify the type in the model as some.package.Foo$Bar, and then this isn't handled correctly by the stock Velocity templates. I thought I could live with it, but it turns out EO generation happens a lot more frequently than I realised, and now it's annoying me!
Mark Wardle wrote in February 2011: > NB: when using $ to refer to an enum defined within a class, you will need to > update your WOLips templates. > > I think there's a page on the wiki but I have limited connection at the > moment. I couldn't find a reference to the issue on the Wiki, though I may have missed it. Does anyone have any modified Wonder templates that would handle this, or can any Velocity experts point me in the right direction to get Foo$Bar translated to Foo.Bar? -- Paul Hoadley http://logicsquad.net/
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
