public boolean requeryLabel ( ) { boolean ret = false ; try { String labelTmp = DBProperties . getProperty ( getCommand ( ) . getLabel ( ) ) ; if ( getInstance ( ) != null ) { final ValueParser parser = new ValueParser ( new StringReader ( labelTmp ) ) ; final ValueList list = parser . ExpressionString ( ) ; if ( list . getExpressions ( ) . size ( ) > 0 ) { final PrintQuery print = new PrintQuery ( getInstance ( ) ) ; list . makeSelect ( print ) ; if ( print . execute ( ) ) { labelTmp = list . makeString ( getInstance ( ) , print , getMode ( ) ) ; } } } ret = ! labelTmp . equals ( this . label ) ; this . label = labelTmp ; } catch ( final EFapsException e ) { throw new RestartResponseException ( new ErrorPage ( e ) ) ; } catch ( final ParseException e ) { throw new RestartResponseException ( new ErrorPage ( e ) ) ; } return ret ; }
Requery the Label .