Re: Struts 2.3.5 ready for test

2012-10-12 Thread Gabriel Belingueres
Yes! devMode was set to true. Changing it to false solved it. Gabriel 2012/10/12 Lukasz Lenart : > 2012/10/12 Gabriel Belingueres : >> Hi: >> >> Tested it but I found an unusual behavior: the interceptors defined in >> a custom plugin of mine are initialized (calling init() method) all >> over ag

Re: Twitter Bootstrap for the REST Showcase

2012-10-12 Thread Lukasz Lenart
2012/10/12 Johannes Geppert : > So there is no change necessary in the REST Showcase? Correct, bug is in the REST Plugin > If there is no objection I would like to commit the updated REST Showcase. +1 from my side, but please create a task for that Regards -- Ɓukasz + 48 606 323 122 http://ww

Re: Twitter Bootstrap for the REST Showcase

2012-10-12 Thread Johannes Geppert
So there is no change necessary in the REST Showcase? If there is no objection I would like to commit the updated REST Showcase. - web: http://www.jgeppert.com twitter: http://twitter.com/jogep -- View this message in context: http://struts.1045723.n5.nabble.com/Twitter-Bootstrap-for-the-R

Re: Twitter Bootstrap for the REST Showcase

2012-10-12 Thread Lukasz Lenart
2012/10/12 Johannes Geppert : > Thanks for the fast feedback Maurizio. > > I changed the Results Definition in the OrdersController from > > @Results({ > @Result(name="success", type="redirectAction", params = {"actionName" , > "orders"}) > }) > > to > > @Results({ > @Result(name="success",

Re: Struts 2.3.5 ready for test

2012-10-12 Thread Lukasz Lenart
2012/10/12 Gabriel Belingueres : > Hi: > > Tested it but I found an unusual behavior: the interceptors defined in > a custom plugin of mine are initialized (calling init() method) all > over again, on each request. > > I've reading in the release notes that there were changes on package > inheritan

Re: Twitter Bootstrap for the REST Showcase

2012-10-12 Thread Johannes Geppert
Thanks for the fast feedback Maurizio. I changed the Results Definition in the OrdersController from @Results({ @Result(name="success", type="redirectAction", params = {"actionName" , "orders"}) }) to @Results({ @Result(name="success", type="redirectAction", params = {"actionName" , "or

Re: Twitter Bootstrap for the REST Showcase

2012-10-12 Thread Maurizio Cucchiara
Hi Johannes, If I recall correctly S2 Rest plugin allows to define a default-error location. @Results({ @Result(name = "default-error", location = "error.jsp") }) Twitter :http://www.twitter.com/m_cucchiara G+ :https://plus.google.com/107903711540963855921 Linkedin:http:/

Re: Twitter Bootstrap for the REST Showcase

2012-10-12 Thread Johannes Geppert
How to define Validation when using REST Plugin. The REST Showcase produces following LOG Messages: 2012-10-12 18:42:52,596 DEBUG (org.apache.struts2.rest.RestWorkflowInterceptor:68) - Errors on action org.demo.rest.example.OrdersController@475b32ea, returning result name 'input' 2012-10-12 18:42

Re: Struts 2.3.5 ready for test

2012-10-12 Thread Gabriel Belingueres
Hi: Tested it but I found an unusual behavior: the interceptors defined in a custom plugin of mine are initialized (calling init() method) all over again, on each request. I've reading in the release notes that there were changes on package inheritance defined on plugins. I'm not familiar with th

Re: Twitter Bootstrap for the REST Showcase

2012-10-12 Thread Johannes Geppert
In the OrdersController a validate function is defined. public void validate() { if (model.getClientName() == null || model.getClientName().length() ==0) { addFieldError("clientName", "The client name is empty"); } } But It looks like the input action mapping i