I'm moving a Struts 2 app from a standard Web app to being a portlet. During the process, my Displaytag instances started failing. They weren't finding any data. I tracked down the problem to the fact that Displaytag looks for the list of data it displays in request scope. This worked fine when run as a standard Web app because StrutsRequestWrapper.getAttribute() looks up objects on the Struts 2 valuestack. Portlet requests are not wrapped with StrutsRequestWrapper, thus the getAttribute() method never gets called and objects on the Struts 2 valuestack are not interrogated.
For consistency (and just because it's incredibly useful functionality), the Struts 2 portlet code should also look up request objects on the valuestack. I'm not sure if the portlet mock servlet code that Nils-H checked in to the trunk yesterday fixes this issue. If not, I can open a JIRA ticket to address this. I wanted to check with everyone, most specifically Nils-H, about this before I opened a JIRA ticket. Thoughts? James --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]