[Seaside] jQButton - adding additional classes

John Toohey jt at parspro.com
Thu Apr 7 04:37:35 UTC 2011


On what? The JQButton classes do not have any class methods. Do you have a
code snippet for what you mean?

On Wed, Apr 6, 2011 at 23:50, Robert Sirois <watchlala at hotmail.com> wrote:

>  Toggle class?
>
> RS
>
> ------------------------------
> Date: Wed, 6 Apr 2011 23:10:44 -0400
> From: jt at parspro.com
> To: seaside at lists.squeakfoundation.org
> Subject: [Seaside] jQButton - adding additional classes
>
>
> Hi,
> 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
>     bePush;
>     script: ((html jQuery this) button primaryIcon: 'ui-icon-refresh';
> text: true);
>     onClick: ((html jQuery ajax) callback: []);
>     with: 'Update'.
>
> and would like to (conditionally) add the 'ui-state-disabled'.
>
> --
> ~JT
>
>
>
> _______________________________________________ seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>


-- 
~JT
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110407/abc7fd4d/attachment-0001.htm


More information about the seaside mailing list