Class NestedPathTag

  • All Implemented Interfaces:
    Serializable, IterationTag, JspTag, Tag, TryCatchFinally

    public class NestedPathTag
    extends TagSupport
    implements TryCatchFinally

    Nested-path tag, to support and assist with nested beans or bean properties in the model. Exports a "nestedPath" variable of type String in request scope, visible to the current page and also included pages, if any.

    The BindTag will auto-detect the current nested path and automatically prepend it to its own path to form a complete path to the bean or bean property.

    This tag will also prepend any existing nested path that is currently set. Thus, you can nest multiple nested-path tags.

    Thanks to Seth Ladd for the suggestion and the original implementation!

    Since:
    1.1
    Author:
    Juergen Hoeller
    See Also:
    Serialized Form