Class: JavaMappingLargeText

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

Direct Known Subclasses

JavaMappingGRAPHVIZ

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



27
28
29
30
31
# File 'lib/ontomde-uml2-struts/mappingForJsp.rb', line 27

def getJSP(datatype,field,owner)
  n=datatype.java_Name.downcase #TODO
  #maxlength not supported by textarea
  return %{<html:textarea property="#{field.java_Name}" styleId="#{n}" #{::Muml_DataType::STRUTS_ERROR_STYLE}/>}
end