Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 76962 invoked from network); 21 Aug 2007 02:12:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Aug 2007 02:12:34 -0000 Received: (qmail 69390 invoked by uid 500); 21 Aug 2007 02:12:21 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 69360 invoked by uid 500); 21 Aug 2007 02:12:21 -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 69349 invoked by uid 99); 21 Aug 2007 02:12:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Aug 2007 19:12:21 -0700 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_HOTMAIL_RCVD2,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.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; Tue, 21 Aug 2007 02:12:50 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1INJDo-0008S0-VL for user@struts.apache.org; Mon, 20 Aug 2007 19:11:56 -0700 Message-ID: <12247181.post@talk.nabble.com> Date: Mon, 20 Aug 2007 19:11:56 -0700 (PDT) From: Boon Leng To: user@struts.apache.org Subject: Re: Reload combo option if validation fail. In-Reply-To: <891edd880708201023keabe563y37f2b183ebebe3f1@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: kbl64@hotmail.com References: <12231644.post@talk.nabble.com> <891edd880708201023keabe563y37f2b183ebebe3f1@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi, I have tried using Preparable and putting all the collections loading in prepare(), but because my action contains multiple methods and each load different kind of collections, end up every method call will retrieve all the collections even though it's not using it. Is there anyway I able to know which method will be execute in prepare() method? Zarar Siddiqi wrote: > > You could implement Preparable and load countryOptions in the prepare() > method. > > http://struts.apache.org/2.x/struts2-core/apidocs/com/opensymphony/xwork2/Preparable.html > > Zarar > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > For additional commands, e-mail: user-help@struts.apache.org > > > -- View this message in context: http://www.nabble.com/Reload-combo-option-if-validation-fail.-tf4297263.html#a12247181 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