[
https://jira.jboss.org/jira/browse/GTNPORTAL-553?page=com.atlassian.jira....
]
Trong Tran commented on GTNPORTAL-553:
--------------------------------------
Actually we are still able to include other template in a groovy template.
the problem here is the file name including "-" and it's a bug of Groovy
stuff that is reported This is a bug of Groovy which is reported already here
http://jira.codehaus.org/browse/GROOVY-3054
The temporary fix is to replace all the "-" to underscore "_" before
passing to be used in GroovyCodeSource
Render groovy template failed when used method "include" in
TemplateService
---------------------------------------------------------------------------
Key: GTNPORTAL-553
URL:
https://jira.jboss.org/jira/browse/GTNPORTAL-553
Project: GateIn Portal
Issue Type: Bug
Affects Versions: 3.0.0-Beta05
Environment: Windows Vista, Tomcat 6.0.16
Reporter: Minh Dang
Assignee: Trong Tran
Priority: Critical
Fix For: 3.0.0-CR01
Attachments: exception.txt, view1.gtmpl
Original Estimate: 1 day
Remaining Estimate: 1 day
When I used a groovy template file which contains the command: _ctx.include(), I met the
exception in the console and template can not render
I attached my view template and exception into this issue
--
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