Class InlineEnclosureHandler

  • All Implemented Interfaces:
    Serializable, IMarkupFilter, IComponentResolver, IClusterable

    public final class InlineEnclosureHandler
    extends AbstractMarkupFilter
    implements IComponentResolver
    This is a markup inline filter. It identifies enclosures as attribute, for example: <tr wicket:enclosure="">. The <tr> tag used in the example can be replaced with any html tag that can contain child elements. If the 'child' attribute is empty it determines the wicket:id of the child component automatically by analyzing the wicket component (in this case one wicket component is allowed) in between the open and close tags. If the enclosure tag has a 'child' attribute like <tr wicket:enclosure="controllingChildId"> than more than just one wicket component inside the enclosure tags are allowed and the child component which determines the visibility of the enclosure is identified by the 'child' attribute value which must be equal to the relative child id path.
    Author:
    Joonas Hamalainen, Juergen Donnerstag
    See Also:
    InlineEnclosure, Serialized Form