You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Simon Kitching (JIRA)" <de...@myfaces.apache.org> on 2005/11/15 23:53:28 UTC

[jira] Created: (MYFACES-828) HtmlCheckboxRenderer ignores readonly

HtmlCheckboxRenderer ignores readonly
-------------------------------------

         Key: MYFACES-828
         URL: http://issues.apache.org/jira/browse/MYFACES-828
     Project: MyFaces
        Type: Bug
    Reporter: Simon Kitching


The readonly attribute can be defined on an h:selectBooleanCheckbox. However the HtmlCheckboxRenderer doesn't seem to ever look for this attribute.
The same issue is present for t:selectBooleanCheckbox.

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


[jira] Commented: (MYFACES-828) HtmlCheckboxRenderer ignores readonly

Posted by "Dave Brondsema (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-828?page=comments#action_12414116 ] 

Dave Brondsema commented on MYFACES-828:
----------------------------------------

Anyone want to apply this patch?  Or do you think it needs some modification?

> HtmlCheckboxRenderer ignores readonly
> -------------------------------------
>
>          Key: MYFACES-828
>          URL: http://issues.apache.org/jira/browse/MYFACES-828
>      Project: MyFaces Core
>         Type: Bug

>     Reporter: Simon Kitching
>     Assignee: Simon Kitching
>  Attachments: readonlyAsDisabledForSelects.patch, readonlyAsDisabledForSelects.patch
>
> The readonly attribute can be defined on an h:selectBooleanCheckbox. However the HtmlCheckboxRenderer doesn't seem to ever look for this attribute.
> The same issue is present for t:selectBooleanCheckbox.

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


[jira] Updated: (MYFACES-828) HtmlCheckboxRenderer ignores readonly

Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-828?page=all ]

Martin Marinschek updated MYFACES-828:
--------------------------------------

           Status: Resolved  (was: Patch Available)
    Fix Version/s: 1.1.5-SNAPSHOT
       Resolution: Fixed
         Assignee: Martin Marinschek  (was: Simon Kitching)

Thanks to Dave Brondsema for this patch. I added the option to MyFacesConfig.

regards,

Martin

> HtmlCheckboxRenderer ignores readonly
> -------------------------------------
>
>                 Key: MYFACES-828
>                 URL: http://issues.apache.org/jira/browse/MYFACES-828
>             Project: MyFaces Core
>          Issue Type: Bug
>            Reporter: Simon Kitching
>         Assigned To: Martin Marinschek
>             Fix For: 1.1.5-SNAPSHOT
>
>         Attachments: readonlyAsDisabledForSelects.patch, readonlyAsDisabledForSelects.patch
>
>
> The readonly attribute can be defined on an h:selectBooleanCheckbox. However the HtmlCheckboxRenderer doesn't seem to ever look for this attribute.
> The same issue is present for t:selectBooleanCheckbox.

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

        

[jira] Commented: (MYFACES-828) HtmlCheckboxRenderer ignores readonly

Posted by "Dave Brondsema (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-828?page=comments#action_12363146 ] 

Dave Brondsema commented on MYFACES-828:
----------------------------------------

And menus.

Best suggestion so far is to use javascript and also check the values after submission to make sure they weren't changed.  http://marc.theaimsgroup.com/?l=myfaces-user&m=113526364404136&w=2

> HtmlCheckboxRenderer ignores readonly
> -------------------------------------
>
>          Key: MYFACES-828
>          URL: http://issues.apache.org/jira/browse/MYFACES-828
>      Project: MyFaces
>         Type: Bug
>     Reporter: Simon Kitching

>
> The readonly attribute can be defined on an h:selectBooleanCheckbox. However the HtmlCheckboxRenderer doesn't seem to ever look for this attribute.
> The same issue is present for t:selectBooleanCheckbox.

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


[jira] Updated: (MYFACES-828) HtmlCheckboxRenderer ignores readonly

Posted by "Dave Brondsema (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-828?page=all ]

Dave Brondsema updated MYFACES-828:
-----------------------------------

    Status: Patch Available  (was: Open)

> HtmlCheckboxRenderer ignores readonly
> -------------------------------------
>
>          Key: MYFACES-828
>          URL: http://issues.apache.org/jira/browse/MYFACES-828
>      Project: MyFaces Core
>         Type: Bug

>     Reporter: Simon Kitching
>     Assignee: Simon Kitching
>  Attachments: readonlyAsDisabledForSelects.patch, readonlyAsDisabledForSelects.patch
>
> The readonly attribute can be defined on an h:selectBooleanCheckbox. However the HtmlCheckboxRenderer doesn't seem to ever look for this attribute.
> The same issue is present for t:selectBooleanCheckbox.

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


[jira] Commented: (MYFACES-828) HtmlCheckboxRenderer ignores readonly

Posted by "Dennis Byrne (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-828?page=comments#action_12363149 ] 

Dennis Byrne commented on MYFACES-828:
--------------------------------------

Same thing for @onblur and @onfocus for h:commandLink and t:commandLink .  The RI does not do this.

> HtmlCheckboxRenderer ignores readonly
> -------------------------------------
>
>          Key: MYFACES-828
>          URL: http://issues.apache.org/jira/browse/MYFACES-828
>      Project: MyFaces
>         Type: Bug
>     Reporter: Simon Kitching

>
> The readonly attribute can be defined on an h:selectBooleanCheckbox. However the HtmlCheckboxRenderer doesn't seem to ever look for this attribute.
> The same issue is present for t:selectBooleanCheckbox.

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


[jira] Commented: (MYFACES-828) HtmlCheckboxRenderer ignores readonly

Posted by "Dave Brondsema (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-828?page=comments#action_12360325 ] 

Dave Brondsema commented on MYFACES-828:
----------------------------------------

This applies to selectOneRadio also

> HtmlCheckboxRenderer ignores readonly
> -------------------------------------
>
>          Key: MYFACES-828
>          URL: http://issues.apache.org/jira/browse/MYFACES-828
>      Project: MyFaces
>         Type: Bug
>     Reporter: Simon Kitching

>
> The readonly attribute can be defined on an h:selectBooleanCheckbox. However the HtmlCheckboxRenderer doesn't seem to ever look for this attribute.
> The same issue is present for t:selectBooleanCheckbox.

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