src/main/java/org/efaps/ui/wicket/pages/content/AbstractContentPage.java
@SuppressWarnings("unchecked")
    protected void addComponents(final FormContainer _form)
        throws EFapsException
    {
        this.form = _form;
        add(new KeepAliveBehavior());

        // set the title for the Page
        add2Page(new Label("pageTitle", DBProperties.getProperty("Logo.Version.Label")));

        add(new SetMessageStatusBehavior());

        add(this.modal);

        final AbstractUIObject uiObject = (AbstractUIObject) super.getDefaultModelObject();
        add(new HeadingPanel("titel",  Model.of(new UIHeading(uiObject.getTitle()))));

        IModel<UIMenuItem> model = null;
        if (uiObject.getMode() == TargetMode.SEARCH
                        && uiObject.getCallingCommandUUID() != null
                        && uiObject instanceof UIForm) {
            model = Model.of(new UISearchItem(uiObject.getCallingCommand()
                                            .getTargetSearch().getUUID()));
        } else if (uiObject.getCommand().getTargetMenu() != null) {
            model = Model.of(new UIMenuItem(uiObject.getCommand().getTargetMenu()
                                            .getUUID(), uiObject.getInstanceKey()));
        }
        add(new MenuBarPanel("menu", model));
        add(new HelpLink("help", Model.of(uiObject.getCommand().getId())));
        final WebMarkupContainer footerpanel;
        if (uiObject.isCreateMode() || uiObject.isEditMode() || uiObject.isSearchMode()
                        || uiObject.isOpenedByPicker()) {
            footerpanel = new FooterPanel("footer", (IModel<ICmdUIObject>) getDefaultModel(), this.modalWindow);
        } else {
            footerpanel = new WebMarkupContainer("footer");
            footerpanel.setVisible(false);
        }
        add(footerpanel);
    }
@SuppressWarnings("unchecked")
    protected void addComponents(final FormContainer _form)
        throws EFapsException
    {
        this.form = _form;
        add(new KeepAliveBehavior());

        // set the title for the Page
        add2Page(new Label("pageTitle", DBProperties.getProperty("Logo.Version.Label")));

        add(new SetMessageStatusBehavior());

        add(this.modal);

        final AbstractUIObject uiObject = (AbstractUIObject) super.getDefaultModelObject();
        add(new HeadingPanel("titel",  Model.of(new UIHeading(uiObject.getTitle()))));

        IModel<UIMenuItem> model = null;
        if (uiObject.getMode() == TargetMode.SEARCH
                        && uiObject.getCallingCommandUUID() != null
                        && uiObject instanceof UIForm) {
            model = Model.of(new UISearchItem(uiObject.getCallingCommand()
                                            .getTargetSearch().getUUID()));
        } else if (uiObject.getCommand().getTargetMenu() != null) {
            model = Model.of(new UIMenuItem(uiObject.getCommand().getTargetMenu()
                                            .getUUID(), uiObject.getInstanceKey()));
        }
        add(new MenuBarPanel("menu", model));
        add(new HelpLink("help", Model.of(uiObject.getCommand().getId())));
        final WebMarkupContainer footerpanel;
        if (uiObject.isCreateMode() || uiObject.isEditMode() || uiObject.isSearchMode()
                        || uiObject.isOpenedByPicker()) {
            footerpanel = new FooterPanel("footer", (IModel<ICmdUIObject>) getDefaultModel(), this.modalWindow);
        } else {
            footerpanel = new WebMarkupContainer("footer");
            footerpanel.setVisible(false);
        }
        add(footerpanel);
    }
Method that adds the Components to the Page.

@param _form FormContainer
@throws EFapsException on error