The Tagger Cat read me and change summary
TaggerCat Version=2.1 Build=20080405_1050
Change List #26
===========================================================
Summary of Changes
===========================================================
• Enhancements:
The WebContext instance is now required
A WebContext object is now required, and is created with each request cycle. The Hibernate sessions are now maintained in the WebContext instance. The WebContext instance also contains a reference to the servletContext, as well as the name of the default controller servlet.
The Default Controller Servlet
The name of the default controller servlet is now specified in the applications deployment descriptor.
Deprivation rules are re-applied when rows are duplicated with the Duplicate action.
The datasource tag ( and class ) now support Cacheable and CacheRegion properties.
The chachable and cacheRegion attributes can be used to set the corresponding properties on the datasource Hibernate Criteria object.
An AfterDelete event type has been added to the DataSourceEvent type.
Added a truncate attribute to the DataFieldValueTag.
When displaying potentially long string values you can use the truncate attribute to set the max number of characters to be displayed.
TaggerCat Version=2.1 Build=20070916_1207
Change List #26
===========================================================
Summary of Changes
===========================================================
• Enhancements:
Added a WebContext class.
A WebContext object can now be created in the TaggerCatFilter, and attached to the current thread. The WebContext object contains the current HttpRequest, HttpResponse and the ServletContext objects. You can access the WebContext from anywhere in your code, such as from within ECA methods.
To include the creation of the WebContext; add the createWebContext init param as shown here:
<filter> <filter-name>TaggerCatFilter</filter-name> <filter-class>com.taggercat.filter.TaggerCatFilter</filter-class> <init-param> <param-name>durationThreshold</param-name> <param-value>40</param-value> </init-param> <init-param> <param-name>hbn8Statistics</param-name> <param-value>true</param-value> </init-param> <init-param> <param-name>createWebContext</param-name> <param-value>true</param-value> </init-param> </filter>
Added a StatusMessage class and a StatusMessages.tag file
The StatusMessage is used to set general status messages; that are not error or exception related. See the StatusMessages.tag file for more details. The message can be displayed with the StatusMessages.tag or the technique of your choice.
Datasources build a list of deleted entities.
The dataSource class now builds a list of deleted entities during a delete operation. The list is available during a After Delete event method from an event Listener.
I18n support has been added to the DatafieldCaptionTag
The DataFieldCaptionTag now supports internationalization.
Added utility functions to the Text Class for generating Random Strings
The getRandomString( int size) has been added; we use it for generating temporary passwords.
• Bug FIxes:
XHTML support added to the DataSourceActionTag
The DataSourceAction tag now correctly generates XHTML formatted tags.
• Known Bugs :
Aggregate EL functions
A bug exists in the the derivations when aggregate functions were applied to child data sources. This bug caused the derivations to incorrectly calculate when multiple parent entities where updated in a single request.