Class: JavaMappingPassword

Inherits:
JavaMappingText show all
Defined in:
lib/ontomde-uml2-struts/mappingForJsp.rb

Instance Method Summary collapse

Methods inherited from JavaMappingText

#getJavaParse, #getJavaToString, #struts_edit_writeFieldGeneric_DisplayTable_displayTag_column

Methods inherited from JavaMapping

#addActionFieldMethod!, #getFormCopyTo, #getFormInitFrom, #getFormType, #java_Name, #java_helper_addMethods!, #java_helper_customCode, #java_qualifiedName, #rdf_uri, #struts_edit_writeFieldGeneric_DisplayTable_displayTag_column, #struts_generateHelper

Instance Method Details

#getJSP(datatype, field, owner) ⇒ Object



264
265
266
267
# File 'lib/ontomde-uml2-struts/mappingForJsp.rb', line 264

def getJSP(datatype,field,owner)
  n=datatype.java_Name.downcase #TODO
  return %{<html:password property="#{field.java_Name}" size="20%" maxlength="#{self.maxStringLength}" styleId="#{n}" #{::Muml_DataType::STRUTS_ERROR_STYLE}/>}
end