Re: Request scoped data in Struts2

2008-04-08 Thread Dave Newton
--- Raghuveer Kumarakrishnan <[EMAIL PROTECTED]> wrote: > My point is just having getters for an Action property should suffice for > it to be accessed in the view by any tag library. I don't know as this is correct for *any* tag library. It works for S2 tags that use OGNL, because S2 tags evalue

Re: Request scoped data in Struts2

2008-04-08 Thread Raghuveer Kumarakrishnan
My point is just having getters for an Action property should suffice for it to be accessed in the view by any tag library. Chris Pratt <[EMAIL PROTECTED]> wrote: You are correct. In that case, is equivalent to calling request.put("someName",action.getSomeName()); in an Action that imple

Re: Request scoped data in Struts2

2008-04-08 Thread Chris Pratt
You are correct. In that case, is equivalent to calling request.put("someName",action.getSomeName()); in an Action that implements RequestAware. So when Display Tag processes The "someName" attribute is available when the JSP Tag Library (DisplayTag in this instance) calls pageContext.fin

Request scoped data in Struts2

2008-04-08 Thread Raghuveer Kumarakrishnan
This doc seems to suggest that even request scoped data needs to explicitly set using to be used by tag libraries like jsp taglib or displaytag http://struts.apache.org/2.x/docs/exposing-framework-objects-to-jstl-with-a-jstl-and-displaytag-example.html But for request scoped