[Seaside] Any way to disable an anchor or a button?

Lukas Renggli renggli at gmail.com
Wed Dec 12 05:57:37 UTC 2007


> I prefer to keep them visible but disabled even when some model state
> prohibits their execution. How might I do this for both anchors and buttons?

html anchor url: '#'; class: 'disabled'; with: 'Disabled Anchor'.

html submitButton disabled: true; text: 'Disabled Button'.

Cheers,
Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside mailing list