[ 
https://issues.apache.org/jira/browse/SLING-2864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Klco closed SLING-2864.
---------------------------

    Assignee: Dan Klco

Closed with the release of Sling JSP Taglib 2.2.0
                
> taglib 1.3 function's signature is invalid
> ------------------------------------------
>
>                 Key: SLING-2864
>                 URL: https://issues.apache.org/jira/browse/SLING-2864
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>            Reporter: Ondrej Florian
>            Assignee: Dan Klco
>            Priority: Minor
>             Fix For: Scripting JSP-Taglib 2.2.0
>
>         Attachments: taglib13.tld.patch
>
>
> when using taglib 1.3 function e.g.
> <%@taglib prefix="sling" uri="http://sling.apache.org/taglibs/sling/1.3"; %>
> <c:set var="currentResource" 
> value="${sling:getResource(resourceResolver,'/')}" />
> I am getting exception:
> Invalid syntax for function signature in TLD. Tag Library: sling, Function: 
> getResource (500)
> ====
> this is cased by invalid signature declarations in the tld file.
> for example:
>               <function-signature>org.apache.sling.api.resource.Resource
>                       
> getResource(org.apache.sling.api.resource.ResourceResolver,
>                       java.lang.String)
>               </function-signature>
> should be defined without any white space characters
> <function-signature>org.apache.sling.api.resource.Resource 
> getResource(org.apache.sling.api.resource.ResourceResolver,java.lang.String)</function-signature>
> NOTE: the JIRA appears to wrap the line anyways, basically the signature 
> should be on one line, no nice printing

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to