Wow what was I drinking last night? :-P
I extracted some examples from when I had to convert one app from
2.0.9 to 2.0.11:
1) If the variable is in request scope:
From: onclick="this.form.action = '${urlsubmit}';"/>
To: onclick="this.form.action = '%{#request['urlsubmit']}'" />
(or use #attr inst
--- On Mon, 8/25/08, crappycrumpet wrote:
> Hence I was wondering how I can work around it.
Modify the TLD.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
"todo" :) In this case it's not quite
as straight-forward, though, since the OP was *relying* on the ability to
have the expression pre-evaluated before it hit OGNL.
--
View this message in context:
http://www.nabble.com/Struts-2.0.11-from-2.0.9-EL-Expression-problem-tp19100876p191
ote:
> From: Gabriel Belingueres <[EMAIL PROTECTED]>
> Subject: Re: Struts 2.0.11 from 2.0.9 EL Expression problem
> To: "Struts Users Mailing List"
> Date: Monday, August 25, 2008, 9:08 PM
> Please note that from S2 2.0.11.x it is illegal to call
> Struts tags
ired="${param.required}"
>/>
>
>
>
> label="${label}"
> list='list'
> listKey='${listKey}'
> listValue='${listValue}'
> headerKey="${param.defaultValue
tile.xml setting for generic select:
--
View this message in context:
http://www.nabble.com/Struts-2.0.11-from-2.0.9-EL-Expression-problem-tp19100876p19153375.html
Sent from the Struts - User mailing list archive at Nabble.com.
d "name") in
> >> the
> >> drop down box's value and display value. Any idea how I can work around
> >> this?
> >>
> >> Cheers.
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Struts-2.0.11-from-
gt; list
>> of object's id and it's name value for display.
>>
>> This however no longer works after updating to 2.0.11.2. Substituting ${}
>> with %{} only end it putting the literal value (e.g. "id" and "name") in
>> the
>> drop down b
"name" and the select drop would be shown with the list
> of object's id and it's name value for display.
>
> This however no longer works after updating to 2.0.11.2. Substituting ${}
> with %{} only end it putting the literal value (e.g. "id" and "name&
putting the literal value (e.g. "id" and "name") in the
drop down box's value and display value. Any idea how I can work around
this?
Cheers.
--
View this message in context:
http://www.nabble.com/Struts-2.0.11-from-2.0.9-EL-Expression-problem-tp19100876p19100876.h
10 matches
Mail list logo