Hi Bill,

You are right, support for XForms <xforms:repeat> would definitely be a worthy addition to OXF. OXF 2.0 is going to be released soon, and we are planning to support <xforms:repeat> in the first release after 2.0 (maybe 2.1). I cannot commit to a timeframe at this point, but I can suggest you add your email to this Bugzilla entry (see URL below). This way you will be notified as soon as the feature is implemented in OXF.

http://athlon.orbeon.com/webtools/bugzilla/show_bug.cgi?id=1161

In the meantime, you have to "unroll the repeat" yourself (to use the terminology of the XForms specification). That is, you have to write (or generate with XSL):

<xforms:input ref="/form/employee[1]"/>
<xforms:input ref="/form/employee[2]"/>
<xforms:input ref="/form/employee[3]"/>

In addition, you need to make sure that you have enough <employee> elements in your <form>. Even though this is not very convenient, it will work if you have an upper bound for the number of employees.

Alex


bill french wrote:
hi,

we're attempting to enter arbitrary amounts of certain elements in some of our application's forms, and are running into trouble because we can't bind xforms controls to the xforms model instance after a certain point. the candidate release of xforms provides a construct to deal with this situation: the xforms:repeat element. what is the timeline for implementing the "repeat" element within oxf? is there a place i can look that documents what portion of the xforms working draft/candidate release is supported by oxf?

thank you very much.

best regards,

--bill

_______________________________________________
oxf-users mailing list
[EMAIL PROTECTED]
http://mail.orbeon.com/mailman/listinfo/oxf-users

_______________________________________________ oxf-users mailing list [EMAIL PROTECTED] http://mail.orbeon.com/mailman/listinfo/oxf-users

Reply via email to