public void requeryLabel ( ) { try { final ValueParser parser = new ValueParser ( new StringReader ( this . valueLabel ) ) ; final ValueList valList = parser . ExpressionString ( ) ; final PrintQuery print = new PrintQuery ( getInstance ( ) ) ; valList . makeSelect ( print ) ; if ( print . execute ( ) ) { setLabel ( valList . makeString ( getInstance ( ) , print , getMode ( ) ) . toString ( ) ) ; } } catch ( final EFapsException e ) { throw new RestartResponseException ( new ErrorPage ( e ) ) ; } catch ( final ParseException e ) { throw new RestartResponseException ( new ErrorPage ( e ) ) ; } }
This method is updating the Label by querying the eFaps - DataBase .