figured it out myself. I was using the expression for an 
in/out binding (option/selected), and OGNL was refusing to 
let the write go through (InappropriateExpressionException).

I wasnt expecting that the (boolean) "selected" parameter was 
also written to.

thanks,
Christian

---- Original message ----
>Datum: Wed, 18 Dec 2002 18:41:28 -0700
>Von: Drew Davidson <[EMAIL PROTECTED]>  
>Betreff: Re: [Tapestry-developer] OGNL expression problem  
>An: [EMAIL PROTECTED]
>
>Christian Sell wrote:
>
>>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.
>>  
>>
>May I see the stack trace?  That would help enormously.
>
>- Drew
>
>-- 
>+---------------------------------+
>< Drew Davidson | OGNL Technology >
>+---------------------------------+
>|  Email: [EMAIL PROTECTED]          /
>|    Web: http://www.ognl.org   /
>|    Vox: (520) 531-1966       <
>|    Fax: (520) 531-1965        \
>| Mobile: (520) 405-2967         \
>+---------------------------------+
>
>
>
>
>
>-------------------------------------------------------
>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/
>_______________________________________________
>Tapestry-developer mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/tapestry-
developer
-- 
[EMAIL PROTECTED]


-------------------------------------------------------
This SF.NET email is sponsored by: Geek Gift Procrastinating?
Get the perfect geek gift now!  Before the Holidays pass you by.
T H I N K G E E K . C O M      http://www.thinkgeek.com/sf/
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to