public void beginDisplay(DisplayEvent event) throws ModelControlException {
  setPageEncoding(request,response);
  CallBackTiledView tView=(CallBackTiledView)getChild(TILED_CALLBACKS);
  tView.setCallBackArray(callbacks,requiredList,infoText);
  if (rb != null) {
    if (newOrg) {
      buttonOptions=new String[2];
      buttonOptions[0]=rb.getString("Yes");
      buttonOptions[1]=rb.getString("No");
    }
    setDisplayFieldValue(TXT_GOTO_LOGIN_AFTER_FAIL,rb.getString("gotoLoginAfterFail"));
    setDisplayFieldValue(CMD_SUBMIT,"Submit");
    if ((reqDataHash.get("authlevel") != null) || (reqDataHash.get(Constants.COMPOSITE_ADVICE) != null)) {
      setDisplayFieldValue(LBL_SUBMIT,rb.getString("Submit"));
    }
 else {
      setDisplayFieldValue(LBL_SUBMIT,rb.getString("LogIn"));
    }
    setDisplayFieldValue(CMD_CONTINUE,"Continue");
    setDisplayFieldValue(LBL_CONTINUE,rb.getString("Continue"));
    setDisplayFieldValue(CMD_AGREE,"Agree");
    setDisplayFieldValue(LBL_AGREE,rb.getString("Agree"));
    setDisplayFieldValue(CMD_DISAGREE,"Disagree");
    setDisplayFieldValue(LBL_DISAGREE,rb.getString("Disagree"));
    setDisplayFieldValue(CMD_YES,"Yes");
    setDisplayFieldValue(LBL_YES,rb.getString("Yes"));
    setDisplayFieldValue(CMD_NO,"No");
    setDisplayFieldValue(LBL_NO,rb.getString("No"));
    setDisplayFieldValue(CMD_NEW_USER,"New User");
    setDisplayFieldValue(LBL_NEW_USER,rb.getString("NewUser"));
    setDisplayFieldValue(LBL_RESET,rb.getString("Reset"));
    setDisplayFieldValue(HTML_TITLE_LOGIN,rb.getString("htmlTitle_Login"));
    setDisplayFieldValue(HTML_TITLE_MESSAGE,rb.getString("htmlTitle_Message"));
    setDisplayFieldValue(HTML_TITLE_REDIRECT,rb.getString("htmlTitle_Redirect"));
    setDisplayFieldValue(HTML_TITLE_ACCOUNTEXPIRED,rb.getString("htmlTitle_AccountExpired"));
    setDisplayFieldValue(HTML_TITLE_AUTHERROR,rb.getString("htmlTitle_AuthError"));
    setDisplayFieldValue(HTML_TITLE_SELFREGERROR,rb.getString("htmlTitle_SelfRegError"));
    setDisplayFieldValue(HTML_TITLE_DISCLAIMER,rb.getString("htmlTitle_Disclaimer"));
    setDisplayFieldValue(HTML_TITLE_INVALIDPASSWORD,rb.getString("htmlTitle_InvalidPassword"));
    setDisplayFieldValue(HTML_TITLE_INVALIDDOMAIN,rb.getString("htmlTitle_InvalidDomain"));
    setDisplayFieldValue(HTML_TITLE_USERPROFILENOTFOUND,rb.getString("htmlTitle_UserProfileNotFound"));
    setDisplayFieldValue(HTML_TITLE_AUTHFAILED,rb.getString("htmlTitle_AuthFailed"));
    setDisplayFieldValue(HTML_TITLE_MEMBERSHIP,rb.getString("htmlTitle_Membership"));
    setDisplayFieldValue(HTML_TITLE_AUTHMODULEDENIED,rb.getString("htmlTitle_AuthModuleDenied"));
    setDisplayFieldValue(HTML_TITLE_NOCONFIGERROR,rb.getString("htmlTitle_NoConfigError"));
    setDisplayFieldValue(HTML_TITLE_ORGINACTIVE,rb.getString("htmlTitle_OrgInactive"));
    setDisplayFieldValue(HTML_TITLE_SELFREGMODULE,rb.getString("htmlTitle_SelfRegModule"));
    setDisplayFieldValue(HTML_TITLE_SESSIONTIMEOUT,rb.getString("htmlTitle_SessionTimeOut"));
    setDisplayFieldValue(HTML_TITLE_USERNOTFOUND,rb.getString("htmlTitle_UserNotFound"));
    setDisplayFieldValue(HTML_TITLE_USERINACTIVE,rb.getString("htmlTitle_UserInactive"));
    setDisplayFieldValue(HTML_TITLE_NEWORG,rb.getString("htmlTitle_NewOrg"));
    setDisplayFieldValue(HTML_TITLE_MAXSESSIONS,rb.getString("htmlTitle_MaxSessions"));
  }
 else {
    loginDebug.message("In beginDisplay ... rb is NULL");
  }
  ButtonTiledView tBtnView=(ButtonTiledView)getChild(TILED_BUTTONS);
  tBtnView.setButtonArray(buttonOptions);
  if ((buttonOptions != null) && (buttonOptions.length > 0)) {
    setDisplayFieldValue(DEFAULT_BTN,buttonOptions[0]);
  }
  setDisplayFieldValue(REDIRECT_URL,redirect_url);
}

