Struts 2 and XHTML

2009-01-11 Thread Anthony Frasso
Hello, and thanks for your help in advance. I'm new to Struts 2, and working on a simple application to learn the framework. I'm also trying to use XHTML with this application. I know that in a JSP page, I can use the following to create a link to an action: Go To My Action This works well

Re: REST Again

2009-01-11 Thread Adam Hardy
Musachy Barroso on 08/01/09 16:23, wrote: ok, here we go. Looking at the rest showcase application, when you hit this url: /orders/10 the REST plugin (to simplify) says "I have to invoke the 'show' method in the 'orders' action, and set its 'id' parameter to 10". How does the REST plugin know w

Re: Stuts2 field validation problems

2009-01-11 Thread Dave Newton
Conversion errors are added to the list of field errors by the "conversionError" interceptor. Personally, I almost always remove the "conversionError" as the conversion error messages aren't necessarily helpful, and are sometimes redundant--your mileage may vary. But that's why you get both

Stuts2 field validation problems

2009-01-11 Thread Robert Stenholt Mygind
Hi All I have some problems with field validation in Struts2, I am not the most experienced in Struts2. I have a form looking something like this: .. In my acrion class I have something looking like: @RequiredFieldValidator(message = "Some error text", shortCircuit=true) public In