src/main/java/org/efaps/ui/wicket/pages/AbstractMergePage.java
@Override
    public MarkupContainer add(final Component... _childs)
    {
        MarkupContainer ret = null;
        for (final Component child : _childs) {
            if (child instanceof HtmlHeaderContainer) {
                ret = add2Page(child);
            } else {
                ret = body.add(_childs);
            }
        }
        return ret;
    }
@Override
    public MarkupContainer add(final Component... _childs)
    {
        MarkupContainer ret = null;
        for (final Component child : _childs) {
            if (child instanceof HtmlHeaderContainer) {
                ret = add2Page(child);
            } else {
                ret = body.add(_childs);
            }
        }
        return ret;
    }
@ Override public MarkupContainer add ( final Component ... _childs ) { MarkupContainer ret = null ; for ( final Component child : _childs ) { if ( child instanceof HtmlHeaderContainer ) { ret = add2Page ( child ) ; } else { ret = body . add ( _childs ) ; } } return ret ; }
Adds a child component to this container or to the body.

@param _childs childrne to add
@return the markup container
@throws IllegalArgumentException             Thrown if a child with the same id is replaced by the add operation.
Adds a child component to this container or to the body .