| 1 28 29 30 package com.opencms.workplace; 31 32 import org.opencms.file.CmsObject; 33 import org.opencms.main.CmsException; 34 35 import com.opencms.template.A_CmsXmlContent; 36 37 import java.util.Hashtable ; 38 39 import org.w3c.dom.Element ; 40 41 50 51 public class CmsInputPassword extends A_CmsWpElement { 52 53 71 72 public Object handleSpecialWorkplaceTag(CmsObject cms, Element n, A_CmsXmlContent doc, 73 Object callingObject, Hashtable parameters, CmsXmlLanguageFile lang) throws CmsException { 74 String styleClass = n.getAttribute(CmsWorkplaceDefault.C_INPUT_CLASS); 75 String name = n.getAttribute(CmsWorkplaceDefault.C_INPUT_NAME); 76 String size = n.getAttribute(CmsWorkplaceDefault.C_INPUT_SIZE); 77 String length = n.getAttribute(CmsWorkplaceDefault.C_INPUT_LENGTH); 78 CmsXmlWpInputDefFile inputdef = getInputDefinitions(cms); 79 String result = inputdef.getPassword(styleClass, name, size, length); 80 return result; 81 } 82 } 83 | Popular Tags |