products/CPSRSS

changeset 246:6b024ed7b935

datamodel safer than context
author Georges Racinet on purity.racinet.fr <georges@racinet.fr>
date Mon, 06 Dec 2010 09:21:13 +0100
parents f8a474119003
children 56b98a8dd994
files profiles/default/layouts/rss_portlet.xml
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line diff
     1.1 --- a/profiles/default/layouts/rss_portlet.xml
     1.2 +++ b/profiles/default/layouts/rss_portlet.xml
     1.3 @@ -48,7 +48,7 @@
     1.4     <element value="view"/>
     1.5    </property>
     1.6    <property name="hidden_readonly_layout_modes"/>
     1.7 -  <property name="hidden_if_expr">context/render_method</property>
     1.8 +  <property name="hidden_if_expr">datamodel/render_method</property>
     1.9   </widget>
    1.10   <widget name="first_item" meta_type="Int Widget">
    1.11    <property name="fields">
    1.12 @@ -76,7 +76,7 @@
    1.13     <element value="view"/>
    1.14    </property>
    1.15    <property name="hidden_readonly_layout_modes"/>
    1.16 -  <property name="hidden_if_expr">context/render_method</property>
    1.17 +  <property name="hidden_if_expr">datamodel/render_method</property>
    1.18   </widget>
    1.19   <widget name="max_items" meta_type="Int Widget">
    1.20    <property name="fields">
    1.21 @@ -103,7 +103,7 @@
    1.22     <element value="view"/>
    1.23    </property>
    1.24    <property name="hidden_readonly_layout_modes"/>
    1.25 -  <property name="hidden_if_expr">not:context/display_description</property>
    1.26 +  <property name="hidden_if_expr">not:datamodel/display_description</property>
    1.27   </widget>
    1.28   <widget name="portlet" meta_type="Generic Portlet Widget">
    1.29    <property name="fields">