Re: struts2 conventions plugin - how to override result type

2012-11-26 Thread Ken McWilliams
I've yet to try this but how do I tie this into conventions. My issue is that I am following conventions, there are JSPs located as views for the action (that is, located where conventions would expect to find view). My idea is to create a tiles plugin that keeps struts conventions as near as poss

RE: s:select rendering

2012-11-26 Thread Martin Gainty
Im sure lukasz mentioned this earlier but for the case of initialiasling a map for your list you might want to considerCommons ArrayUtils?.toMap(new MapUtils?.toMap(new String[][] {{ {"1", "A"}, {"2", "B"}, {"3", "C"}, {"4", "D"}); i dont believe you can initialize

Re: Re: s:select rendering

2012-11-26 Thread Lukasz Lenart
2012/11/21 Omar Colombari : > I'm using >org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter > > Regarding WebSphere 6.x I'm not able to find any documentation on the > problem. As I said, it's really hard to debug your problem as I don't have access to WebSphere 6.1 :\ But i

Re: struts2 conventions plugin - how to override result type

2012-11-26 Thread Lukasz Lenart
Hi, There is no easy way right now, you can try to implement UnknownHandler or at least extend ConventionUnknownHandler and override handleUnknownResult() method Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2012/11/24 Ken McWilliams : > Using struts2-convention-plugin-2.3.1.2

Re: json data are not passed in Stuts action

2012-11-26 Thread Lukasz Lenart
2012/11/23 Stephan Schreck : > Finally i made it work, it seems that the problem was the missing annotation > @Action(interceptorRefs = { @InterceptorRef("json") }) . You can use @InterceptorRef("json") > Now i have to understand why my real javascript does not work. > I might continue in this th

Re: struts2 jquery autocompleter is not working

2012-11-26 Thread Higo Matos
clanmilano, this problem is reported in: http://code.google.com/p/struts2-jquery/issues/detail?id=647 - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: What is the effect of Params Interceptor?

2012-11-26 Thread Wu Ming
Thanks, that's enlightening. On Mon, Nov 26, 2012 at 3:41 PM, Maurizio Cucchiara wrote: > On 26 November 2012 09:25, Wu Ming wrote: > > > > Oh, so that means there is no point to define the params interceptor in > > Action mapping (as seen below) because it's included in > struts-default.xml? >

Re: What is the effect of Params Interceptor?

2012-11-26 Thread Maurizio Cucchiara
On 26 November 2012 09:25, Wu Ming wrote: > > Oh, so that means there is no point to define the params interceptor in > Action mapping (as seen below) because it's included in struts-default.xml? > > > > result.jsp > > > Not exactly, it depends on your extends attribute present on packa

Re: What is the effect of Params Interceptor?

2012-11-26 Thread Lukasz Lenart
2012/11/26 Wu Ming : > Oh, so that means there is no point to define the params interceptor in > Action mapping (as seen below) because it's included in struts-default.xml? > > > > result.jsp > Yes, it's pointless :-) Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/

Re: What is the effect of Params Interceptor?

2012-11-26 Thread Wu Ming
Oh, so that means there is no point to define the params interceptor in Action mapping (as seen below) because it's included in struts-default.xml? result.jsp On Mon, Nov 26, 2012 at 2:13 PM, Chris Pratt wrote: > Well, not implicitly, but by default. It is included in the struts-def