[ 
https://issues.apache.org/struts/browse/WW-2104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_41801
 ] 

James Holmes commented on WW-2104:
----------------------------------

Many thanks for opening the ticket and putting together the initial code! I am 
testing it now and it is working for me. The Displaytag library is now picking 
up objects on the valuestack.

One thing I noticed though is that you have to define the DispatcherServlet in 
web.xml using the specific name "dispatcherServlet". I'm wondering if there is 
a way to make this dynamic. By that I mean that you can use any name for the 
servlet and the Struts 2 portlet code will automatically find the servlet. If 
not, I propose we make the name be something like 
"Struts2PortletDispatcherServlet" that is more descriptive and less likely to 
have any name conflict with another servlet someone might have.

> Need to create StrutsRequestWrapper objects to resolve request attributes 
> from the value stack
> ----------------------------------------------------------------------------------------------
>
>                 Key: WW-2104
>                 URL: https://issues.apache.org/struts/browse/WW-2104
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Portlet Integration
>            Reporter: Nils-Helge Garli
>            Assignee: Nils-Helge Garli
>             Fix For: 2.1.0
>
>
> Since there is no wrapping of the render request when dispatching to the 
> JSPs, request attributes will not be resolved from the value stack, and tags 
> such as displaytag won't work unless objects are explicitly put on the 
> request as an attribute.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to