You'll want to ping Quinton about this I think. I believe he wrote the code for that kind of stuff.
On 20/09/2011, at 2:49 PM, Yung-Luen Lan wrote: > Thanks Marius. > > If I want to add support of scala class in WOLips, where should I look > at first? > I've already checkout the WOLips source code but I have no experience > writing Eclipse plugin. > > Scala helps me writing more concise code not only shorter but also > error prune. Actor helps for concurrent programming and Option leads > to better API interface that eliminates most null pointer exceptions. > Functional operator gives clear intention rather than fiddling with > loops and counters. > > I think WebObjects will get a new life if it leverage the modern > language features and design from scala. Look the Play! framework… :) > > Regards, > yllan > > On Mon, Sep 19, 2011 at 6:47 PM, Marius Soutier > <[email protected]> wrote: >> That's because WOLips doesn't recognize Scala classes. I think there's no >> workaround except extending WOLips. >> >> I hope you're not using Scala only to reduce line count :) >> >> >> On 19.09.2011, at 10:51, Yung-Luen Lan wrote: >> >>> Hi, >>> >>> I'm using WOLips stable with Eclipse 3.6 and scala 2.9.0.1 following >>> the WO wiki setup. >>> >>> Scala is amazing. It reduces a lot of LOC which results more concise >>> and clear code. So I gradually rewrite my project using scala, one >>> class at a time. >>> >>> However, Eclipse gives me errors: >>> >>> The class for 'APILogin' is either missing or does not extend >>> WOElement. line 204 WebObjects Template Problems >>> >>> where I write <wo:APILogin /> in html. I can still build with ant but >>> it cause error in eclipse. APILogin is a scala class extends other >>> java ERXComponent's subclass. >>> >>> Is there any way to get rid of this kind of error? >>> >>> Regards, >>> yllan >>> _______________________________________________ >>> Do not post admin requests to the list. They will be ignored. >>> Webobjects-dev mailing list ([email protected]) >>> Help/Unsubscribe/Update your Subscription: >>> http://lists.apple.com/mailman/options/webobjects-dev/m.soutier%40starhealthcare.info >>> >>> This email sent to [email protected] >> >> >> > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/lachlan.deck%40gmail.com > > This email sent to [email protected] Lachlan Deck [email protected] _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
