Class ColumnEditorTag

  • All Implemented Interfaces:
    Composite, ConditionalTag, org.apache.commons.jelly.Tag

    public class ColumnEditorTag
    extends ColumnComponentTag

    A tag for defining the editor of a column within a table.

    In the body of this tag a single component (which can also be a container with an arbitrary number of children) can be specified that will be used for editing the column this tag belongs to. No other specific attributes are supported.

    A more detailed description can be found in the class comments of the super class and the TableTag and the ColumnTag.

    Version:
    $Id: ColumnEditorTag.java 205 2012-01-29 18:29:57Z oheger $
    Author:
    Oliver Heger
    See Also:
    TableTag, TableColumnTag
    • Constructor Detail

      • ColumnEditorTag

        public ColumnEditorTag()
    • Method Detail

      • getTableForm

        protected Form getTableForm​(TableTag tabTag)
        Returns the form affected by this tag from the specified table tag. This implementation will return the edit form.
        Specified by:
        getTableForm in class ColumnComponentTag
        Parameters:
        tabTag - the table tag
        Returns:
        the form used by this tag
      • initializeColumn

        protected void initializeColumn​(TableColumnTag colTag,
                                        Object bodyComponent,
                                        Set<String> componentNames)
        Initializes the passed in column tag with the results produced by this tag. This implementation sets the editor component and the set with the names of the components used by the editor form for this column.
        Specified by:
        initializeColumn in class ColumnComponentTag
        Parameters:
        colTag - the parent column tag
        bodyComponent - the component defined in the body of this tag
        componentNames - a set with the names of the involved components