You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Valdemaras Repšys <de...@gmail.com> on 2006/01/21 19:33:58 UTC

ognl parse exception

Hi,

I have:

<span jwcid="@Insert"
value="ognl:@lt.ibt.biojazz.utils.Formatter@formatDate(new
java.util.Date())"/>

I get and exception:

Unable to parse OGNL expression
'@lt.ibt.biojazz.utils.Formatter@formatDate(new java.util.Date())':
Malformed OGNL expression:
@lt.ibt.biojazz.utils.Formatter@formatDate(new java.util.Date())

ognl.ParseException Encountered "lt" at line 1, column 2. Was expecting
one of: "@" ... <IDENT> ...

If I change the package name from lt.ibt.biojazz.utils to
org.ibt.biojazz.utils everything's fine.

<span jwcid="@Insert"
value="ognl:@org.ibt.biojazz.utils.Formatter@formatDate(new
java.util.Date())"/>


Any ideas?

Valdemaras


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: ognl parse exception

Posted by Valdemaras Repšys <de...@gmail.com>.
Just tried it, it.ibt.biojazz.utils works fine..

Sk, 2006 01 22 17:24 +0800, Vincent rašė:
> >If I change the package name from lt.ibt.biojazz.utils to
> >org.ibt.biojazz.utils everything's fine.
> Have you tried lt.ibt.biojazz.utils to it.ibt.biojazz.utils?


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: ognl parse exception

Posted by Vincent <vi...@gmail.com>.
>If I change the package name from lt.ibt.biojazz.utils to
>org.ibt.biojazz.utils everything's fine.
Have you tried lt.ibt.biojazz.utils to it.ibt.biojazz.utils?

Re: ognl parse exception

Posted by Andrei Chiritescu <an...@gmail.com>.
It's just a guess, but, maybe this is how it tries to escape "lower 
then" (<). Otherwise it's just a coincidence and the problem lies 
somewhere else.

Regards,
Andrei Chiritescu

Valdemaras Repšys wrote:

>Hi,
>
>I have:
>
><span jwcid="@Insert"
>value="ognl:@lt.ibt.biojazz.utils.Formatter@formatDate(new
>java.util.Date())"/>
>
>I get and exception:
>
>Unable to parse OGNL expression
>'@lt.ibt.biojazz.utils.Formatter@formatDate(new java.util.Date())':
>Malformed OGNL expression:
>@lt.ibt.biojazz.utils.Formatter@formatDate(new java.util.Date())
>
>ognl.ParseException Encountered "lt" at line 1, column 2. Was expecting
>one of: "@" ... <IDENT> ...
>
>If I change the package name from lt.ibt.biojazz.utils to
>org.ibt.biojazz.utils everything's fine.
>
><span jwcid="@Insert"
>value="ognl:@org.ibt.biojazz.utils.Formatter@formatDate(new
>java.util.Date())"/>
>
>
>Any ideas?
>
>Valdemaras
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org