Re: struts2 conventions plugin - how to override result type

2012-12-08 Thread Lukasz Lenart
2012/12/6 Ken McWilliams : > The right thing to do was override the ConventionsUnknownHandler like you > suggested. Right now the code is pretty ugly, I need to add unit tests to > my TilesUnknownHandler and then I wouldn't mind contributing it. > > When the struts2-tiles-plugin is upgraded to acco

Re: config-browser with rest plugin

2012-12-08 Thread Lukasz Lenart
2012/12/8 Lukasz Lenart : > You can use !execute as the REST plugin expects index() instead of > execute() - see below, but the change is quite easy, please register > an issue. > > http://localhost:8080/struts2-rest-showcase/config-browser/showConfig!execute.xhtml?namespace=&actionName=orders Ano

Re: config-browser with rest plugin

2012-12-08 Thread Lukasz Lenart
2012/12/5 ChadDavis : > Would you expect the config-browser plugin to work with the rest-plugin? > When I add the rest plugin, the config-browser/index.action page no longer > resolves. You can use !execute as the REST plugin expects index() instead of execute() - see below, but the change is quit

Re: appengine in archetype

2012-12-08 Thread Lukasz Lenart
2012/12/5 ChadDavis : > I noticed, in the convention plugin maven archetype, an "appengine-web.xml" > file in the WEB-INF file. Does this do anything? Is it just there to > support deployment of the WAR into the google environment? Exactly. There is also dedicated InitListener Regards -- Łukas

Re: REST Mappers

2012-12-08 Thread Lukasz Lenart
2012/12/5 ChadDavis : > What are the org.apache.struts2.dispatcher.mapper.RestufulActionMapper and > Restful2ActionMapper for? It looks like a first attempt to add REST support to WebWork/Struts 2. I think they should be removed as current REST plugin is much better. I'll mark them @Deprecated if