Struts 1.3 compatibility
Struts-Layout is now compatible with Struts 1.3. Compatibility with Struts 1.2 is still provided.
Struts 1.1 can still be used with the compatibility jar.
Improve suggest action
The MultipleSuggestAction action allows to build suggest items based on all the form data.
Improve Javascript treeview handling
The new openAll and closeAll Javascript functions allow to open and close all the nodes of a treeview.
Many thanks to Kristof STERCKX for the contribution.
Improve calendar placement
The <layout:date> calendar popup no longer displays outside the window if the date field is close to the window border.
New tag : <:layout:expert>
The <layout:expert> tag is used to set the value of other fields with a simple langage,
allowing fast type in a single field.
New tag : <layout:popup>
The <layout:popup> tag allows to create customisable modal popup, using the Struts-Layout look.
New tag : <layout:fieldArea>
The <layout:fieldArea> goals is to help creating custom fields.
EL compatibility with servlet container supporting JSP 2.0
Struts-Layout EL character can now be customized to prevent
the servlet container to evaluate them at the wrong time.
Check the skin configuration page to learn how to choose the EL character.
Pager renderer
The pager HTML code is now generated by a customizable renderer.
Collection renderer
The new collection renderer class "fr.improve.struts.taglib.layout.renderer.SingleTableCollection" allows to reduce and simplify
the generated HTML code for a <layout:collection> tag.
Sort improvements
Server side sorting can now be done by Collator objects. This allows to do case insensitive and unaccented sort.
For more information, read the skin configuraton page.
Img tag
Make onclick and styleId ELs.
Support for addition on EL
EL support simple addition like ${var+1}
Treeview
Allow to name trees defined with menuItem tags.
Select support in the datagrid
The tag <layout:datagridSelect> allows to put select into datagrids.
Checkbox support in the datagrid
The tag <layout:datagridCheckbox> allows to put checkbox into datagrids.
server side collection sorting
The properties layout.sort.forward, layout.sort.reverse must be added to the file Struts-Layout.properties
if you have modified it.
They allow to display different images in function of the current collection sort state with server side sorting.
menuItem tag
Add action attribute.
input tags
Make disabled an EL.
collectionInput tag
Do not use the request parameter any more. This fix a bug when the user modify the form after a submission and redisplay the page.
collectionTitle tag
Allow the title attribute of <layout:collectionItem> tags nested in a <layout:collectionTitle> tag to be null.
Tooltip
Add the tooltip attribute to the <layout:option>, <layout:collectionTitle> and the <layout:collectionItem> tags.
Statistics
Fix a bug whith empty collections, display the right initial value with the collectionInput tag.