Re: WOLips complains about scala WOElement
Re: WOLips complains about scala WOElement
- Subject: Re: WOLips complains about scala WOElement
- From: Marius Soutier <email@hidden>
- Date: Mon, 19 Sep 2011 12:47:45 +0200
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@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
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