Class: DatatypeMappingPassword

Inherits:
DatatypeMappingText show all
Defined in:
lib/ontomde-java/struts/mappingForJsp.rb,
lib/ontomde-java/java/xsdDatatypeMapping.rb,
lib/ontomde-java/java/javaDatatypeMapping.rb

Instance Method Summary collapse

Methods inherited from DatatypeMappingText

#flex_prefix, #flex_writeMXML_Form_item_property, #flex_writeMXML_Form_item_property_column, #flex_writeMXML_MXvalidator, #flex_writeMXML_vo_mapping, #flex_writeVO_getParameter, #flex_writeVO_initFromXML_mapping, #flex_writeVO_initItemFromXML_mapping, #flex_writeVO_vars_datatype, #getFormCopyTo, #getFormInitFrom, #java_getJavaParse, #java_getJavaToString, #java_getType, #java_getUndefinedValue, #prot_convertToJava, #struts_edit_writeFieldGeneric_DisplayTable_displayTag_column, #xsd_getType

Methods inherited from DatatypeMapping

#addActionFieldMethod!, #crank_validation_annotation, #flex_writeMXML_Form_item_property, #flex_writeMXML_Form_item_property_column, #flex_writeMXML_MXvalidator, #flex_writeMXML_validate, #flex_writeMXML_vo_mapping, #flex_writeVO_getParameter, #flex_writeVO_initFromXML_mapping, #flex_writeVO_initItemFromXML_mapping, #flex_writeVO_vars_datatype, #getFormCopyTo, #getFormInitFrom, #getFormType, #java_Name, #java_getType, #java_getUndefinedValue, #java_helper_addMethods!, #java_helper_customCode, #java_qualifiedName, #jpa_addTypeModificator, #prot_init, #rdf_uri, #struts_edit_writeFieldGeneric_DisplayTable_displayTag_column, #struts_generateHelper, #xsd_getType

Instance Method Details

#getJSP(datatype, field, owner) ⇒ Object



268
269
270
271
# File 'lib/ontomde-java/struts/mappingForJsp.rb', line 268

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