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 is missing.

@Results({
    @Result(name="success", type="redirectAction", params = {"actionName" ,
"orders"})
})

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-tp5710774p5710786.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]

Reply via email to