struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Nesbitt <scottnesb...@yahoo.com>
Subject Re: S2: How to update two separate divs using one action call?
Date Tue, 12 Jun 2007 18:57:30 GMT

No, switching the order does not help.

I found a work-around for this, but it involves
another trip to the server so is not ideal.  Oh well,
thanks anyway.

Scott

--- Musachy Barroso <musachy@gmail.com> wrote:

> If you switch the order do they work? Not that it is
> mandatory but adding a
> semicolon at the end looks better :). You could also
> make them listen to a
> common topic an publish that one to make them
> refresh, in any case it should
> work they way you have it.
> 
> musachy
> 
> On 6/12/07, Scott Nesbitt <scottnesbitt@yahoo.com>
> wrote:
> >
> >
> > I have some code like this that is not working:
> >
> > dojo.event.topic.subscribe("/refreshTopic",
> > function(data, type, e)
> > {
> >    if ('load' == type)
> >    {
> >
> > dojo.event.topic.publish("/refreshCableHeadends")
> >       dojo.event.topic.publish("/refreshTDGrid")
> >
> >       return;
> >    }
> > }
> >
> > Only the first div (from refreshCableHeadends) is
> > being refreshed, other one is being ignored.
> >
> > Any ideas or suggestions?  I tried chaining them
> > together, that did not work either.
> >
> > Thanks,
> >
> > Scott
> >
> >
> >
> >
> >
> >
>
____________________________________________________________________________________
> > Take the Internet to Go: Yahoo!Go puts the
> Internet in your pocket: mail,
> > news, photos & more.
> > http://mobile.yahoo.com/go?refer=1GNXIC
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> user-unsubscribe@struts.apache.org
> > For additional commands, e-mail:
> user-help@struts.apache.org
> >
> >
> 
> 
> -- 
> "Hey you! Would you help me to carry the stone?"
> Pink Floyd
> 



      ___________________________________________________________________________________
You snooze, you lose. Get messages ASAP with AutoCheck
in the all-new Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_html.html

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


Mime
View raw message