| Version | Date | Changes |
| 1.0.2 | 2004-11-22 |
|
| 1.0.4 | 2004-11-23 |
- Make compatible with Struts 1.2.4 (rather than 1.2.6).
- Change example webapp Servlet version from 2.4 to 2.2.
- Refactor message replacement - now not just for indexed validation.
- Add implementations of other Struts Input Tags, besides just TextTag.
- Add two new abstract methods to ScriptRenderer to provide the
starting index and length.
- Refactor (again!) Date Validation - move dateFormat parsing
into a separate method (would be useful for other date type
validators.
- Minor changes to webapp wording.
|
| 1.0.5 | 2004-11-24 |
- Add other input type example to the menu and
remove integer validation from Credit Cards -
as per Joe Germuska's suggestions
(see Bug 32343).
- Don't set focus on 'hidden' fields - as reported by Matt Bathje
in Bug 21043.
|
| 1.0.6 | 2004-11-24 |
- Rename the renderAllStaicMethods() and renderUsedStaicMethods() to
renderStaticAllMethods() and renderStaticUsedMethods() respectively.
- Improved the Javadoc and added them to the Example Application.
- Renamed pretty to compress. The compress option
now renders compressed javascript all on one line.
- Made the error function a configurable option.
- Renamed the Struts ScriptUtils class to TempScriptUtils to indicate this
is a temporary class that will disappear if/when this is integrated into Struts.
|
| 1.0.7 | 2004-12-01 |
Changes as result of feedback from David Graham
(see Bug 32343):
- Remove @author tags in line with Validator conventions
- JUnit Tests Added - see the Java Source menu in the Example Webapp.
- NOTE: David made a comment about throwing NPE's - this was in a bunch of
convenience methods for getting things out of the Context - these
methods have now all been removed - everything accesses the Context directly now
and doesn't throw any NPE.
- Removed configuration options from the Context and made them properties
of ScriptRenderer - so that the Context is now just an execution context.
- isTrue and set*Config() convenience methods have now been removed - configuration
options are now properties of ScriptRenderer and therefore these convenience
methods are no longer required.
- Change ScriptRenderer method modifiers to private where possible so that the public API
that is exposed is kept to a minimum.
- All static methods in ScriptRenderer (except the replaceCharacter() method) have been
either removed or are no longer static.
- Removed JavaScript constants (including SCRIPT_VERSION variables).
- Change constant's modifiers from public to private where appropriate.
|
| 1.0.8 | 2004-12-03 |
- Re-factored the static JavaScript Validators (except required) to use
Nacho Mac Dowell's idea to have a utility method get get a Field's value.
This standardizes how Fields are handled accross all the validators (except required).
The new method in the utilities script is getValueFromField().
- Radio button groups were not working properly - used part of
suggestion by Nacho Mac Dowell to handle radio buttons.
- Re-factored float, byte, short and integer validators and
removed the isAllDigits() method.
- Added JavaScript Validators for double and long.
- Fixed the issue raised in Bug 14471
- "JavaScript fails when field not present in jsp".
|