src/Easy/Element/Password.php
public function render()
    {
        $disabledStr = ($this->getEnabled() == "N") ? "DISABLED=\"true\"" : "";
        $style = $this->getStyle();
        $formobj = $this->GetFormObj();
		if (OPENBIZ_CLIENT_DEVICE != 'mobile') { 
			if($formobj->errors[$this->objectName]){
				$func .= "onchange=\"this.className='$this->cssClass'\"";
			}else{
				$func .= "onfocus=\"this.className='$this->cssFocusClass'\" onblur=\"this.className='$this->cssClass'\"";
			} 
		}
        $sHTML = "<INPUT TYPE=\"PASSWORD\" NAME='$this->objectName' ID=\"" . $this->objectName ."\" VALUE='$this->value' $disabledStr $this->htmlAttr $style $func />";
    	if($this->hint){
        	$sHTML.="<script>        	
        	\$j('#" . $this->objectName . "').tbHinter({
				text: '".$this->hint."'
			});
        	</script>";
        }
        return $sHTML;
    }
public function render()
    {
        $disabledStr = ($this->getEnabled() == "N") ? "DISABLED=\"true\"" : "";
        $style = $this->getStyle();
        $formobj = $this->GetFormObj();
		if (OPENBIZ_CLIENT_DEVICE != 'mobile') { 
			if($formobj->errors[$this->objectName]){
				$func .= "onchange=\"this.className='$this->cssClass'\"";
			}else{
				$func .= "onfocus=\"this.className='$this->cssFocusClass'\" onblur=\"this.className='$this->cssClass'\"";
			} 
		}
        $sHTML = "<INPUT TYPE=\"PASSWORD\" NAME='$this->objectName' ID=\"" . $this->objectName ."\" VALUE='$this->value' $disabledStr $this->htmlAttr $style $func />";
    	if($this->hint){
        	$sHTML.="<script>        	
        	\$j('#" . $this->objectName . "').tbHinter({
				text: '".$this->hint."'
			});
        	</script>";
        }
        return $sHTML;
    }
Render, draw the control according to the mode

@return string HTML text