[
https://issues.apache.org/jira/browse/CLK-755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ari Kast updated CLK-755:
-------------------------
Attachment: JspTemplateService.java
This class allows Panels to use JSP templates, just as they currently can use
Velocity or Freemarker.
To use, just set it up in click.xml in the same way as the other template
services, and make a JSP version of the Click error page.
> Click doesn't support JSP view templates for Panels
> ---------------------------------------------------
>
> Key: CLK-755
> URL: https://issues.apache.org/jira/browse/CLK-755
> Project: Click
> Issue Type: Improvement
> Environment: All environments. Note: using Firefox 3.6.12 on Ubuntu
> Linux 10.04.1, I was unable to type in the fields above, hence they are
> blank. I'll therefore fill out those fields here: Components:
> TemplateService. Versions: All. Fix Versions: Should generally work with
> any version
> Reporter: Ari Kast
> Attachments: JspTemplateService.java, JspTemplateService.java
>
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> Click claims to fully support JSP as a template rendering choice, alongside
> Velocity and Freemarker. However, it does not provide any
> JspTemplateService, and thus JSPs currently cannot be used for template-based
> rendering of Panel controls.
> I have therefore created a JspTemplateService class which can be used in the
> same way as Velocity and Freemarker (by configuring click.xml to use it), so
> that JSPs can be used to render Panel templates in the same way as the other
> supported template technologies. I'd like to contribute this class, called
> JspTemplateService, to Click so that Click can come closer to its stated goal
> of full JSP support.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira