Format Field Attributes

From Plex-XML
Jump to: navigation, search

Format Field Attributes is a table in the PleXMLF-Modell. It is a 1:N relation to Fields and Format-Fields. Used to store additional fields attributes that won't be covered in Format-Fields.

All new attributes for HTML5, deeper Sencha integration will be stored her.

Add a new attribute

While you are able to store any attribute in the table it makes sense to define fields and input logic for common attributes. If you like to add a new attribute you should:

1. Add a field in the PleXMLF-Modell

FLD_ATR_NewAttribute is a       DOMAttributeValue
FLD_ATR_NewAttribute left lable New-Attribute
FLD_ATR_NewAttribute message    Hint  --> put a short description inside
FLD_ATR_NewAttribute impl name  newAttribute --> should be the attribute name

2. Add that field to the Field_Attributes_Fields.Field_Attributes_Fields view.

3. Gen+Build these functions:

PleXMLF: Field_Attributes.Fetch.FieldAttibuteFields_Read
PleXMLF: Field_Attributes.Fetch.FieldAttibuteFields_Update1
PleXMLF: Field_Attributes.Fetch.FieldAttibuteFields_Update2
SEC-XML: FormDetail.XML_Intern.Dictionary.Update

4. Update the Format-Fields-Maintanance function format in your deployed application

5. Add any logic to your XSLT's to bring your new attribute to life.

Existing default attributes

  • canGrow: Used in FindBrowse/Grids to define a column that is allowed to grow an take all space that isn't used by other columns.
  • placeholder: HTML5 placeholder attribute (hint text in empty input fields)
Personal tools