On Saturday 11 July 2009 14:02:15 Dimitrios Christodoulakis wrote:
> Yes, thanks for pointing out. The <s:set /> tag is not required so I
> removed it and it works. Kind of wondering how the display tag reaches
> the valuestack though, or does it access the first property it finds
> in the scope?
>

I can't remember the exact details, but I think we wrap the request with a 
wrapper class (called StrutsRequestWrapper?) and when ELs and other taglibs 
like displaytag want to find values the wrapper will check the value stack in 
addition to the traditional locations. It's quite convenient for cases like 
you describe.

-Wes
-- 
Wes Wannemacher
Author - Struts 2 In Practice 
Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more
http://www.manning.com/wannemacher

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

Reply via email to