Hi,

I'm using Struts 2 and I'm trying to get the UI tag "label" to appear to the
immediate left of a combobox that does not come from the Struts 2 tag
library.  If I were using the a predefined Struts 2 tag like <s:combobox
.../> the layout would look like this...

+-------------------------------------------------+
 | Name : COMBOBOX_HERE        |
+-------------------------------------------------+

However, in my case the label and combobox look like this...
+-------------------------------------------------+
 | COMBOBOX_HERE                    |
+-------------------------------------------------+
+-------------------------------------------------+
 | Name :                                      |
+-------------------------------------------------+


Does anyone have any ideas as to how to fix this?  Here's a snippet of the
code...


<s:form id="PREFS-FORM">
<s:label key="STATES"/>
<select dojoType='combobox' style='width: 300px;' id='autocompleter'
autoComplete='true'  mode='local'>
   <option value="AL">Alabama</option>
   <option value="AK">Alaska</option>
</select>
</s:form>

Cheers,
Keith

Reply via email to