Return-Path: X-Original-To: apmail-struts-user-archive@www.apache.org Delivered-To: apmail-struts-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4738E10744 for ; Fri, 26 Jul 2013 13:19:48 +0000 (UTC) Received: (qmail 84350 invoked by uid 500); 26 Jul 2013 13:19:45 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 84325 invoked by uid 500); 26 Jul 2013 13:19:44 -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 84309 invoked by uid 99); 26 Jul 2013 13:19:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Jul 2013 13:19:42 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sreekanth.nair@egovernments.org designates 209.85.214.175 as permitted sender) Received: from [209.85.214.175] (HELO mail-ob0-f175.google.com) (209.85.214.175) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Jul 2013 13:19:38 +0000 Received: by mail-ob0-f175.google.com with SMTP id xn12so4184603obc.20 for ; Fri, 26 Jul 2013 06:19:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=iX6mi3ZB1m7wlQ9EX51y3W5A+qka6lzGSKCwDUOURn8=; b=gie0syQTQWbQV5sYIzDkwAmysbH9DWWTObTfqN+0jwjRAiKAF4mZvrPgrZf0V0Qin5 x8Y9+uI7bOT2L/XJFHc9xhSyfEwKSTHSUYZpLn12xpdxLtWweV/lqkmtrOZZ8FEaeRvu 1bUNuFoofZsZoWmQptmKVXT1fnMI7oE6tENKjr4jSJNT/vpMkzNIHm+Z2yJqAoqz+u8w xvl0jImv/brTcZm+PcuhkCiF0nC9nDIFrWKD+QGmX1rTXGXzwgvyg7TWG0mrHAM9wvy6 OCRnwicNaBkI09CB7Km4rcvsqBgtSv7EKA11tC3/HNAgb/nknZ76OOODnl4cEbiPBlGI IeLQ== MIME-Version: 1.0 X-Received: by 10.60.70.4 with SMTP id i4mr47497373oeu.11.1374844757356; Fri, 26 Jul 2013 06:19:17 -0700 (PDT) Received: by 10.182.60.73 with HTTP; Fri, 26 Jul 2013 06:19:17 -0700 (PDT) In-Reply-To: References: Date: Fri, 26 Jul 2013 18:49:17 +0530 Message-ID: Subject: Re: Annotation Support for bypassing prepare From: "Sreekanth S. Nair" To: Struts Users Mailing List Content-Type: multipart/alternative; boundary=001a1133050c62416704e269fd80 X-Gm-Message-State: ALoCoQm1Us/s94DpKp/i6qzVoK3tZZYgtkm2YMFVd/NDxhxxqEl12gurSdVhTVmLYogiiEk/45xb X-Virus-Checked: Checked by ClamAV on apache.org --001a1133050c62416704e269fd80 Content-Type: text/plain; charset=ISO-8859-1 Too many methods :( needs its own prepare then. -- Thanks & Regards Srikanth Software Developer -------------------------------- eGovernments Foundations www.egovernments.org Mob : 9980078913 -------------------------------- On Fri, Jul 26, 2013 at 6:37 PM, Dave Newton wrote: > Did you try `prepareWhateverMethodThatNeedsPrepare`? I don't recall if that > works or not. > > > On Fri, Jul 26, 2013 at 7:24 AM, Sreekanth S. Nair < > sreekanth.nair@egovernments.org> wrote: > > > No i can't do that, because that Action contains other method which needs > > Prepare, the only option i can think of is moving these Ajax method to > some > > other Action which is not extending Prepareable. But as of now its very > > hard because so many resources i have to change. Any other idea? > > > > -- > > Thanks & Regards > > Srikanth > > Software Developer > > -------------------------------- > > eGovernments Foundations > > www.egovernments.org > > Mob : 9980078913 > > -------------------------------- > > > > > > On Fri, Jul 26, 2013 at 4:44 PM, Paul Benedict > > wrote: > > > > > Have you thought of removing the "implements Preparable" from your > > action? > > > That will do it. > > > On Jul 26, 2013 6:12 AM, "Sreekanth S. Nair" < > > > sreekanth.nair@egovernments.org> wrote: > > > > > > > Suppose i need to call any ajax validation on the same Action, it > > > > unnecessarily run in to prepare. Where that ajax validation doesn't > > > > required to call prepare. > > > > > > > > -- > > > > Thanks & Regards > > > > Srikanth > > > > Software Developer > > > > -------------------------------- > > > > eGovernments Foundations > > > > www.egovernments.org > > > > Mob : 9980078913 > > > > -------------------------------- > > > > > > > > > > > > On Fri, Jul 26, 2013 at 4:40 PM, Paul Benedict > > > > > wrote: > > > > > > > > > Why would you want to bypass it? > > > > > On Jul 26, 2013 3:47 AM, "Sreekanth S. Nair" < > > > > > sreekanth.nair@egovernments.org> wrote: > > > > > > > > > > > Is there any annotation available to bypass prepare method while > > > > invoking > > > > > > certain methods, just like @skipvalidation > > > > > > -- > > > > > > Thanks & Regards > > > > > > Srikanth > > > > > > > > > > > > > > > > > > > > > > > > -- > e: davelnewton@gmail.com > m: 908-380-8699 > s: davelnewton_skype > t: @dave_newton > b: Bucky Bits > g: davelnewton > so: Dave Newton > --001a1133050c62416704e269fd80--