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:52,598 DEBUG
(org.apache.struts2.interceptor.MessageStoreInterceptor:68) - exit executing
MessageStoreInterceptor
2012-10-12 18:42:52,598 DEBUG
(org.apache.struts2.rest.RestActionInvocation:68) - No result returned for
action org.demo.rest.example.OrdersController at null
I have try to define an additional Result
@Result(name="input", location = "orders-editNew.jsp")
but it has no effect.
Sorry I never worked with REST Plugin in real world. :-)
Johannes
-----
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-REST-Showcase-tp5710774p5710788.html
Sent from the Struts - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]