struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sreekanth S. Nair" <sreekanth.n...@egovernments.org>
Subject Re: Annotation Support for bypassing prepare
Date Fri, 26 Jul 2013 13:19:17 GMT
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 <davelnewton@gmail.com> 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 <pbenedict@apache.org>
> > 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 <pbenedict@apache.org
> >
> > > > 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 <https://twitter.com/dave_newton>
> b: Bucky Bits <http://buckybits.blogspot.com/>
> g: davelnewton <https://github.com/davelnewton>
> so: Dave Newton <http://stackoverflow.com/users/438992/dave-newton>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message