I've run into exactly the same issue. If someone has the solution, please
post it to the laszlo-user group also (or to me directly but posting it to
the group would benefit more people)!

Mikko

  -----Alkuperäinen viesti-----
  Lähettäjä: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Kalle Svartholm
  Lähetetty: 13. joulukuuta 2006 17:25
  Vastaanottaja: [email protected]
  Aihe: [Laszlo-user] Problems with contentdatapath on grid


  Hi, guys!
  I wrote a filtering class for datasets, (it adds an attribute named
removed=<true|false>) and works great.
  However when I apply the filter on a grid (i.e. modify the data in the
dataset), its contentdatapath doesn't seem to be synced with the modified
dataset.

  Here is an example:
  <grid name="myGrid" datapath="userData:/users[1]"
contentdatapath="[EMAIL PROTECTED] = 'false']" initstage="late">
      <gridtext datapath="firstName/text()" width="100">First
Name</gridtext>
      <gridtext datapath="lastName/text()" width="100">Last Name</gridtext>
      <gridtext datapath="@removed" width="100">removed</gridtext>
  </grid>

  Is this the expected behaviour and is there a way to fix this?
  (It works great as long as I don't use any contentdatapath.)

  Regards,
  Kalle

Reply via email to