Sun ONE Application Framework (JATO)

Version 1.2.2 Changes

Table of Contents

Previous Version Changes

Change Log

Bugs

Developer Assistance

Deployment Changes

Tag Library Changes

Servlet & Infrastructure Changes

ViewBean Changes

Event Changes

View Changes

Model Changes

Miscellaneous Changes

Previous Version Changes

Change Log

The following changes were made from JATO 1.2.1 to JATO 1.2.2:

Fixed Bugs
Changes Requires 1.2.1 App Changes
Fixed bug in PageletTag.java that prevented pagelets working properly if they were included directly at the ViewBean level in some containers. This change is binary compatible with previous 1.2.x versions.  
Added check for null module URL servlet init parameter, and now output a warning if no parameter is specified. Previously, a null module URL parameter would cause a NullPointerException. NOTE: Despite this change, a null module URL parameter is still in most cases a fatal error for the application (a situation previously handled by default because of the NullPointerException). However, some derivations of ApplicationServletBase do not require module URLs to be set in the web.xml file, and so were failing inappopriately. This change is binary compatible with previous 1.2.x versions.  
Fixed a bug where specification of defaultCommandChild in a <jato:form> would not use the CommandDescriptor associated with the default child. The result was a unilateral request handling event method invocation. This change is binary compatible with previous 1.2.x versions.  
Fixed a bug that caused early invocation of the default command associated with a ViewBean before the ViewBean checked all its child components to see if they accepted the request.  

Developer Assistance
Changes Requires 1.2.1 App Changes
None  

Deployment Changes
Changes Requires 1.2.1 App Changes
None  

Tag Library Changes
Changes Requires 1.2.1 App Changes
None  

Servlet & Infrastructure Changes
Changes Requires 1.2.1 App Changes
None  

ViewBean Changes
Changes Requires 1.2.1 App Changes
None
 

Event Changes
Changes Requires 1.2.1 App Changes
None  

View Changes
Changes Requires 1.2.1 App Changes
Added ability for TreeView node handles to explicitly indicate the expanded/collapsed state a handle should assume when activated. This mechanism relies on automatically recording the desired change in state on the handle URL, and using this information on subsequent requests. This enhancement addresses the problem of nodes inappropriately expanding and collapsing when reloading a page containing a TreeView. This change is binary compatible with previous 1.2.x versions.  
Added unregisterChild(String) method to ContainerViewBase and appropriate subclasses.  
Added removeChild(String) method to ContainerViewBase.  
Added removeAllChildren() method to ContainerViewBase.  
Added methods for internal framework support. The relevant methods are marked as for internal use only and should not be used by developers.  
Added getChildNames(Class) method to ContainerViewBase to allow getting of children by type. Also reimplemented existing methods with similar behavior in the various containers in terms of this method.  

Model Changes
Changes Requires 1.2.1 App Changes
None  

Miscellaneous Changes
Changes Requires 1.2.1 App Changes
None