[ https://issues.apache.org/jira/browse/WW-4142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13725499#comment-13725499 ]
Johannes Geppert commented on WW-4142: -------------------------------------- Hi Lukasz, I found a solution how to fix this in the Struts2 jQuery Plugin Templates. Both templates menu-close.ftl and accordion-close.ftl including a section to generate the items via the iterator tag. {code} <@s.iterator value="parameters.list" status="rowstatus"> </@s.iterator> {code} When I surround this tag with a list exists check the additional entries are gone away. {code} <#if parameters.list?? > <@s.iterator value="parameters.list" status="rowstatus"> </@s.iterator> </#if> {code} So the question is why the iterator tag iterates even when the list does not exists since version 2.3.15? Johannes > jQuery plugin menu tag renders an unexpected toString() after upgrading to > 2.3.15 > --------------------------------------------------------------------------------- > > Key: WW-4142 > URL: https://issues.apache.org/jira/browse/WW-4142 > Project: Struts 2 > Issue Type: Bug > Components: Core Actions > Affects Versions: 2.3.15, 2.3.15.1 > Environment: Struts2 jQuery Showcase > Reporter: Johannes Geppert > Fix For: 2.3.16 > > Attachments: struts2-jquery-menu-tag-problem.PNG, ww-4142.zip > > > After testing Struts2 jQuery Plugin with 2.3.15 the menu tag renders an > additional unexpected menu item. > <a href="javascript:void(0)"> > java.lang.Object@241e681f > </a> -- 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