labelposition=left does not work (the label is always on the right).
Attached is a revision to template/css_xhtml/checkbox.ftl which fixes 
this problem. http://www.nabble.com/file/148/checkbox.ftl checkbox.ftl 

HTML BEFORE THE FIX:
<div id="wwgrp_item_form_item_enabled" class="wwgrp">
        <span id="wwctrl_item_form_item_enabled" class="wwctrl">
                <input type="checkbox" name="item.enabled" value="true"
id="item_form_item_enabled"/>
                <input type="hidden" name="__checkbox_item.enabled" 
value="true"/>
        </span>  
        <span id="wwlbl_item_form_item_enabled" class="wwlbl">
                <label for="item_form_item_enabled" 
class="checkboxLabel">Enabled</label>
        </span> 
</div>

HTML AFTER THE FIX:
<div id="wwgrp_item_form_item_enabled" class="wwgrp">
        <span id="wwlbl_item_form_item_enabled" class="wwlbl">
                <label for="item_form_item_enabled" 
class="checkboxLabel">Enabled</label>
        </span>
        <span id="wwctrl_item_form_item_enabled" class="wwctrl">
                <input type="checkbox" name="item.enabled" value="true"
id="item_form_item_enabled"/>
                <input type="hidden" name="__checkbox_item.enabled" 
value="true"/>
        </span> 
</div>
-- 
View this message in context: 
http://www.nabble.com/-s2--fixed-checkbox-for-css_xhtml-tf2335096.html#a6497544
Sent from the Struts - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to