Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
1010905 - Ensure consistency of field properties for all types
Browse files Browse the repository at this point in the history
  • Loading branch information
nmirasch committed Oct 1, 2013
1 parent b6a1380 commit 2410bd4
Show file tree
Hide file tree
Showing 25 changed files with 151 additions and 875 deletions.
Expand Up @@ -42,9 +42,9 @@ public class CoreFormsBuilder implements Startable {
@Inject
private FormSerializationManager formSerializationManager;

@Inject @Config("default,CheckBox,Date,FreeText,HTMLEditor,HTMLLabel,I18nHTMLText,I18nText,I18nTextArea,InputText," +
"InputTextArea,InputTextCCC,InputTextCP,InputTextDouble,InputTextEmail,InputTextIBAN,InputTextInteger," +
"InputTextLong,InputTextPhone,Link,Separator,Subform,MultipleSubform")
@Inject @Config("default,InputText,InputTextBigDecimal,InputTextBigInteger,CheckBox,Date,InputTextDouble," +
"InputTextFloat,InputTextInteger,InputTextLong,InputTextShort,HTMLLabel,Separator, Subform, MultipleSubform,"+
"InputTextEmail,InputTextArea,HTMLEditor,Link,I18nHTMLText")
protected String[] coreFormNames;

public Priority getPriority() {
Expand Down
Expand Up @@ -141,25 +141,6 @@
<property name="cssStyle" value=""/>
<property name="accesskey" value=""/>
</field>
<field position="11" name="groupWithPrevious" type="CheckBox" id="343958388">
<property name="fieldName" value="groupWithPrevious"/>
<property name="fieldRequired" value="false"/>
<property name="groupWithPrevious" value="false"/>
<property name="height" value=""/>
<property name="label"
value="quot;caquot;,quot;Mantenir agrupat amb l&apos;anteriorquot;quot;enquot;,quot;Group with previousquot;quot;esquot;,quot;Mantener agrupado con el anteriorquot;"/>
<property name="title" value="quot;caquot;,quot;quot;quot;enquot;,quot;quot;quot;esquot;,quot;quot;"/>
<property name="disabled" value="false"/>
<property name="readonly" value="false"/>
<property name="size" value=""/>
<property name="formula" value=""/>
<property name="rangeFormula" value=""/>
<property name="pattern" value=""/>
<property name="maxlength" value="512"/>
<property name="styleclass" value=""/>
<property name="cssStyle" value=""/>
<property name="accesskey" value=""/>
</field>
<field position="0" name="fieldName" type="InputText" id="937784378">
<property name="fieldName" value="fieldName"/>
<property name="fieldRequired" value="false"/>
Expand All @@ -179,25 +160,6 @@
<property name="cssStyle" value=""/>
<property name="accesskey" value=""/>
</field>
<field position="9" name="disabled" type="CheckBox" id="1361010167">
<property name="fieldName" value="disabled"/>
<property name="fieldRequired" value="false"/>
<property name="groupWithPrevious" value="true"/>
<property name="height" value=""/>
<property name="label"
value="quot;caquot;,quot;Deshabilitatquot;quot;enquot;,quot;Disabledquot;quot;esquot;,quot;Deshabilitadoquot;"/>
<property name="title" value="quot;caquot;,quot;quot;quot;enquot;,quot;quot;quot;esquot;,quot;quot;"/>
<property name="disabled" value="false"/>
<property name="readonly" value="false"/>
<property name="size" value=""/>
<property name="formula" value=""/>
<property name="rangeFormula" value=""/>
<property name="pattern" value=""/>
<property name="maxlength" value="512"/>
<property name="styleclass" value=""/>
<property name="cssStyle" value=""/>
<property name="accesskey" value=""/>
</field>
<field position="10" name="readonly" type="CheckBox" id="1409962835">
<property name="fieldName" value="readonly"/>
<property name="fieldRequired" value="false"/>
Expand Down Expand Up @@ -286,7 +248,7 @@
value="quot;caquot;,quot;Permet definir una f&#243;rmula per a informar el camp amb un valor per defecte.quot;quot;enquot;,quot;Configure a formula to set a default value for the field.quot;quot;esquot;,quot;Permite definir una f&#243;rmula para informar el campo con un valor por defecto.quot;"/>
<property name="disabled" value="false"/>
<property name="readonly" value="false"/>
<property name="size" value="25"/>
<property name="size" value="55"/>
<property name="formula" value=""/>
<property name="rangeFormula" value=""/>
<property name="pattern" value=""/>
Expand Down
Expand Up @@ -141,25 +141,6 @@
<property name="cssStyle" value=""/>
<property name="accesskey" value=""/>
</field>
<field position="15" name="groupWithPrevious" type="CheckBox" id="1932037418">
<property name="fieldName" value="groupWithPrevious"/>
<property name="fieldRequired" value="false"/>
<property name="groupWithPrevious" value="false"/>
<property name="height" value=""/>
<property name="label"
value="quot;caquot;,quot;Mantenir agrupat amb l&apos;anteriorquot;quot;enquot;,quot;Group with previousquot;quot;esquot;,quot;Mantener agrupado con el anteriorquot;"/>
<property name="title" value="quot;caquot;,quot;quot;quot;enquot;,quot;quot;quot;esquot;,quot;quot;"/>
<property name="disabled" value="false"/>
<property name="readonly" value="false"/>
<property name="size" value=""/>
<property name="formula" value=""/>
<property name="rangeFormula" value=""/>
<property name="pattern" value=""/>
<property name="maxlength" value="512"/>
<property name="styleclass" value=""/>
<property name="cssStyle" value=""/>
<property name="accesskey" value=""/>
</field>
<field position="7" name="cssStyle" type="InputText" id="2077980493">
<property name="fieldName" value="cssStyle"/>
<property name="fieldRequired" value="false"/>
Expand Down Expand Up @@ -219,44 +200,6 @@
<property name="cssStyle" value=""/>
<property name="accesskey" value=""/>
</field>
<field position="9" name="maxlength" type="InputTextLong" id="1028179904">
<property name="fieldName" value="maxlength"/>
<property name="fieldRequired" value="false"/>
<property name="groupWithPrevious" value="false"/>
<property name="height" value=""/>
<property name="label"
value="quot;caquot;,quot;Longitud m&#224;xima:quot;quot;enquot;,quot;Max length:quot;quot;esquot;,quot;Longitud m&#225;xima:quot;"/>
<property name="title" value="quot;caquot;,quot;quot;quot;enquot;,quot;quot;quot;esquot;,quot;quot;"/>
<property name="disabled" value="false"/>
<property name="readonly" value="false"/>
<property name="size" value="25"/>
<property name="formula" value=""/>
<property name="rangeFormula" value=""/>
<property name="pattern" value=""/>
<property name="maxlength" value="512"/>
<property name="styleclass" value=""/>
<property name="cssStyle" value=""/>
<property name="accesskey" value=""/>
</field>
<field position="11" name="disabled" type="CheckBox" id="776626201">
<property name="fieldName" value="disabled"/>
<property name="fieldRequired" value="false"/>
<property name="groupWithPrevious" value="true"/>
<property name="height" value=""/>
<property name="label"
value="quot;caquot;,quot;Deshabilitatquot;quot;enquot;,quot;Disabledquot;quot;esquot;,quot;Deshabilitadoquot;"/>
<property name="title" value="quot;caquot;,quot;quot;quot;enquot;,quot;quot;quot;esquot;,quot;quot;"/>
<property name="disabled" value="false"/>
<property name="readonly" value="false"/>
<property name="size" value=""/>
<property name="formula" value=""/>
<property name="rangeFormula" value=""/>
<property name="pattern" value=""/>
<property name="maxlength" value="512"/>
<property name="styleclass" value=""/>
<property name="cssStyle" value=""/>
<property name="accesskey" value=""/>
</field>
<field position="2" name="errorMessage" type="I18nText" id="2083554527">
<property name="fieldName" value="errorMessage"/>
<property name="fieldRequired" value="false"/>
Expand Down Expand Up @@ -326,7 +269,7 @@
value="quot;caquot;,quot;Permet definir una f&#243;rmula per a informar el camp amb un valor per defecte.quot;quot;enquot;,quot;Configure a formula to set a default value for the field.quot;quot;esquot;,quot;Permite definir una f&#243;rmula para informar el campo con un valor por defecto.quot;"/>
<property name="disabled" value="false"/>
<property name="readonly" value="false"/>
<property name="size" value="25"/>
<property name="size" value="55"/>
<property name="formula" value=""/>
<property name="rangeFormula" value=""/>
<property name="pattern" value=""/>
Expand Down
Expand Up @@ -16,7 +16,7 @@
value="quot;caquot;,quot;Permet definir una f&#243;rmula per a informar el camp amb un valor per defecte.quot;quot;enquot;,quot;Configure a formula to set a default value for the field.quot;quot;esquot;,quot;Permite definir una f&#243;rmula para informar el campo con un valor por defecto.quot;"/>
<property name="disabled" value="false"/>
<property name="readonly" value="false"/>
<property name="size" value="25"/>
<property name="size" value="55"/>
<property name="formula" value=""/>
<property name="rangeFormula" value=""/>
<property name="pattern" value=""/>
Expand Down Expand Up @@ -180,7 +180,7 @@
<property name="cssStyle" value=""/>
<property name="accesskey" value=""/>
</field>
<field position="9" name="height" type="InputText" id="1360845549">
<field position="10" name="height" type="InputText" id="1360845549">
<property name="fieldName" value="height"/>
<property name="fieldRequired" value="false"/>
<property name="groupWithPrevious" value="false"/>
Expand All @@ -200,10 +200,10 @@
<property name="cssStyle" value=""/>
<property name="accesskey" value=""/>
</field>
<field position="10" name="maxlength" type="InputTextLong" id="448529390">
<field position="9" name="maxlength" type="InputTextLong" id="448529390">
<property name="fieldName" value="maxlength"/>
<property name="fieldRequired" value="false"/>
<property name="groupWithPrevious" value="false"/>
<property name="groupWithPrevious" value="true"/>
<property name="height" value=""/>
<property name="label"
value="quot;caquot;,quot;Longitud m&#224;xima:quot;quot;enquot;,quot;Max length:quot;quot;esquot;,quot;Longitud m&#225;xima:quot;"/>
Expand Down Expand Up @@ -297,44 +297,6 @@
<property name="cssStyle" value=""/>
<property name="accesskey" value=""/>
</field>
<field position="14" name="groupWithPrevious" type="CheckBox" id="1776280122">
<property name="fieldName" value="groupWithPrevious"/>
<property name="fieldRequired" value="false"/>
<property name="groupWithPrevious" value="false"/>
<property name="height" value=""/>
<property name="label"
value="quot;caquot;,quot;Mantenir agrupat amb l&apos;anteriorquot;quot;enquot;,quot;Group with previousquot;quot;esquot;,quot;Mantener agrupado con el anteriorquot;"/>
<property name="title" value="quot;caquot;,quot;quot;quot;enquot;,quot;quot;quot;esquot;,quot;quot;"/>
<property name="disabled" value="false"/>
<property name="readonly" value="false"/>
<property name="size" value=""/>
<property name="formula" value=""/>
<property name="rangeFormula" value=""/>
<property name="pattern" value=""/>
<property name="maxlength" value="512"/>
<property name="styleclass" value=""/>
<property name="cssStyle" value=""/>
<property name="accesskey" value=""/>
</field>
<field position="12" name="disabled" type="CheckBox" id="469790453">
<property name="fieldName" value="disabled"/>
<property name="fieldRequired" value="false"/>
<property name="groupWithPrevious" value="true"/>
<property name="height" value=""/>
<property name="label"
value="quot;caquot;,quot;Deshabilitatquot;quot;enquot;,quot;Disabledquot;quot;esquot;,quot;Deshabilitadoquot;"/>
<property name="title" value="quot;caquot;,quot;quot;quot;enquot;,quot;quot;quot;esquot;,quot;quot;"/>
<property name="disabled" value="false"/>
<property name="readonly" value="false"/>
<property name="size" value=""/>
<property name="formula" value=""/>
<property name="rangeFormula" value=""/>
<property name="pattern" value=""/>
<property name="maxlength" value="512"/>
<property name="styleclass" value=""/>
<property name="cssStyle" value=""/>
<property name="accesskey" value=""/>
</field>
<field position="0" name="fieldName" type="InputText" id="985725513">
<property name="fieldName" value="fieldName"/>
<property name="fieldRequired" value="false"/>
Expand Down
Expand Up @@ -181,25 +181,6 @@
<property name="cssStyle" value=""/>
<property name="accesskey" value=""/>
</field>
<field position="12" name="disabled" type="CheckBox" id="1972042121">
<property name="fieldName" value="disabled"/>
<property name="fieldRequired" value="false"/>
<property name="groupWithPrevious" value="true"/>
<property name="height" value=""/>
<property name="label"
value="quot;caquot;,quot;Deshabilitatquot;quot;enquot;,quot;Disabledquot;quot;esquot;,quot;Deshabilitadoquot;"/>
<property name="title" value="quot;caquot;,quot;quot;quot;enquot;,quot;quot;quot;esquot;,quot;quot;"/>
<property name="disabled" value="false"/>
<property name="readonly" value="false"/>
<property name="size" value=""/>
<property name="formula" value=""/>
<property name="rangeFormula" value=""/>
<property name="pattern" value=""/>
<property name="maxlength" value="512"/>
<property name="styleclass" value=""/>
<property name="cssStyle" value=""/>
<property name="accesskey" value=""/>
</field>
<field position="7" name="cssStyle" type="InputText" id="657247117">
<property name="fieldName" value="cssStyle"/>
<property name="fieldRequired" value="false"/>
Expand Down Expand Up @@ -296,25 +277,6 @@
<property name="cssStyle" value=""/>
<property name="accesskey" value=""/>
</field>
<field position="14" name="groupWithPrevious" type="CheckBox" id="1375562486">
<property name="fieldName" value="groupWithPrevious"/>
<property name="fieldRequired" value="false"/>
<property name="groupWithPrevious" value="false"/>
<property name="height" value=""/>
<property name="label"
value="quot;caquot;,quot;Mantenir agrupat amb l&apos;anteriorquot;quot;enquot;,quot;Group with previousquot;quot;esquot;,quot;Mantener agrupado con el anteriorquot;"/>
<property name="title" value="quot;caquot;,quot;quot;quot;enquot;,quot;quot;quot;esquot;,quot;quot;"/>
<property name="disabled" value="false"/>
<property name="readonly" value="false"/>
<property name="size" value=""/>
<property name="formula" value=""/>
<property name="rangeFormula" value=""/>
<property name="pattern" value=""/>
<property name="maxlength" value="512"/>
<property name="styleclass" value=""/>
<property name="cssStyle" value=""/>
<property name="accesskey" value=""/>
</field>
<field position="0" name="fieldName" type="InputText" id="627619101">
<property name="fieldName" value="fieldName"/>
<property name="fieldRequired" value="false"/>
Expand Down
Expand Up @@ -111,7 +111,7 @@
value="quot;caquot;,quot;Permet definir una f&#243;rmula per a informar el camp amb un valor per defecte.quot;quot;enquot;,quot;Configure a formula to set a default value for the field.quot;quot;esquot;,quot;Permite definir una f&#243;rmula para informar el campo con un valor por defecto.quot;"/>
<property name="disabled" value="false"/>
<property name="readonly" value="false"/>
<property name="size" value="25"/>
<property name="size" value="55"/>
<property name="formula" value=""/>
<property name="rangeFormula" value=""/>
<property name="pattern" value=""/>
Expand Down Expand Up @@ -315,25 +315,6 @@
<property name="cssStyle" value=""/>
<property name="accesskey" value=""/>
</field>
<field position="16" name="groupWithPrevious" type="CheckBox" id="1300985717">
<property name="fieldName" value="groupWithPrevious"/>
<property name="fieldRequired" value="false"/>
<property name="groupWithPrevious" value="false"/>
<property name="height" value=""/>
<property name="label"
value="quot;caquot;,quot;Mantenir agrupat amb l&apos;anteriorquot;quot;enquot;,quot;Group with previousquot;quot;esquot;,quot;Mantener agrupado con el anteriorquot;"/>
<property name="title" value="quot;caquot;,quot;quot;quot;enquot;,quot;quot;quot;esquot;,quot;quot;"/>
<property name="disabled" value="false"/>
<property name="readonly" value="false"/>
<property name="size" value=""/>
<property name="formula" value=""/>
<property name="rangeFormula" value=""/>
<property name="pattern" value=""/>
<property name="maxlength" value="512"/>
<property name="styleclass" value=""/>
<property name="cssStyle" value=""/>
<property name="accesskey" value=""/>
</field>
<field position="1" name="label" type="I18nText" id="1330345555">
<property name="fieldName" value="label"/>
<property name="fieldRequired" value="false"/>
Expand Down

0 comments on commit 2410bd4

Please sign in to comment.