Re: chart in jboss portal
Nils-Helge Garli <[email protected]>
| Newsgroups | gmane.comp.java.open-symphony.webwork |
|---|---|
| Message-ID | <12087387.1145263674345.JavaMail.os-j2ee@opensymphony01.managed.contegix.com> |
Sorry, my mistake. It's getPortletOutputStream as you say. Didn't have the javadoc in front of me, so took an "educated guess" ;)
You might have to define in portlet.xml that you will support image/png as content type. Try doing something like
[code]
<supports>
<mime-type>text/html</mime-type>
<mime-type>image/png</mime-type>
<portlet-mode>EDIT</portlet-mode>
<portlet-mode>HELP</portlet-mode>
</supports>
[/code]
According to the portlet spec, the method "getResponseContentTypes" of the portlet request should return all the content types supported by the portlet. You could try logging this as well, to see what content types it supports.
Nils-H
Message was edited by:
Nils-Helge Garli
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=25758&messageID=51612#51612
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]