You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Ted Husted (JIRA)" <ji...@apache.org> on 2006/12/31 04:48:57 UTC

[jira] Commented: (WW-1578) ComboBox works incorrect within

    [ http://issues.apache.org/struts/browse/WW-1578?page=comments#action_39204 ] 
            
Ted Husted commented on WW-1578:
--------------------------------

Are you using the default XHTML theme? 

The XHTML theme has built-in support for labels. You might want to try the simple theme instead. 

What does the CSS class "inp" do? 

What is the HTML output for your example? 

The combobox examples in Showcase, all use the label attribute, so we will need to add a new case to test this problem. 




> ComboBox works incorrect within <label>
> ---------------------------------------
>
>                 Key: WW-1578
>                 URL: http://issues.apache.org/struts/browse/WW-1578
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Views
>    Affects Versions: 2.0.2
>            Reporter: Vadim Homchik
>             Fix For: 2.0.2
>
>
> ...
> <label class="inp>
>   <s:combobox name="mycombo" list="{'test1', 'test2', 'test3'}"/>
> </label>
> In that situation label's size is incorrect.
> Probably the reason is in combobox.ftl. It includes text.ftl with its type (<input type="text" ...). 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira