Zarar Siddiqi has written an article on validation in WebWork, including manual (code-based) validation, declaratively defining validation using the XML-based validation framework, and even advanced topics such as validation re-use.
This article is timely given the recent discussions of data validation in the blogosphere, and the (somewhat) recent announcement that WebWork will be merging with Struts to become the basis of the Struts Action Framework 2.0.
Does the range of validation options outlined in this article cover your validation needs? What other validation features would you like to see in SAF 2.0?
-
Java.net article on WebWork Validation (5 messages)
- Posted by: Jason Carreira
- Posted on: January 19 2006 10:13 EST
Threaded Messages (5)
- Java.net article on WebWork Validation by Tim Fennell on January 19 2006 11:17 EST
- Java.net article on WebWork Validation by Jay Bose on January 19 2006 12:25 EST
- Roadmap by Tim Chadwick on January 19 2006 14:45 EST
- Roadmap by Jason Carreira on January 19 2006 15:10 EST
- Alternative by Yanick Duchesne on January 20 2006 16:57 EST
-
Java.net article on WebWork Validation[ Go to top ]
- Posted by: Tim Fennell
- Posted on: January 19 2006 11:17 EST
- in response to Jason Carreira
Jason: it's my understanding that in 2.2 you guys have also introduced annotations as an alternative to XML for specifying validations. I haven't had the time to look into WW2.2 in detail yet, and after a (very) brief look at the documentation site I couldn't find the documentation for what annotations are supported.
Could you either point me in the right direction or, even better, show what the long XML example on page 2 of the article would look like if validations were used?
Overall (and I think you know this) WW2.2 seems to have very comprehensive validation. The only thing I'd like to see improved is the ability to specify validations more concisely.
-Tim Fennell
Stripes: Because web development should just be easier. -
Java.net article on WebWork Validation[ Go to top ]
- Posted by: Jay Bose
- Posted on: January 19 2006 12:25 EST
- in response to Tim Fennell
There is the ability to define validation via annotations. Look here for more info -- http://wiki.opensymphony.com/display/WW/Validation+Annotation -
Roadmap[ Go to top ]
- Posted by: Tim Chadwick
- Posted on: January 19 2006 14:45 EST
- in response to Jason Carreira
I am looking for a development roadmap of WW. I would like to see a feature and technology componentt list of how it will merge with struts.
I am glad to see WW getting more press on TSS. It is an excellent tool, though it has been about a year since I last used it. -
Roadmap[ Go to top ]
- Posted by: Jason Carreira
- Posted on: January 19 2006 15:10 EST
- in response to Tim Chadwick
I am looking for a development roadmap of WW. I would like to see a feature and technology componentt list of how it will merge with struts.I am glad to see WW getting more press on TSS. It is an excellent tool, though it has been about a year since I last used it.
There's not a hard-and-fast roadmap right now. We've just released 2.2, and now we're starting to look toward the merger. The talks about how we bring this into Apache are going on now, and there should be some news in the next couple of weeks. In the meantime the WebWork team is doing a great job fixing bugs as they're reported against 2.2 and looking to a 2.2.1 release. -
Alternative[ Go to top ]
- Posted by: Yanick Duchesne
- Posted on: January 20 2006 16:57 EST
- in response to Jason Carreira