January 25, 2003
How Does WebWork Do?
Heya, I've been going through struts for a while and I was curious about a few things that I didnt see in WebWork but are probably there somewhere, hopefully one of you guys can enlighten me.
Here is my shortlist of initial queries:
- Is there a dynamic tempating framework similiar to Tiles? Whats the best practice used by most WW guys?
- Is there a Valididator engine, other than rolling your own doValidation method? Do you guys use the Commons Validator?
- Is there a html taglib engine similiar to struts-html ?
Posted by
Andre Mermegas
at
January 25, 2003 12:38 AM
|
TrackBack
Answers:
- I'm not sure what Tiles does, but from the description "dynamic templating system" I'm going to say NO. Webwork does what it does, and does it well. For a templating framework, you can't get much better than Sitemesh
- Not yet. There are PropertyEditors for type conversion and illegal argument exception handling in that part. You can also hook in whatever you want in your doValidation or doExecute methods. Also, see my blog for info on the validation I'm looking at putting into XWork and Webwork 2.0. Now that I have the framework for intercepting the call and loading the config files dynamically, I'm looking at whether I should hook it into FormProc, Commons Validator, etc. It should be more dynamic and easier to use than what Struts has.
- Yes. There are a full set of HTML Form ui widgets which are really just calls to templates which you can customize.
Hope that helps.