Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 40065 invoked from network); 2 Aug 2007 18:37:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Aug 2007 18:37:32 -0000 Received: (qmail 92794 invoked by uid 500); 2 Aug 2007 18:37:23 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 92769 invoked by uid 500); 2 Aug 2007 18:37:23 -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 92758 invoked by uid 99); 2 Aug 2007 18:37:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Aug 2007 11:37:23 -0700 X-ASF-Spam-Status: No, hits=4.4 required=10.0 tests=RCVD_IN_SBL,SPF_NEUTRAL,SUBJECT_FUZZY_TION X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [192.18.98.31] (HELO brmea-mail-1.sun.com) (192.18.98.31) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Aug 2007 18:36:57 +0000 Received: from fe-amer-04.sun.com ([192.18.108.178]) by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id l72IarDC027484 for ; Thu, 2 Aug 2007 18:36:53 GMT Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) id <0JM500L01SQVB700@mail-amer.sun.com> (original mail from mihel@bigfoot.com) for user@struts.apache.org; Thu, 02 Aug 2007 12:36:53 -0600 (MDT) Received: from [192.168.0.2] ([81.94.17.78]) by mail-amer.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPSA id <0JM500CWTT1FGUQ7@mail-amer.sun.com> for user@struts.apache.org; Thu, 02 Aug 2007 12:36:53 -0600 (MDT) Date: Thu, 02 Aug 2007 22:36:50 +0400 From: Oleg Mikheev Subject: Re: performing multiple things with a single button In-reply-to: <1606.128.237.229.79.1186079414.squirrel@128.237.229.79> Sender: Oleg.Mikheev@Sun.COM To: Struts Users Mailing List Message-id: <46B22442.1040301@bigfoot.com> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT References: <1606.128.237.229.79.1186079414.squirrel@128.237.229.79> User-Agent: Thunderbird 2.0.0.5 (X11/20070716) X-Virus-Checked: Checked by ClamAV on apache.org Session A Mwamufiya wrote: > 1. capture values from the frame and put them in the session object > 2. load a different page in the current frame > 3. force the other frame to reload > > Getting 1 and 2 are fine with the standard struts 2 flow of events (1 in the action, and 2 as the result page), but how would I be able to do task 3 in addition to these two others? Is there a way to force a particular frame to reload from within the action? Add your JavaScript to reload other frame to onLoad event of current frame in 2. 3 is fairly easy to do with onLoad or some other way, until 2 is non-conditional and doesn't depend on logic of 1 or 2 (validation for instance). Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org