[jboss-jira] [JBoss JIRA] Created: (JBPORTAL-2443) Resource serving doesn't work with Partial refresh
Marek Posolda (JIRA)
jira-events at lists.jboss.org
Tue Aug 4 10:46:43 EDT 2009
Resource serving doesn't work with Partial refresh
--------------------------------------------------
Key: JBPORTAL-2443
URL: https://jira.jboss.org/jira/browse/JBPORTAL-2443
Project: JBoss Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 2.7.2 Final
Environment: JBoss Portal 27 - compiled from branch https://svn.jboss.org/repos/portal/branches/JBoss_Portal_Branch_2_7/
JBoss AS 4.2.3.GA
Sun JDK 1.5
Reporter: Marek Posolda
Fix For: 2.8 Final
Resource serving doesn't work correctly on portlets, which have partial refresh property enabled (Portlet is on the page with enabled partial refresh). If you have this in your portlet doView method:
ResourceURL resUrl = response.createResourceURL();
response.getWriter().write("<div><a href=\"" + resUrl.toString() + "\">Resource URL</a></div><br>");
and you click to the link, then serveResource method is invoked but nothing is displayed in the browser and there is Javascript error. The same situation occured when you use form instead of link
response.getWriter().write("<form method=\"POST\" action=\"" + resUrl + "\"><input type=\"submit\" value=\"Submit\"></form>");
Please look to https://jira.jboss.org/jira/browse/JBPORTAL-2377 when is described the easy scenario how the error could be simulated with usage of Header Portlet from portal-samples-basic.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list