struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Musachy Barroso" <musa...@gmail.com>
Subject Re: [S2] TabbedPanel Events
Date Thu, 27 Sep 2007 18:58:12 GMT
Try to listen to a topic with the name: widgetId + "-selectChild"
(hardcoded in dojo's code), let's say that your tab pannel is
something like:

<s:tabbedPanel id="myTab" ...

Add this to your page

dojo.event.topic.subscribe("myTab-selectChild", function(tab) {
   do something
});

regards

musachy

On 9/27/07, Hoying, Ken <Ken_Hoying@premierinc.com> wrote:
> It looks like version 2.1 will contain the ability to capture events in
> the TabbedPanel.
>
> We are currently using v2.0.6 and need to be able to capture a change in
> tab.  Has anyone come across a solution for this?
>
> Thank you!
>
>
>
>
> -----------------------------------------
> ***Note:The information contained in this message may be privileged
> and confidential and protected from disclosure. If the reader of
> this message is not the intended recipient, or an employee or agent
> responsible for delivering this message to the intended recipient,
> you are hereby notified that any dissemination, distribution or
> copying of this communication is strictly prohibited. If you have
> received this communication in error, please notify the Sender
> immediately by replying to the message and deleting it from your
> computer. Thank you. Premier Inc.


-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message