cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michal Stochmialek <>
Subject grouping fb:values in fb:context tag
Date Wed, 22 Sep 2004 21:03:28 GMT

Two binding codes:

  <fb:value id="manager-firstname" path="manager/firstname"/>
  <fb:value id="manager-name" path="manager/name"/>
  <fb:value id="manager-title" path="manager/title/nameEn"/>

  <fb:context path="manager">
    <fb:value id="manager-firstname" path="firstname"/>
    <fb:value id="manager-name" path="name"/>
    <fb:value id="manager-title" path="title/nameEn"/>

At first sight two above codes are semanticly the same,
but they're at fact different! The problem appeared when
I was reloading form, when model externaly was changed.

0) manager and its propeties are set to not-null values
1) (first load) all three (manager-*) widgets are set to some strings
2) model is externaly changed, manager reference is set to null
3) (second load) (here above codes behave different)
  code [1]:  all value of manager-* are set to null
  code [2]:  any value of manager-* widget isn't changed

This looks like a bug... or am I missing something?

best regards,
Michal Stochmialek <>

View raw message