Possible model view coordination problem

classic Classic list List threaded Threaded
1 message Options
mar
Reply | Threaded
Open this post in threaded view
|

Possible model view coordination problem

mar

I'm not sure if my problem due to my model or the Orbeon xform engine. Has anyone else seen this problem?

 

The below xforms fragment causes problems in both the view and the model. When a new instance of addFilesystem is created the inner (contacts) <xforms:repeat/> gets an additional row in both instances of the addFilesystem element. For example, if a single instance is initially defined with three rows of contacts in the main model when the second instance is created both instances in the view are updated with four rows. However, when the data is saved to an XML file the second instance which has been dynamically created only has one row while the initial instance has only its initial 3 rows.

 

<xforms:repeat nodeset="xxforms:instance('addServers-instance')/addFilesystem" id="addFilesystem-repeat">

  <fr:datatable>

    <xforms:repeat nodeset="xxforms:instance('addServers-instance')/addDatabase/contacts-list/contacts">

      ...

   </xforms:repeat>

  <fr:datatable>

</xforms:repeat>

 

Versions:

 

java version "1.6.0_14"
Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode)

 

jboss-4.2.3.GA

 

Orbeon Forms dev-post-3.7.1.200910230248

 

Note: I have tried the latest nightly build from 12/01/2009 and it works the same as above.

 

 

Thanks in advance.

 

Martin Schwartzman

 

 

 



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws