[gatein-issues] [JBoss JIRA] Assigned: (GTNPORTAL-1628) Comment in UIPortalApplication.gtmpl is rendered in HTML response

Vu Viet Phuong (JIRA) jira-events at lists.jboss.org
Fri Nov 12 05:24:30 EST 2010


     [ https://jira.jboss.org/browse/GTNPORTAL-1628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vu Viet Phuong reassigned GTNPORTAL-1628:
-----------------------------------------

    Assignee: Vu Viet Phuong


> Comment in UIPortalApplication.gtmpl is rendered in HTML response
> -----------------------------------------------------------------
>
>                 Key: GTNPORTAL-1628
>                 URL: https://jira.jboss.org/browse/GTNPORTAL-1628
>             Project: GateIn Portal
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 3.1.0-GA
>         Environment: EPP 5.1 ER3
>            Reporter: Marek Posolda
>            Assignee: Vu Viet Phuong
>            Priority: Minor
>   Original Estimate: 30 minutes
>  Remaining Estimate: 30 minutes
>
> When sending request to portal, I am seeing this at the beginning of HTML response:
>      <script type="text/javascript">
>      // This variable must be used only to initialize other variables otherwise
>      // please use eXo.env.portal.context or eXo.env.portal.context instead
>      // Those 2 last variables cannot be used to initialize variables because 
>      // we cannot be sure that they will be initialized before initializing your script
>       var currentContext = '/portal' ;
>     </script>  
> I wonder if it's possible to enclose the comment in groovy template within <% %> so that it won't be rendered in HTML? It can save us around 300 characters in each non-ajax HTML response.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the gatein-issues mailing list