VERSIONARY::BLOG






Recent Entries
firefox os x tricks
Let your Struts DispatchActions Fall through
thoughts on tapestry
#1
Netgear WGR614v2 stinks!
10 years? oh my
Riding through Chernobyl
Thoughts on Class Naming
One Tabbed Browser to Rule them All
The Fog of War


Monthly Entries
October 2004
August 2004
July 2004
June 2004
April 2004
March 2004
November 2003
October 2003
September 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003


Links n' Stuff

Wil Wheaton

JGuru
IntelliJ Tech Net
Oracle Tech Net
The Serverside
Javaranch Forums
JavaLobby

Coast to Coast
Terry Tate: My Hero



Categories
everything else
java
 


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:

  1. Is there a dynamic tempating framework similiar to Tiles? Whats the best practice used by most WW guys?
  2. Is there a Valididator engine, other than rolling your own doValidation method? Do you guys use the Commons Validator?
  3. Is there a html taglib engine similiar to struts-html ?

Posted by Andre Mermegas at January 25, 2003 12:38 AM | TrackBack
Comments

Answers:


  1. 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

  2. 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.

  3. 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.

Posted by: Jason Carreira on January 25, 2003 03:20 PM
Post a comment



















October 2004
Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31