Hi Chris, i already answered for the same, we have more than 50 modules and
1000 of Action classes. Doing what you say is not an easy task for us
instead of adding a simple annotation on those method.
--
Thanks & Regards
Srikanth
Software Developer
eGovernments Fo
Why not just take your action and move the Preparable interface and
prepare() function to a subclass with the methods that require it's
support? Seems a lot easier than creating more infrastructure.
(*Chris*)
On Fri, Jul 26, 2013 at 11:22 AM, Sreekanth S. Nair <
sreekanth.n...@egovernments.org
Okay, i can create one for mine, leaving to struts2 framework developer
whether strust2 need an annotation like @SkipPrepare. Thanks for your
support Dave.
--
Thanks & Regards
Srikanth
Software Developer
eGovernments Foundations
www.egovernments.org
Mob : 99800789
Technically it already *is* part of S2 in the MethodFilterInterceptor class.
I'm not particularly excited about an annotation to skip Prepareable, but
I'm not fundamentally opposed, either.
Dave
On Fri, Jul 26, 2013 at 2:07 PM, Sreekanth S. Nair <
sreekanth.n...@egovernments.org> wrote:
> The
The idea is precisely good, thats what i wanted but do you think it will be
a good addition to strust2 framework by any chance then i hope the same
could be a part of struts2 framework itself.
--
Thanks & Regards
Srikanth
Software Developer
eGovernments Foundation
If you'll note in the docs the interceptor extends MethodFilterInterceptor,
so one trivial way to fix it is to configure the interceptor for the
specific actions.
Another option is to take the existing interceptor and extend it to support
something like annotations, a naming convention, etc. to sk
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 `p
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.n...@egovernments.org> wrote:
> No i can't do that, because that Action contains other method which needs
> Prepare, the only option i can thin
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
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.n...@egovernments.org> wrote:
> Suppose i need to call any ajax validation on the same Action, it
> unnecessarily run in to prepare. Where that ajax
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 : 9980
Why would you want to bypass it?
On Jul 26, 2013 3:47 AM, "Sreekanth S. Nair" <
sreekanth.n...@egovernments.org> wrote:
> Is there any annotation available to bypass prepare method while invoking
> certain methods, just like @skipvalidation
> --
> Thanks & Regards
> Srikanth
>
Is there any annotation available to bypass prepare method while invoking
certain methods, just like @skipvalidation
--
Thanks & Regards
Srikanth
FYI :
The following is my FORM Data :
1. struts.token.name:
NotificationGroupAction8204bfb6-349c-48ce-b713-668a7466fd78
2. NotificationGroupAction8204bfb6-349c-48ce-b713-668a7466fd78:
CTVCK4B205D4CVJL3II5BEPKUPE2W77C
3. id:
4. groupName:
sdsdfssasads
5. groupDesc:
dasdas
Yes it is.
--
Thanks & Regards
Srikanth
Software Developer
eGovernments Foundations
www.egovernments.org
Mob : 9980078913
On Fri, Jul 26, 2013 at 1:19 PM, Lukasz Lenart wrote:
> So this is probably related to
> https://issues.ap
So this is probably related to https://issues.apache.org/jira/browse/WW-4152
2013/7/26 Sreekanth S. Nair :
> yes thats right and my local wars/lib don't have any lib of struts2.
>
> --
> Thanks & Regards
> Srikanth
> Software Developer
>
> eGovernments Foundations
yes thats right and my local wars/lib don't have any lib of struts2.
--
Thanks & Regards
Srikanth
Software Developer
eGovernments Foundations
www.egovernments.org
Mob : 9980078913
On Fri, Jul 26, 2013 at 1:11 PM, Lukasz Lenart wr
Cool... :). There is no stacktrace i can provide you apart from some OGNL
obvious dirty WARNINGS. I debugged through some struts code and couldn't
figured out whats going wrong, but when i removed conversionError
interceptor, all started working, object Associations are getting bound.
s:push is bro
So you have many war archives in one ear archive?
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
2013/7/26 Sreekanth S. Nair :
> Yes, its an ear deployment and all my struts libs are in .ear/lib/ folder
>
> --
> Thanks & Regards
> Srikanth
> Software Developer
> --
Yes, its an ear deployment and all my struts libs are in .ear/lib/ folder
--
Thanks & Regards
Srikanth
Software Developer
eGovernments Foundations
www.egovernments.org
Mob : 9980078913
On Fri, Jul 26, 2013 at 1:08 PM, Lukasz Lena
2013/7/26 Sreekanth S. Nair :
> Hi,
> conversionError interceptor in the interceptor stack breaking the
> ModelDriven, can't able to bind Model which have custom object association
My magic ball is broken today and I cannot do any magic, sorry, shop
is closed ;-)
Regards
--
Łukasz
+ 48 606
Do you put framework's lib in JBoss shared library folder? I mean all
the app instances use the same libs?
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
2013/7/26 Sreekanth S. Nair :
> Hi,
>I'm using eclipse + jboss 7 to deploy my struts2 latest distro app...
> gettng this fo
22 matches
Mail list logo