Ok, you might have noticed that the current VelocityStruts code doesn't
offer explicit support for new Struts 1.1 features like Tiles integration,
Validator integration, modules, or ActionMessages. Not to worry! There are
both reasons for this, resources for dealing with them, and changes coming soon.
Here's the rundown:
First off, you should know that there are a fair number of velocity-tools
committers, contributors, and users already happily using VelocityStruts with
Struts 1.1 Final. All of the VelocityStruts tools work just fine with the new
release. There are no incompatibility issues to worry about there.
So, why haven't we developed tools for 1.1 features yet? Well, one reason
is simply that it was not released during most of Velocity Tools' development
cycle so far. Also, we have a number of users and contributors who cannot
yet upgrade to 1.1 Final (generally due to problems of the PHB type). As such,
we have been intentional in keeping 1.1 features out of the code until we could
release a 1.0 version of our own that Struts 1.0 users could work with.
Now, about support for the new features in Struts 1.1, here's a few tips to
get you started while you wait for Velocity Tools 1.1:
- There's a working ActionMessagesTool
here
- Those missing Tiles should check out the
VelocityLayoutServlet
or the disscusion here
- Wanna use Validator? There's some example code
here
Hopefully, that's enough to get you going; more should be in the works soon.
We are eager to move forward with development in this area. If you're interested,
you should come over to the velocity-dev list and help out! :-)
|