You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Don Brown (JIRA)" <ji...@apache.org> on 2007/05/20 06:08:42 UTC
[jira] Updated: (WW-1743) doubleselect has wrong doubleCssClass
[ https://issues.apache.org/struts/browse/WW-1743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Don Brown updated WW-1743:
--------------------------
Fix Version/s: (was: 2.0.8)
2.1.0
Agreed, but this type of change that could affect existing applications should be done in 2.1.x
> 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.1.0
>
>
> 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.