1.1 changelog

  • Repackaging

    Struts-Layout zip does no longer contain the newsreader example, which is now available as a separate download.
  • Error field

    The focus can be automatically set on the first field having an error.
  • Suggest

    The new <layout:suggest> can be used to suggest items when the user types in a text box.
  • Treeview

    Treeview nodes can now be open or closed in the Struts actions.
  • Menu component

    To allow to use Struts-Layout treeview and menus tags and a recent version of Struts-Menu in the same application, the MenuComponent class has been moved to the package fr.improve.struts.taglib.layout.menu.
  • Statistics

    The collection tag can display statistics with the new mathOperation attribute.
  • Tabs selection with pager

    Fix tabs selection when there is a pager in the tabs and the jsp path known by the browser is not the same as the sort action path.

    The fix defines a javascript variable named "contextPath" which is then used by the tabs.
  • User defined form modes

    In addition to the 3 predefined form modes (create, edit, inspect), Struts-Layout now allows you to define custom form display modes.
  • Better dynamic page inclusion support

    Struts-Layout tags now find their parents even when they are in a runtime included JSP. This fixes HTML code generation issues.
  • Nested compatibility

    The property attribute of the input field tags and the collection tag is now compatible with the struts nested taglib. To enable nested compatibility, add nested.compatibility = true in the Struts-Layout configuration file.
  • CollectionInput

    Make MODE_INSPECT behave as other Struts-Layout input tags: generate an hidden input field.
  • Pager

    Display an input field next to the pager allowing to navigate to a specified page. See the skin configuration property layout.pager.displayDirect
  • Datagrid tag

    The new datagrid, datagridColumn tags and the Datagrid object allow to easily display and modify a list of data.
  • Deprecated code cleanup

    All use of deprecated Struts 1.1 code has been removed, making Struts-Layout compatible with Struts 1.2
  • OptionsDependentTag

    Make it possible to link two select tags with the <layout:optionsDependentTag>.
  • Collection tag

    Add <layout:collectionDetail> and <layout:detail> tag to build simple master/detail pages.
  • Pager tag

    Allow to set the default number of items per page in the skin configuration file.

    Alow to set the maximum number of links to display in the skin configuration file.
  • Treeview tag

    Add a renderer to make the treeview skinnable.