[Erp5-dev] [Erp5-report] r19575 - in /erp5/trunk/products/ERP5/bootstrap/erp5_core: SkinTemplateItem/p...

Mikolaj Antoszkiewicz mikolaj at erp5.pl
Fri Feb 29 12:33:29 CET 2008


Hi,

Could You also correct my_multi_relation_string_field default height TALES?
I've included a patch if that's easier on dev posting:
http://mail.nexedi.com/pipermail/erp5-dev/2008-January/001618.html

Mikolaj

nobody at svn.erp5.org wrote:
> Author: alex
> Date: Fri Feb 29 11:04:32 2008
> New Revision: 19575
> 
> URL: http://svn.erp5.org?rev=19575&view=rev
> Log:
> Base_viewFieldLibrary:
> * my_comment default height is now 'preferred_textarea_height'
> * added a new field: my_multi_list_field
> 
> Added:
>     erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewFieldLibrary/my_multi_list_field.xml
> Modified:
>     erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewFieldLibrary.xml
>     erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewFieldLibrary/my_comment.xml
>     erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
> 
> Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewFieldLibrary.xml
> URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewFieldLibrary.xml?rev=19575&r1=19574&r2=19575&view=diff
> ==============================================================================
> --- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewFieldLibrary.xml (original)
> +++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewFieldLibrary.xml Fri Feb 29 11:04:32 2008
> @@ -118,6 +118,7 @@
>                          <string>my_percent</string>
>                          <string>planning_box</string>
>                          <string>my_comment</string>
> +                        <string>my_multi_list_field</string>
>                        </list>
>                      </value>
>                  </item>
> 
> Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewFieldLibrary/my_comment.xml
> URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewFieldLibrary/my_comment.xml?rev=19575&r1=19574&r2=19575&view=diff
> ==============================================================================
> --- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewFieldLibrary/my_comment.xml (original)
> +++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewFieldLibrary/my_comment.xml Fri Feb 29 11:04:32 2008
> @@ -157,7 +157,9 @@
>                  </item>
>                  <item>
>                      <key> <string>height</string> </key>
> -                    <value> <string></string> </value>
> +                    <value>
> +                      <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
> +                    </value>
>                  </item>
>                  <item>
>                      <key> <string>hidden</string> </key>
> @@ -194,7 +196,7 @@
>                  <item>
>                      <key> <string>width</string> </key>
>                      <value>
> -                      <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
> +                      <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
>                      </value>
>                  </item>
>                </dictionary>
> @@ -293,6 +295,22 @@
>        <dictionary>
>          <item>
>              <key> <string>_text</string> </key>
> +            <value> <string>python: preferences.getPreference(\'preferred_textarea_height\', 3)</string> </value>
> +        </item>
> +      </dictionary>
> +    </pickle>
> +  </record>
> +  <record id="3" aka="AAAAAAAAAAM=">
> +    <pickle>
> +      <tuple>
> +        <global name="TALESMethod" module="Products.Formulator.TALESField"/>
> +        <tuple/>
> +      </tuple>
> +    </pickle>
> +    <pickle>
> +      <dictionary>
> +        <item>
> +            <key> <string>_text</string> </key>
>              <value> <string>python: preferences.getPreference(\'preferred_string_field_width\', 30)</string> </value>
>          </item>
>        </dictionary>
> 
> Added: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewFieldLibrary/my_multi_list_field.xml
> URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewFieldLibrary/my_multi_list_field.xml?rev=19575&view=auto
> ==============================================================================
> --- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewFieldLibrary/my_multi_list_field.xml (added)
> +++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewFieldLibrary/my_multi_list_field.xml Fri Feb 29 11:04:32 2008
> @@ -1,0 +1,277 @@
> +<?xml version="1.0"?>
> +<ZopeData>
> +  <record id="1" aka="AAAAAAAAAAE=">
> +    <pickle>
> +      <tuple>
> +        <global name="MultiListField" module="Products.Formulator.StandardFields"/>
> +        <tuple/>
> +      </tuple>
> +    </pickle>
> +    <pickle>
> +      <dictionary>
> +        <item>
> +            <key> <string>id</string> </key>
> +            <value> <string>my_multi_list_field</string> </value>
> +        </item>
> +        <item>
> +            <key> <string>message_values</string> </key>
> +            <value>
> +              <dictionary>
> +                <item>
> +                    <key> <string>external_validator_failed</string> </key>
> +                    <value> <string>The input failed the external validator.</string> </value>
> +                </item>
> +                <item>
> +                    <key> <string>required_not_found</string> </key>
> +                    <value> <string>Input is required but no input given.</string> </value>
> +                </item>
> +                <item>
> +                    <key> <string>unknown_selection</string> </key>
> +                    <value> <string>You selected an item that was not in the list.</string> </value>
> +                </item>
> +              </dictionary>
> +            </value>
> +        </item>
> +        <item>
> +            <key> <string>overrides</string> </key>
> +            <value>
> +              <dictionary>
> +                <item>
> +                    <key> <string>alternate_name</string> </key>
> +                    <value> <string></string> </value>
> +                </item>
> +                <item>
> +                    <key> <string>css_class</string> </key>
> +                    <value> <string></string> </value>
> +                </item>
> +                <item>
> +                    <key> <string>default</string> </key>
> +                    <value> <string></string> </value>
> +                </item>
> +                <item>
> +                    <key> <string>description</string> </key>
> +                    <value> <string></string> </value>
> +                </item>
> +                <item>
> +                    <key> <string>editable</string> </key>
> +                    <value> <string></string> </value>
> +                </item>
> +                <item>
> +                    <key> <string>enabled</string> </key>
> +                    <value> <string></string> </value>
> +                </item>
> +                <item>
> +                    <key> <string>external_validator</string> </key>
> +                    <value> <string></string> </value>
> +                </item>
> +                <item>
> +                    <key> <string>extra</string> </key>
> +                    <value> <string></string> </value>
> +                </item>
> +                <item>
> +                    <key> <string>extra_item</string> </key>
> +                    <value> <string></string> </value>
> +                </item>
> +                <item>
> +                    <key> <string>hidden</string> </key>
> +                    <value> <string></string> </value>
> +                </item>
> +                <item>
> +                    <key> <string>items</string> </key>
> +                    <value> <string></string> </value>
> +                </item>
> +                <item>
> +                    <key> <string>required</string> </key>
> +                    <value> <string></string> </value>
> +                </item>
> +                <item>
> +                    <key> <string>size</string> </key>
> +                    <value> <string></string> </value>
> +                </item>
> +                <item>
> +                    <key> <string>title</string> </key>
> +                    <value> <string></string> </value>
> +                </item>
> +                <item>
> +                    <key> <string>unicode</string> </key>
> +                    <value> <string></string> </value>
> +                </item>
> +                <item>
> +                    <key> <string>view_separator</string> </key>
> +                    <value> <string></string> </value>
> +                </item>
> +              </dictionary>
> +            </value>
> +        </item>
> +        <item>
> +            <key> <string>tales</string> </key>
> +            <value>
> +              <dictionary>
> +                <item>
> +                    <key> <string>alternate_name</string> </key>
> +                    <value> <string></string> </value>
> +                </item>
> +                <item>
> +                    <key> <string>css_class</string> </key>
> +                    <value> <string></string> </value>
> +                </item>
> +                <item>
> +                    <key> <string>default</string> </key>
> +                    <value> <string></string> </value>
> +                </item>
> +                <item>
> +                    <key> <string>description</string> </key>
> +                    <value> <string></string> </value>
> +                </item>
> +                <item>
> +                    <key> <string>editable</string> </key>
> +                    <value> <string></string> </value>
> +                </item>
> +                <item>
> +                    <key> <string>enabled</string> </key>
> +                    <value> <string></string> </value>
> +                </item>
> +                <item>
> +                    <key> <string>external_validator</string> </key>
> +                    <value> <string></string> </value>
> +                </item>
> +                <item>
> +                    <key> <string>extra</string> </key>
> +                    <value> <string></string> </value>
> +                </item>
> +                <item>
> +                    <key> <string>extra_item</string> </key>
> +                    <value> <string></string> </value>
> +                </item>
> +                <item>
> +                    <key> <string>hidden</string> </key>
> +                    <value> <string></string> </value>
> +                </item>
> +                <item>
> +                    <key> <string>items</string> </key>
> +                    <value> <string></string> </value>
> +                </item>
> +                <item>
> +                    <key> <string>required</string> </key>
> +                    <value> <string></string> </value>
> +                </item>
> +                <item>
> +                    <key> <string>size</string> </key>
> +                    <value>
> +                      <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
> +                    </value>
> +                </item>
> +                <item>
> +                    <key> <string>title</string> </key>
> +                    <value> <string></string> </value>
> +                </item>
> +                <item>
> +                    <key> <string>unicode</string> </key>
> +                    <value> <string></string> </value>
> +                </item>
> +                <item>
> +                    <key> <string>view_separator</string> </key>
> +                    <value> <string></string> </value>
> +                </item>
> +              </dictionary>
> +            </value>
> +        </item>
> +        <item>
> +            <key> <string>values</string> </key>
> +            <value>
> +              <dictionary>
> +                <item>
> +                    <key> <string>alternate_name</string> </key>
> +                    <value> <string></string> </value>
> +                </item>
> +                <item>
> +                    <key> <string>css_class</string> </key>
> +                    <value> <string></string> </value>
> +                </item>
> +                <item>
> +                    <key> <string>default</string> </key>
> +                    <value>
> +                      <list/>
> +                    </value>
> +                </item>
> +                <item>
> +                    <key> <string>description</string> </key>
> +                    <value> <string></string> </value>
> +                </item>
> +                <item>
> +                    <key> <string>editable</string> </key>
> +                    <value> <int>1</int> </value>
> +                </item>
> +                <item>
> +                    <key> <string>enabled</string> </key>
> +                    <value> <int>1</int> </value>
> +                </item>
> +                <item>
> +                    <key> <string>external_validator</string> </key>
> +                    <value> <string></string> </value>
> +                </item>
> +                <item>
> +                    <key> <string>extra</string> </key>
> +                    <value> <string></string> </value>
> +                </item>
> +                <item>
> +                    <key> <string>extra_item</string> </key>
> +                    <value> <string></string> </value>
> +                </item>
> +                <item>
> +                    <key> <string>hidden</string> </key>
> +                    <value> <int>0</int> </value>
> +                </item>
> +                <item>
> +                    <key> <string>items</string> </key>
> +                    <value>
> +                      <list/>
> +                    </value>
> +                </item>
> +                <item>
> +                    <key> <string>required</string> </key>
> +                    <value> <int>0</int> </value>
> +                </item>
> +                <item>
> +                    <key> <string>size</string> </key>
> +                    <value> <int>4</int> </value>
> +                </item>
> +                <item>
> +                    <key> <string>title</string> </key>
> +                    <value> <string>Multi List Field</string> </value>
> +                </item>
> +                <item>
> +                    <key> <string>unicode</string> </key>
> +                    <value> <int>0</int> </value>
> +                </item>
> +                <item>
> +                    <key> <string>view_separator</string> </key>
> +                    <value> <string encoding="cdata"><![CDATA[
> +
> +<br />
> +
> +]]></string> </value>
> +                </item>
> +              </dictionary>
> +            </value>
> +        </item>
> +      </dictionary>
> +    </pickle>
> +  </record>
> +  <record id="2" aka="AAAAAAAAAAI=">
> +    <pickle>
> +      <tuple>
> +        <global name="TALESMethod" module="Products.Formulator.TALESField"/>
> +        <tuple/>
> +      </tuple>
> +    </pickle>
> +    <pickle>
> +      <dictionary>
> +        <item>
> +            <key> <string>_text</string> </key>
> +            <value> <string>python: preferences.getPreference(\'preferred_textarea_height\', 3)</string> </value>
> +        </item>
> +      </dictionary>
> +    </pickle>
> +  </record>
> +</ZopeData>
> 
> Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
> URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision?rev=19575&r1=19574&r2=19575&view=diff
> ==============================================================================
> --- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision (original)
> +++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision Fri Feb 29 11:04:32 2008
> @@ -1,1 +1,1 @@
> -713
> +714
> 
> _______________________________________________
> Erp5-report mailing list
> Erp5-report at erp5.org
> http://mail.nexedi.com/mailman/listinfo/erp5-report
> 



More information about the Erp5-dev mailing list