]
Minh Hoang TO resolved GTNPORTAL-1628.
--------------------------------------
Fix Version/s: 3.2.0-GA
Resolution: Done
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
Labels: portal-s42, worked
Fix For: 3.2.0-GA
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.
-
For more information on JIRA, see: