@Override
    public void onComponentTag(final Component _component,
                               final ComponentTag _tag)
    {
        super.onComponentTag(_component, _tag);
        _tag.put("dojoType", "dijit.Editor");
        if (this.cmds.size() > 0) {
            final StringBuilder str = new StringBuilder();
            str.append("[");
            boolean first = true;
            for (final MenuCommands cmd : this.cmds) {
                if (first) {
                    first = false;
                } else {
                    str.append(",");
                }
                str.append("'").append(cmd.key).append("'");
            }
            str.append("]");
            _tag.put("plugins", str.toString());
        }
    }
@Override
    public void onComponentTag(final Component _component,
                               final ComponentTag _tag)
    {
        super.onComponentTag(_component, _tag);
        _tag.put("dojoType", "dijit.Editor");
        if (this.cmds.size() > 0) {
            final StringBuilder str = new StringBuilder();
            str.append("[");
            boolean first = true;
            for (final MenuCommands cmd : this.cmds) {
                if (first) {
                    first = false;
                } else {
                    str.append(",");
                }
                str.append("'").append(cmd.key).append("'");
            }
            str.append("]");
            _tag.put("plugins", str.toString());
        }
    }
@ Override public void onComponentTag ( final Component _component , final ComponentTag _tag ) { super . onComponentTag ( _component , _tag ) ; _tag . put ( "dojoType" , "dijit.Editor" ) ; if ( this . cmds . size ( ) > 0 ) { final StringBuilder str = new StringBuilder ( ) ; str . append ( "[" ) ; boolean first = true ; for ( final MenuCommands cmd : this . cmds ) { if ( first ) { first = false ; } else { str . append ( "," ) ; } str . append ( "'" ) . append ( cmd . key ) . append ( "'" ) ; } str . append ( "]" ) ; _tag . put ( "plugins" , str . toString ( ) ) ; } }
The tag of the related component must be set, so that a dojo
BorderContainer will be rendered.

@param _component component this Behavior belongs to
@param _tag Tag to write to
The tag of the related component must be set so that a dojo BorderContainer will be rendered .