[gatein-issues] [JBoss JIRA] (GTNPORTAL-2374) Portlet edit mode css are broken in the page editor

Vu Viet Phuong (JIRA) jira-events at lists.jboss.org
Wed Mar 14 23:33:47 EDT 2012


    [ https://issues.jboss.org/browse/GTNPORTAL-2374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12676935#comment-12676935 ] 

Vu Viet Phuong commented on GTNPORTAL-2374:
-------------------------------------------

- The problem is in org.exoplatform.portal.webui.application.UIPortletForm#getEditModeContent() --> it ignores portlet response properties (that contains extra markup headers)
- When refresh with UIPortletForm opened, portlet's doEdit() method is called twice (It actually only need one time). That's the reason why refresh browser bring extra markup header back
                
> Portlet edit mode css are broken in the page editor
> ---------------------------------------------------
>
>                 Key: GTNPORTAL-2374
>                 URL: https://issues.jboss.org/browse/GTNPORTAL-2374
>             Project: GateIn Portal
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: PC integration, User Interface
>    Affects Versions: 3.2.0-CR01, 3.2.0-GA
>         Environment: Tested on Linux Ubuntu, Windows 7, Windows server 2003 with tomcat 6 & 7 and jboss 6
>            Reporter: donino doninos
>            Assignee: Matt Wringe
>
> The custom 286 Portlets use the doHeaders method to include the required css and javascript files. It works both in view mode and in edit mode in the standard portlet windows, but in the  page editor the css/js are broken, therefore the edit mode cannot be displayed correctly. 
> If the css/js are directly  included in the jsp files then it works. Currently in order to work in any portal sections, it seems the resource files need to be included both in the doHeaders method and in jsp files, whereas the doHeaders include should be sufficient. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the gatein-issues mailing list