not 100% sure, but you could try:
<input type="checkbox" onclick="return false;" readonly="readonly" />

On Nov 17, 2007 2:28 AM, mclev <[EMAIL PROTECTED]> wrote:

>
>
>
> Nick Heudecker wrote:
> >
> >
> > For textareas and textfields I always do "onfocus='this.blur();'".  It
> > might
> > work for checkboxes as well.
> >
> >
>
> Nick, tried this, didn't work. Also tried the readonly property and it
> didn't work. Thought about using the setEditable=false, but it doesn't
> look
> right.
>
> Think I will probably end up overriding the newCell method in the
> PropertyRenderableColumn class to return a special icon depending on the
> true/false value of my property.
>
> matt clevenger.
> --
> View this message in context:
> http://www.nabble.com/Readonly-checkbox-tf4822650.html#a13805025
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.0-rc1 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/

Reply via email to