struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cilquirm <aadi.deshpa...@gmail.com>
Subject Re: RE : Orthognal OGNL!
Date Mon, 09 Jul 2007 18:16:46 GMT

the easiest solution would be to s:set the property name you want to
reference with a different name

<s:set value="myprop" name="mynewname"/>

and then access it in your loop under the new name.

<s:iterator ...>

 <s:property value="#mynewname"/>

</s:iterator>



stanlick wrote:
> 
> There is no searching up the stack beyond the top?
> 
> On 7/9/07, Dave Newton <newton.dave@yahoo.com> wrote:
>>
>> --- Big Stick <stanlick@gmail.com> wrote:
>> > But it's a property on the Action!
>>
>> <s:iterator.../> pushes each iteration onto the value
>> stack. So what's at the top then? Not the action (or
>> model), but each element of the iteration.
>>
>> d.
>>
>>
>>
>>
>>
>> ____________________________________________________________________________________
>> Be a better Heartthrob. Get better relationship answers from someone who
>> knows. Yahoo! Answers - Check it out.
>> http://answers.yahoo.com/dir/?link=list&sid=396545433
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
> 
> 
> -- 
> Scott
> stanlick@gmail.com
> 
> 

-- 
View this message in context: http://www.nabble.com/Orthognal-OGNL%21-tf4048748.html#a11506986
Sent from the Struts - User mailing list archive at Nabble.com.


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


Mime
View raw message