Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 25300 invoked from network); 6 Sep 2007 13:32:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Sep 2007 13:32:19 -0000 Received: (qmail 61510 invoked by uid 500); 6 Sep 2007 13:32:04 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 61484 invoked by uid 500); 6 Sep 2007 13:32:04 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 61473 invoked by uid 99); 6 Sep 2007 13:32:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2007 06:32:04 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of musachy@gmail.com designates 209.85.198.184 as permitted sender) Received: from [209.85.198.184] (HELO rv-out-0910.google.com) (209.85.198.184) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2007 13:31:59 +0000 Received: by rv-out-0910.google.com with SMTP id c24so121002rvf for ; Thu, 06 Sep 2007 06:31:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=KRKnGUJsqJ22taM2JT+sP9NTwPI5Yl+YhTajAPcZUkk=; b=g/P5YXkJCu5w9w3pOkbonluG/6O85oj9mpMibs1C+MkKN8pIqJW0VLQ8SIlC8/0vCbx3LGySWi8R9Yvc2FHP7bp3S18ITDXZ7k36OCfF6GFmw6BaIrOVxXbxwp7aZcBo7AExfOpFVGPfBwdvRCoSboXjqPoB7MnLFEpjH05j+9Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SDRvPJcXGkM0STbv80/iJcINX2xRD7k4u/w5bZ/1eNDsrGFNeUX6mBODoTFJBWNJoIskLw/SJ2PkkotomtoFziBQessajMj2q9PekWkJVNcr29HARnyYtTScp87RrcdbmU48iUPkZDWSf6cfox+5H8tHaSZplInK9FbQ2RwC2KE= Received: by 10.141.142.15 with SMTP id u15mr237644rvn.1189085498779; Thu, 06 Sep 2007 06:31:38 -0700 (PDT) Received: by 10.140.249.11 with HTTP; Thu, 6 Sep 2007 06:31:38 -0700 (PDT) Message-ID: Date: Thu, 6 Sep 2007 09:31:38 -0400 From: "Musachy Barroso" To: "Struts Users Mailing List" Subject: Re: ajax problem In-Reply-To: <46C81F0F.4020508@blueskyminds.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <12220469.post@talk.nabble.com> <46C81F0F.4020508@blueskyminds.com.au> X-Virus-Checked: Checked by ClamAV on apache.org The topic is published before and after the request. There is a parameter to the topic that will be set to "before", "load" or "error" musachy On 8/19/07, Jeromy Evans wrote: > ptriller wrote: > > i am using an > > > > > > > > > > and I have some JavaScript Code that alters the links in the div. > > > > but when I get notified by the div tag through , the new content of the div > > has not yet > > been set, so I can't do that. > > > > Hi Peter, > > Apologies I can't give you can complete answer, but in Struts2.0, you're > right the notifyTopics event is published before the content is loaded. > > If you can use Struts 2.1 you may be able to use the afterNotifyTopics > attribute. Even though 2.1 isn't released yet, I found its ajax > features are less 'experimental' than 2.0.x > > If not, as the struts div is a dojo widget extending ContentPane I > suppose you should be able to use dojo directly to connect to an event > from the widget after its content is loaded. > I haven't tried it, but it's partially described at > http://dojotoolkit.org/book/dojo-book-0-4/part-4-more-widgets/advanced-contentpane-usage > > regards, > Jeromy Evans > > --------------------------------------------------------------------- > 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 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org