OGNL expression problem

"Christian Sell" <[email protected]>
Newsgroups gmane.comp.java.tapestry.devel
Message-ID <005b01c2a6f1$cb6d43e0$fe78a8c0@rhema1>
Hello,

I am encountering problems using OGNL expressions of the following form:

<binding name="some" expression="selectedValue == previousValue"/>

the first time this binding is invoked it executes OK, but the second time
it throws an exception, stating something about an invalid OGNL expression,
pointing at some "Eq" token. It seems "Eq" is an OGNL-internal
representation of the parsed "==" token.

I also tried the form

<binding name="some" expression="[selectedValue == previousValue]"/>

but that didnt help either.

Hints?
Christian

BTW, is there a way to avoid having to deploy ejb.jar with every tapestry
application? I just cant see why I have to do that with an application that
has nothing to do with EJBs - into a plain servlet engine. This is just
wrong IMO.




-------------------------------------------------------
This SF.NET email is sponsored by: Order your Holiday Geek Presents Now!
Green Lasers, Hip Geek T-Shirts, Remote Control Tanks, Caffeinated Soap,
MP3 Players,  XBox Games,  Flying Saucers,  WebCams,  Smart Putty.
T H I N K G E E K . C O M       http://www.thinkgeek.com/sf/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.