src/main/java/org/efaps/ui/wicket/models/objects/UIMenuItem.java
private void storeInSession()
    {
        try {
            Context.getThreadContext().setSessionAttribute(getCacheKey(), isExpanded());
        } catch (final EFapsException e) {
            UIMenuItem.LOG.error("Error storing Session info for UIMenuItem called by Command with UUID: {}",
                            getCommandUUID(), e);
        }
    }
private void storeInSession()
    {
        try {
            Context.getThreadContext().setSessionAttribute(getCacheKey(), isExpanded());
        } catch (final EFapsException e) {
            UIMenuItem.LOG.error("Error storing Session info for UIMenuItem called by Command with UUID: {}",
                            getCommandUUID(), e);
        }
    }
Store the Information in the Session.