[Seaside] jQButton - adding additional classes

John Toohey jt at parspro.com
Thu Apr 7 03:10:44 UTC 2011

I want to add 'ui-state-disabled' to a JQButton. The widget hierarchy does
not respond to #addClass and if I add it to the WAButton, its
ignored/over-written by the jQuery script.  Using #option:at gives me the
desired class, but removes all the others.

I'm using it like this :-

html button
    script: ((html jQuery this) button primaryIcon: 'ui-icon-refresh'; text:
    onClick: ((html jQuery ajax) callback: []);
    with: 'Update'.

and would like to (conditionally) add the 'ui-state-disabled'.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110406/91bdf1d0/attachment.htm

More information about the seaside mailing list