Question about multi-screen collection of data to fill in a single XForm.
Let's assume we want to fill in a simple document (an XForm instance) with 3
elements, but we want to do it over 3 screens, filling in 1 element per
screen.  To accomplish this right now, we are keeping a partially filled
copy of the XForms instance document in the session, and after each screen,
we xupdate the newly collected element(s) into the existing partially filled
instance stored in the session.  At the end of the 3rd screen, we've
successfully filled in the the entire XForm.

HOWEVER, a better approach is to SKIP THE XUPDATE step, and instead use a
.xpl to build our XForm dynamically, by having it pull the partially filled
XForm out of the session and passing that into the view, instead of a blank
copy each time, as we do currently.  The problem seems to be that the OXF
XForms processor DOES NOT pass the previously collected XFOrms data through
onto the next step -- it assumes that the instance document to pass along
consists of ONLY the new data collected on that given screen -- effectively
defeating our attempt to build up the filled in XForms instance one screen
at a time.

Is there any reason a given screen's forms submission/XForms processing step
must trash data in the XForms instance document just because it wasn't
collected on that screen?

Thanks.

-Scott
UC Berkeley Center for Document Engineering

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

Reply via email to