src/main/java/org/efaps/ui/wicket/components/menu/LinkItem.java
@Override
    public void open(final Component _openComponent)
        throws EFapsException
    {
        final UIMenuItem model = super.getModelObject();

        final AbstractCommand command = model.getCommand();
        _openComponent.getPage();
        if (command.getTargetTable() != null) {
            if (command.getTargetStructurBrowserField() != null) {
                final StructurBrowserPage page = new StructurBrowserPage(model.getCommandUUID(), model
                                .getInstanceKey());
                setResponsePage(page);
            } else {
                if ("GridX".equals(Configuration.getAttribute(ConfigAttribute.TABLE_DEFAULTTYPECONTENT))) {
                    final GridPage page = new GridPage(Model.of(UIGrid.get(command.getUUID(), PagePosition.CONTENT)));
                    setResponsePage(page);
                } else {
                    final UITable uiTable = new UITable(model.getCommandUUID(), model.getInstanceKey())
                                    .setPagePosition( PagePosition.CONTENT);
                    final TablePage page = new TablePage(Model.of(uiTable));
                    setResponsePage(page);
                }
            }
        } else if (command.getTargetForm() != null) {
            final UIForm uiForm = new UIForm(model.getCommandUUID(), model.getInstanceKey()).setPagePosition(
                            PagePosition.CONTENT);
            final FormPage page = new FormPage(Model.of(uiForm));
            setResponsePage(page);
        }
    }
@Override
    public void open(final Component _openComponent)
        throws EFapsException
    {
        final UIMenuItem model = super.getModelObject();

        final AbstractCommand command = model.getCommand();
        _openComponent.getPage();
        if (command.getTargetTable() != null) {
            if (command.getTargetStructurBrowserField() != null) {
                final StructurBrowserPage page = new StructurBrowserPage(model.getCommandUUID(), model
                                .getInstanceKey());
                setResponsePage(page);
            } else {
                if ("GridX".equals(Configuration.getAttribute(ConfigAttribute.TABLE_DEFAULTTYPECONTENT))) {
                    final GridPage page = new GridPage(Model.of(UIGrid.get(command.getUUID(), PagePosition.CONTENT)));
                    setResponsePage(page);
                } else {
                    final UITable uiTable = new UITable(model.getCommandUUID(), model.getInstanceKey())
                                    .setPagePosition( PagePosition.CONTENT);
                    final TablePage page = new TablePage(Model.of(uiTable));
                    setResponsePage(page);
                }
            }
        } else if (command.getTargetForm() != null) {
            final UIForm uiForm = new UIForm(model.getCommandUUID(), model.getInstanceKey()).setPagePosition(
                            PagePosition.CONTENT);
            final FormPage page = new FormPage(Model.of(uiForm));
            setResponsePage(page);
        }
    }
{@inheritDoc}