You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2016/02/26 15:46:18 UTC
[jira] [Resolved] (SLING-5563) Add a new Sling JSP file template
[ https://issues.apache.org/jira/browse/SLING-5563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Munteanu resolved SLING-5563.
------------------------------------
Resolution: Fixed
Fixed in [r1732495|https://svn.apache.org/r1732495]
> Add a new Sling JSP file template
> ---------------------------------
>
> Key: SLING-5563
> URL: https://issues.apache.org/jira/browse/SLING-5563
> Project: Sling
> Issue Type: Improvement
> Components: IDE
> Reporter: Robert Munteanu
> Assignee: Robert Munteanu
> Priority: Minor
> Fix For: Sling Eclipse IDE 1.1.0
>
>
> The template should be
> {code}
> <%@page session="false" import="org.apache.sling.api.resource.*, javax.jcr.*"%>
> <%@taglib prefix="sling" uri="http://sling.apache.org/taglibs/sling/1.0"%>
> <sling:defineObjects/>
> ${cursor}
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)