src/main/java/org/efaps/ui/wicket/models/objects/UIFieldStructurBrowser.java
@Override
    protected void initialise()
        throws EFapsException
    {
        if (getCommand() == null) {
            super.initialise();
        } else {
            try {
                if (Context.getThreadContext().containsUserAttribute(
                                getCacheKey(UITable.UserCacheKey.SORTKEY))) {
                    setSortKeyInternal(Context.getThreadContext().getUserAttribute(
                                    getCacheKey(UITable.UserCacheKey.SORTKEY)));
                }
                if (Context.getThreadContext().containsUserAttribute(
                                getCacheKey(UITable.UserCacheKey.SORTDIRECTION))) {
                    setSortDirection(SortDirection.getEnum(Context.getThreadContext()
                                    .getUserAttribute(getCacheKey(UITable.UserCacheKey.SORTDIRECTION))));
                }
            } catch (final EFapsException e) {
                // we don't throw an error because this are only Usersettings
                UIFieldStructurBrowser.LOG.error("error during the retrieve of UserAttributes", e);
            }
        }
    }
@Override
    protected void initialise()
        throws EFapsException
    {
        if (getCommand() == null) {
            super.initialise();
        } else {
            try {
                if (Context.getThreadContext().containsUserAttribute(
                                getCacheKey(UITable.UserCacheKey.SORTKEY))) {
                    setSortKeyInternal(Context.getThreadContext().getUserAttribute(
                                    getCacheKey(UITable.UserCacheKey.SORTKEY)));
                }
                if (Context.getThreadContext().containsUserAttribute(
                                getCacheKey(UITable.UserCacheKey.SORTDIRECTION))) {
                    setSortDirection(SortDirection.getEnum(Context.getThreadContext()
                                    .getUserAttribute(getCacheKey(UITable.UserCacheKey.SORTDIRECTION))));
                }
            } catch (final EFapsException e) {
                // we don't throw an error because this are only Usersettings
                UIFieldStructurBrowser.LOG.error("error during the retrieve of UserAttributes", e);
            }
        }
    }
@ Override protected void initialise ( ) throws EFapsException { if ( getCommand ( ) == null ) { super . initialise ( ) ; } else { try { if ( Context . getThreadContext ( ) . containsUserAttribute ( getCacheKey ( UITable . UserCacheKey . SORTKEY ) ) ) { setSortKeyInternal ( Context . getThreadContext ( ) . getUserAttribute ( getCacheKey ( UITable . UserCacheKey . SORTKEY ) ) ) ; } if ( Context . getThreadContext ( ) . containsUserAttribute ( getCacheKey ( UITable . UserCacheKey . SORTDIRECTION ) ) ) { setSortDirection ( SortDirection . getEnum ( Context . getThreadContext ( ) . getUserAttribute ( getCacheKey ( UITable . UserCacheKey . SORTDIRECTION ) ) ) ) ; } } catch ( final EFapsException e ) { // we don't throw an error because this are only Usersettings UIFieldStructurBrowser . LOG . error ( "error during the retrieve of UserAttributes" , e ) ; } } }
{@inheritDoc}
{