You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Mike McMahon (JIRA)" <ji...@apache.org> on 2006/09/26 02:09:31 UTC

[jira] Created: (WW-1455) [s2] fixed checkbox for css_xhtml -

[s2] fixed checkbox for css_xhtml  -
------------------------------------

                 Key: WW-1455
                 URL: http://issues.apache.org/struts/browse/WW-1455
             Project: Struts 2
          Issue Type: Bug
    Affects Versions: 2.0.0, 2.0.1
            Reporter: Mike McMahon


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.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>

-- 
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

        

[jira] Assigned: (WW-1455) [s2] fixed checkbox for css_xhtml -

Posted by "Rainer Hermanns (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/struts/browse/WW-1455?page=all ]

Rainer Hermanns reassigned WW-1455:
-----------------------------------

    Assignee: Rainer Hermanns

> [s2] fixed checkbox for css_xhtml  -
> ------------------------------------
>
>                 Key: WW-1455
>                 URL: http://issues.apache.org/struts/browse/WW-1455
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: Future
>            Reporter: Mike McMahon
>         Assigned To: Rainer Hermanns
>             Fix For: 2.0.2
>
>         Attachments: checkbox.ftl
>
>
> 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.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>

-- 
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

        

[jira] Updated: (WW-1455) [s2] fixed checkbox for css_xhtml -

Posted by "Ted Husted (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/struts/browse/WW-1455?page=all ]

Ted Husted updated WW-1455:
---------------------------

    Fix Version/s: 2.0.2

> [s2] fixed checkbox for css_xhtml  -
> ------------------------------------
>
>                 Key: WW-1455
>                 URL: http://issues.apache.org/struts/browse/WW-1455
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: Future
>            Reporter: Mike McMahon
>             Fix For: 2.0.2
>
>         Attachments: checkbox.ftl
>
>
> 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.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>

-- 
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

        

[jira] Updated: (WW-1455) [s2] fixed checkbox for css_xhtml -

Posted by "Mike McMahon (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/struts/browse/WW-1455?page=all ]

Mike McMahon updated WW-1455:
-----------------------------

    Attachment: checkbox.ftl

> [s2] fixed checkbox for css_xhtml  -
> ------------------------------------
>
>                 Key: WW-1455
>                 URL: http://issues.apache.org/struts/browse/WW-1455
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.0, 2.0.1
>            Reporter: Mike McMahon
>         Attachments: checkbox.ftl
>
>
> 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.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>

-- 
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

        

[jira] Resolved: (WW-1455) [s2] fixed checkbox for css_xhtml -

Posted by "Rainer Hermanns (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/struts/browse/WW-1455?page=all ]

Rainer Hermanns resolved WW-1455.
---------------------------------

    Resolution: Fixed

Fixed as Rev 476129.
Thanks for the patch

> [s2] fixed checkbox for css_xhtml  -
> ------------------------------------
>
>                 Key: WW-1455
>                 URL: http://issues.apache.org/struts/browse/WW-1455
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: Future
>            Reporter: Mike McMahon
>         Assigned To: Rainer Hermanns
>             Fix For: 2.0.2
>
>         Attachments: checkbox.ftl
>
>
> 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.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>

-- 
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