[Seaside] Disabled Checkboxes
mlq at codedaemon.com
Mon Jul 11 13:54:12 CEST 2005
You could always "fake" disabled -- Use CSS to make it "look" like a
disabled checkbox, and then use "onFocus='blur()' onClick='return
On Mon, 2005-07-11 at 19:19 +0800, Yar Hwee Boon wrote:
> On 11-Jul-05, at PM 06:57, Avi Bryant wrote:
> > So, I don't have any obvious solutions to propose to this problem.
> > Anyone have further ideas?
> Since a checkbox doesn't actually send true/false to indicate its
> status (rather it sends the value specified to indicated its enabled
> form submit, always set each checkbox to enabled and change the value
> to say, "true"/"false"/"disabled" and modify
> #checkboxWithValue:callback: to check this value in the callback
> provided to #valueInputOfType:value:callback:. But it is probably not
> worth the added complexity and dependency (on JS).
> (65) 6764-9774
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
More information about the Seaside