My team is currently working on a project where we need to export some search results from a jsr portlet into excel. The search results portlet has a Excel Export button and when the user clicks this it does a form post to the server. The server is getting the data we need to export however the data is going through setRenderParameter and it is hitting some sort of size limit thus causing the excel export to fail. Does anyone know a way around this or perhaps another way to accomplish this?
We got this workign by doing the following; figured I woudl post it if somepone else comes across it.
The issue was solved by using the PortletSession setAttribute; see the snippet below: