[
https://issues.apache.org/struts/browse/WW-1743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Musachy Barroso closed WW-1743.
-------------------------------
Resolution: Fixed
Fix Version/s: (was: 2.1.0)
2.0.8
IMO this fix won't affect existing applications because the 2 attributes
(doubleCssClass and doubleCssStyle) were completely ignored before.
> doubleselect has wrong doubleCssClass
> -------------------------------------
>
> Key: WW-1743
> URL: https://issues.apache.org/struts/browse/WW-1743
> Project: Struts 2
> Issue Type: Bug
> Components: Views
> Environment: Windows Xp, JDK 1.5
> Reporter: Semih ARAL
> Priority: Minor
> Fix For: 2.0.8
>
>
> doubleCssClass is wrong on doubleselect tag.
> it gets cssClass value.
> solution: Modify
> <#if parameters.cssClass?exists>
> class="${parameters.cssClass?html}"<#rt/>
> </#if>
> <#if parameters.cssStyle?exists>
> style="${parameters.cssStyle?html}"<#rt/>
> </#if>
> at struts2-core-2.0.1.jar : /template/simple/doubleselect.ftl
> as
> <#if parameters.doubleCssClass?exists>
> class="${parameters.doubleCssClass?html}"<#rt/>
> </#if>
> <#if parameters.doubleCssStyle?exists>
> style="${parameters.doubleCssStyle?html}"<#rt/>
> </#if>
> but this not sufficient. I guess that they are not populated either
> so in org.apache.struts2.views.jsp.ui.DoubleSelectTag at populateParams()
> doubleSelect.setCssClass(cssClass);
> doubleSelect.setCssStyle(cssStyle);
> must be added. Actually I didn't applied it!!! This solution may be deceiving.
> I think implementation of many detailed attributes begining with double are
> either missing or malfunctioning in doubleselect tag.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.