Hmm… I have not considered that
checkboxes can look different on different browsers. I switch between Firefox
and IE often – checkboxes look the same on both to my naked eyes. To fill you in with the discussions –
selectBooleanCheckbox will render as a html <input type=”checkbox”>,
which ignores the readonly attribute. So semantically it is wrong to have the
readonly attribute for selectBooleanCheckbox and selectManyCheckbox. Furthermore
to make a checkbox readonly we have to specify enabled=false – and it
grey out the checkboxes which I really hated. Regards, Yee From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Just out of curiosity, how would we handle
different styles of checkboxes rendered by browsers (e.g. checkboxes in IE/XP
with XP theme vs. classic theme just to mention one)? I’m not questioning
the purpose of the thing, I have not followed that discussion, it’s just
the implementation that I’m wondering about. Greg From: Yee CN
[mailto:[EMAIL PROTECTED] Following the recent discussions on the inconsistencies of
the readonly attribute of selectOneCheckbox and selectManyCheckbox, I
like to make a simple proposal to fix the problem – by rendering a
readonly checkbox with a look alike gif image. I think this simple fix will make many people very happy. I
have been wishing for something like this for years – and I think I am
not alone. Many thanks in advance, and cheers to myfaces contributors. Regards, Yee |
- RE: Proposal: true readonly Checkboxes as gif image Yee CN