myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Robinson <>
Subject Re: Re: Proposal: true readonly Checkboxes as gif image
Date Thu, 22 Dec 2005 15:00:13 GMT
I would probably vote for javascript that always sets the value of the
checkbox back to the original value on check. That way it still looks
correct, but the user cannot change its value. The only problem I could see
is to make sure a value isn't posted back if possible, otherwise someone
could just disable the javascript, change the value and then submit

On 12/21/05, Yee CN <> wrote:
> You are right Greg - there are many limitations of html that we have to
> live
> with and many 'hack's to work around them. JSF is a perfect place to
> consolidate these 'hack's and give us a more decent framework to work
> with.
> Regards,
> Yee
> -----Original Message-----
> From: []
> Sent: Wednesday, 21 December 2005 11:42 PM
> To:;
> Subject: RE: Re: Proposal: true readonly Checkboxes as gif image
> Mmh... That's what I was thinking. In any case, there are some other
> problems like these that I've had to cope with, such as a text limit on
> a textarea (not just the jsf version but the html component as well, and
> I imagine it's the same for the checkbox problem you're having). It'd be
> simple to do add that property on the myfaces component that would add
> the javascript "hack" many use to overcome that problem to the page.
> I would imagine something similar could be done for the checkbox as a
> 'hack' as well?
> Greg

View raw message