All,
I made some important progress today. I have now implemented the
SessionAware interface that lets actions use the session without being
servlet-aware. I have updated the HelloWorld application to use this for
login functionality. This is a major breakthrough, since I think this
was an important step towards making WebWork suitable for real
applications.
I have also created a bunch of generic controls that you can reuse in
HTML forms. See the "formtest.jsp" example for details on how they work
and how to use. They are very very nice and easy to use. If you make any
useful controls and want them included in WebWork, let me know.
The "iterator" tag now works with Maps. This means that if the input to
the iterator tag is of type java.util.Map it will get its "entrySet" and
iterate over that. For each entry the java.util.Map.Entry properties
"key" and "value" are available. See the "formtest" examples and the
generic controls for details on how to use this.
SourceForge is out of diskspace on the incoming FTP so I can't upload a
zip to SF just yet. Use CVS to download the latest sources with the
above changes.
regards,
Rickard
--
Rickard Öberg
Email: ri...@jb...
|