struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4432) The %{#attr.counter.index} is not working
Date Tue, 23 Dec 2014 21:16:13 GMT

    [ https://issues.apache.org/jira/browse/WW-4432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14257546#comment-14257546
] 

ASF subversion and git services commented on WW-4432:
-----------------------------------------------------

Commit ddac7f3a54917fd7249703e69c37ee96f79d27f7 in struts's branch refs/heads/develop from
[~lukaszlenart]
[ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=ddac7f3 ]

WW-4432 Fixes access to javax.servlet package


>  The %{#attr.counter.index} is not working
> ------------------------------------------
>
>                 Key: WW-4432
>                 URL: https://issues.apache.org/jira/browse/WW-4432
>             Project: Struts 2
>          Issue Type: Bug
>          Components: XML Configuration
>    Affects Versions: 2.3.20
>            Reporter: Alireza Fattahi
>            Priority: Minor
>             Fix For: 2.3.21
>
>
> Below code is not working in struts 2.3.20
> {code:html}
>  <c:forTokens items="${images}" delims="," var="imagevar" varStatus="counter" begin="1">
                   
> <s:text name="site.intro.intro%{#attr.counter.index}.caption"/>        
> </c:forTokens>
> {code}
> The {{%\{#attr.counter.index\}}} is not returning any value and no exception is thrown
in the log the below message is shown:
> {noformat}
> WARN  ognl.SecurityMemberAccess      Package of target [javax.servlet.jsp.jstl.core.LoopTagSupport$1Status@680cabbd]
or package of member [public int javax.servlet.jsp.jstl.core.LoopTagSupport$1Status.getIndex()]
are excluded!
> {noformat}
> When I set struts.excludedPackageNamePatterns to empty, it works!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message