1.4 changelog

  • New tags:

    <layout:collectionGroup> with ICollectionGroupRenderer renderer

    <layout:nestedTreeCollection> with fr.improve.struts.taglib.layout.renderer.ITreeGridRenderer interface (you can choose this display by setting the "model" attribute to "treegrid")

    <layout:toolbar> with IToolbarRenderer renderer

    <layout:menuAction>

    <layout:wizard> and <layout:wizardStep> with IWizardRenderer renderer
  • New attributes:

    "separator" and "styleClass" on <layout:menuItem>

    "model" on <layout:select>
  • New renderers to customize HTML code:

    (skin parameter name, Java interface name)

    "tab.class", ITabRenderer

    "link.class", ILinkRenderer

    "menu.class", IMenuRenderer
  • New "scrollable" renderer for <layout:panel> :

    Display a panel with scroll bars. The client zone have a size of "maxHeight" and "maxWidth" attributes value

    It can be used by setting the "model" attribute with the value "scrollable"
  • Expandable <layout:panel> :

    Customizable with "expandable", "expanded", "type", "openedImage" and "closedImage"
  • <layout:resource> :

    New value for "type" attribute: "script"
  • <layout:row> :

    New attributes: "cellSpacing" and "cellPadding"
  • Global script imports:

    In skin file, the script paths in the value of "skin.scripts" will be added in every page using <layout:skin> or <layout:html> (script paths are comma separated)
  • Global script location variables:

    In skin file, "{directory.scripts}" is equal to "directory.scripts" value and "{directory.config}" is equal to "directory.config" value

  • Customizable generic display policy:

    By setting the "genericPolicy.class" skin parameter with an implementation of GenericPolicy interface, you can configure the display policy of all tags. It can be useful for security purpose
  • Bug fixes:

    Skin property "el.character" is now used by <layout:collectionDetail>

    and others...