public void beginDisplay ( DisplayEvent event ) throws ModelControlException { setPageEncoding ( request , response ) ; CallBackTiledView tView = ( CallBackTiledView ) getChild ( TILED_CALLBACKS ) ; tView . setCallBackArray ( callbacks , requiredList , infoText ) ; if ( rb != null ) { if ( newOrg ) { buttonOptions = new String [ 2 ] ; buttonOptions [ 0 ] = rb . getString ( "Yes" ) ; buttonOptions [ 1 ] = rb . getString ( "No" ) ; } setDisplayFieldValue ( TXT_GOTO_LOGIN_AFTER_FAIL , rb . getString ( "gotoLoginAfterFail" ) ) ; setDisplayFieldValue ( CMD_SUBMIT , "Submit" ) ; if ( ( reqDataHash . get ( "authlevel" ) != null ) || ( reqDataHash . get ( Constants . COMPOSITE_ADVICE ) != null ) ) { setDisplayFieldValue ( LBL_SUBMIT , rb . getString ( "Submit" ) ) ; } else { setDisplayFieldValue ( LBL_SUBMIT , rb . getString ( "LogIn" ) ) ; } setDisplayFieldValue ( CMD_CONTINUE , "Continue" ) ; setDisplayFieldValue ( LBL_CONTINUE , rb . getString ( "Continue" ) ) ; setDisplayFieldValue ( CMD_AGREE , "Agree" ) ; setDisplayFieldValue ( LBL_AGREE , rb . getString ( "Agree" ) ) ; setDisplayFieldValue ( CMD_DISAGREE , "Disagree" ) ; setDisplayFieldValue ( LBL_DISAGREE , rb . getString ( "Disagree" ) ) ; setDisplayFieldValue ( CMD_YES , "Yes" ) ; setDisplayFieldValue ( LBL_YES , rb . getString ( "Yes" ) ) ; setDisplayFieldValue ( CMD_NO , "No" ) ; setDisplayFieldValue ( LBL_NO , rb . getString ( "No" ) ) ; setDisplayFieldValue ( CMD_NEW_USER , "New User" ) ; setDisplayFieldValue ( LBL_NEW_USER , rb . getString ( "NewUser" ) ) ; setDisplayFieldValue ( LBL_RESET , rb . getString ( "Reset" ) ) ; setDisplayFieldValue ( HTML_TITLE_LOGIN , rb . getString ( "htmlTitle_Login" ) ) ; setDisplayFieldValue ( HTML_TITLE_MESSAGE , rb . getString ( "htmlTitle_Message" ) ) ; setDisplayFieldValue ( HTML_TITLE_REDIRECT , rb . getString ( "htmlTitle_Redirect" ) ) ; setDisplayFieldValue ( HTML_TITLE_ACCOUNTEXPIRED , rb . getString ( "htmlTitle_AccountExpired" ) ) ; setDisplayFieldValue ( HTML_TITLE_AUTHERROR , rb . getString ( "htmlTitle_AuthError" ) ) ; setDisplayFieldValue ( HTML_TITLE_SELFREGERROR , rb . getString ( "htmlTitle_SelfRegError" ) ) ; setDisplayFieldValue ( HTML_TITLE_DISCLAIMER , rb . getString ( "htmlTitle_Disclaimer" ) ) ; setDisplayFieldValue ( HTML_TITLE_INVALIDPASSWORD , rb . getString ( "htmlTitle_InvalidPassword" ) ) ; setDisplayFieldValue ( HTML_TITLE_INVALIDDOMAIN , rb . getString ( "htmlTitle_InvalidDomain" ) ) ; setDisplayFieldValue ( HTML_TITLE_USERPROFILENOTFOUND , rb . getString ( "htmlTitle_UserProfileNotFound" ) ) ; setDisplayFieldValue ( HTML_TITLE_AUTHFAILED , rb . getString ( "htmlTitle_AuthFailed" ) ) ; setDisplayFieldValue ( HTML_TITLE_MEMBERSHIP , rb . getString ( "htmlTitle_Membership" ) ) ; setDisplayFieldValue ( HTML_TITLE_AUTHMODULEDENIED , rb . getString ( "htmlTitle_AuthModuleDenied" ) ) ; setDisplayFieldValue ( HTML_TITLE_NOCONFIGERROR , rb . getString ( "htmlTitle_NoConfigError" ) ) ; setDisplayFieldValue ( HTML_TITLE_ORGINACTIVE , rb . getString ( "htmlTitle_OrgInactive" ) ) ; setDisplayFieldValue ( HTML_TITLE_SELFREGMODULE , rb . getString ( "htmlTitle_SelfRegModule" ) ) ; setDisplayFieldValue ( HTML_TITLE_SESSIONTIMEOUT , rb . getString ( "htmlTitle_SessionTimeOut" ) ) ; setDisplayFieldValue ( HTML_TITLE_USERNOTFOUND , rb . getString ( "htmlTitle_UserNotFound" ) ) ; setDisplayFieldValue ( HTML_TITLE_USERINACTIVE , rb . getString ( "htmlTitle_UserInactive" ) ) ; setDisplayFieldValue ( HTML_TITLE_NEWORG , rb . getString ( "htmlTitle_NewOrg" ) ) ; setDisplayFieldValue ( HTML_TITLE_MAXSESSIONS , rb . getString ( "htmlTitle_MaxSessions" ) ) ; } else { loginDebug . message ( "In beginDisplay ... rb is NULL" ) ; } ButtonTiledView tBtnView = ( ButtonTiledView ) getChild ( TILED_BUTTONS ) ; tBtnView . setButtonArray ( buttonOptions ) ; if ( ( buttonOptions != null ) && ( buttonOptions . length > 0 ) ) { setDisplayFieldValue ( DEFAULT_BTN , buttonOptions [ 0 ] ) ; } setDisplayFieldValue ( REDIRECT_URL , redirect_url ) ; }
called as notification that the jsp has begun its display processing . in addition to performing the default behavior in the superclass ' s version , this method executes any auto - retrieving or auto - executing models associated with this view unless auto - retrieval is disabled .
