
|
If you were logged in you would be able to see more operations.
|
|
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
Environment:
|
Window XP, uPortal_rel-2-5-1-quick-start
|
|
|
I am trying to create one portlet for rendering some binary content using exclusive window state. I created a link for the same.
This is the code which I used for generating the link
PortletURL url = renderResponse.createRenderURL();
WindowState w = new WindowState("exclusive");
url.setWindowState(w);
I am checking for the window state and if its binary, I set the content type to "application/msword" and write the content using renderResponse.getPortletOutputStream().write() method. But the content is not generated in a word file as expected, instead I got some junk characters in the browser.
|
|
Description
|
I am trying to create one portlet for rendering some binary content using exclusive window state. I created a link for the same.
This is the code which I used for generating the link
PortletURL url = renderResponse.createRenderURL();
WindowState w = new WindowState("exclusive");
url.setWindowState(w);
I am checking for the window state and if its binary, I set the content type to "application/msword" and write the content using renderResponse.getPortletOutputStream().write() method. But the content is not generated in a word file as expected, instead I got some junk characters in the browser. |
Show » |
|