[ http://jira.codehaus.org/browse/DISPL-344?page=comments#action_65632 ] 

Eric Dalquist commented on DISPL-344:
-------------------------------------

Actually after looking over the spec again there may be a spec compliant way to 
implement this. Unfortunatly I believe it will only work using the latest 
versions of Tomcat 5.5 as the servlet container.

The portlet spec provides the requirement that a portlet and a servlet that 
share a web application context should also share the HttpSession that backs 
the PortletSession. With Tomcat this was only supported in 5.5 by the way of an 
empty session path configuration option.

The implementation would be to generate export links as URLs to the portlet 
export servlet. The portlet side export code would need to ensure the needed 
objects were accessible by the servlet via the Application scope of the 
PortletSession. The export Servlet would use the information on the URL and in 
the HttpSession to provide the view. This should work in any truely spec 
compliant environment. I unfortunatly don't have the cycles to implement this 
right now but I can provide insight and review if needed.

> Export failure running as Liferay portlet
> -----------------------------------------
>
>          Key: DISPL-344
>          URL: http://jira.codehaus.org/browse/DISPL-344
>      Project: DisplayTag
>         Type: Bug

>   Components: Export
>     Versions: 1.1
>     Reporter: Bill Joy
>     Priority: Blocker
>  Attachments: Capture-05-18-00001.png
>
>
> When click on any of the Export options, the content of the portlet is 
> replaced with the exported data.
> If do not add the "displaytag extensions" for JSR 168 portlet support, the 
> export feature works correctly.
> I consider this a blocker because without the portlet extensions the 
> "pagesize" table attribute has unacceptable behavior (so I have to choose 
> which feature I prefer to enable).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to