[ 
https://issues.apache.org/jira/browse/SLING-567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618365#action_12618365
 ] 

Felix Meschberger commented on SLING-567:
-----------------------------------------

I assume the "user's point of view" is the "jsp programmer's point of view".

So the question is: How is the default defined in JSP for jsp:include ? The 
spec (2.1) says: "flush: Optional boolean attribute. If the value is true, the 
buffer is flushed now. The default value is false."

So I would say, we stay close to the JSP standard and do not introduce a 
different default value.


> sling.include inclides fragments in the wrong order
> ---------------------------------------------------
>
>                 Key: SLING-567
>                 URL: https://issues.apache.org/jira/browse/SLING-567
>             Project: Sling
>          Issue Type: Bug
>    Affects Versions: Scripting JSP 2.0.2
>            Reporter: Michael Marth
>
> (This is observed in revision 670551)
> consider a jsp "/apps/myapp/a.jsp" which contains:
> aaa
> <% sling.include(currentNode.getPath() + ".b.html"); %>
> and another jsp "/apps/myapp/b.jsp" which contains
> bbb
> if i execute /content/myapp/mynode.a.html i get
> bbb
> aaa
> expected result is:
> aaa
> bbb

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to