Hi All,
I am doing a validation in my constructor and setting a text to a label control; however, I have trouble refreshing the label. Here's what I do:
the button gets disabled alright; but the Label doesn't reflect my error message.
I can see in the log, using the Label.getLabel(), returns my message, but not in the application page. I tried calling onRender(), but no success.  any help, please?
public class MyChangePassword extends ChangePassword {
      private static final long serialVersionUID = 1L;        
      private MyLDAP myLdap = null;
            
      public MyChangePassword () {
            try {
                  myLdap = new MyLDAP();
                  DfLogger.debug(this,new java.util.Date() + " - INFO :: MyChangePassword() - bindUser="+myLdap.getBindUser()+" || bindPass="+myLdap.getBindPass(), null,null);
                  DfLogger.debug(this,new java.util.Date() + " - INFO :: MyChangePassword() - LDAP Binding Context initialized!", null,null);
            } catch (Exception e) {             
                  ((Label)getControl("error_message_label", com.documentum.web.form.control.Label.class)).setLabel("Fatal Error! Please contact your System Administrator!");
                  ((Button)getControl("ok", com.documentum.web.form.control.Button.class)).setEnabled(false);
                  
                  DfLogger.debug(this,new java.util.Date() + " - ERROR :: MyChangePassword() - Label Message==" + e.getMessage(), null,null);
            }
            
      }
      ...
}