Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 78963 invoked from network); 28 May 2007 04:08:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 May 2007 04:08:04 -0000 Received: (qmail 86811 invoked by uid 500); 28 May 2007 04:08:00 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 85809 invoked by uid 500); 28 May 2007 04:07:58 -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 85798 invoked by uid 99); 28 May 2007 04:07:58 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 May 2007 21:07:58 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 May 2007 21:07:51 -0700 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1HsWW3-0007Lq-9Z for user@struts.apache.org; Sun, 27 May 2007 21:07:31 -0700 Message-ID: <10830940.post@talk.nabble.com> Date: Sun, 27 May 2007 21:07:31 -0700 (PDT) From: Guillote To: user@struts.apache.org Subject: Problem to subscribe a topic when trying to subscribe from an ajax called page. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: guillermo.caporale@dequo.com X-Virus-Checked: Checked by ClamAV on apache.org What am i trying to do? -I need to publish a topic (dojo.event.topic.publish) on the event onchange of a select tag. The workflow is: -First i access an action that prints index.jsp page. -Then from that index.jsp i have a link (ajax) that loads an action in a div (id="myCalendarDiv") -This loads mycalendar.jsp in the div myCalendarDiv -In that page i have another ajax link that loads mycalendar_planner.jsp. This last page "mycalendar_planner.jsp" has a s:select tag. In the onchange event, it tries to publish a topic "updateReportsListTopic". Now the problem: -If i susbscribe the topic in the first page "index.jsp" (the only page that wasn't call by ajax), it works. -But if i try to subscribe the topic in the mycalendar_planner.jsp (it doesn't works). The problem is that i need to subscribe the topic in this last page. If somebody has any idea of what can be wrong, or how to solve, i would really appreciate, cause i already tried everything, and searched all the web without results. Thanks in advance!! Guillermo I attached some code from 3 jsp files mentioned for reference: -the links -the subscription method -the publish method index.jsp My Calendar mycalendar.jsp pic/button/planner_calendar.png mycalendar_planner.jsp -- View this message in context: http://www.nabble.com/Problem-to-subscribe-a-topic-when-trying-to-subscribe-from-an-ajax-called-page.-tf3825935.html#a10830940 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org