Mark Lundquist wrote:
Hi,
I have a problem that I'd like to solve with the binding framework
binding to XML. It's a simple CRUD scenario operating on a small data
set that could easily be maintained as an XML document in a file --
don't really need a database for this. The data consists of a list of
elements, and I would use a repeater to add/delete/move those.
However, editing the contents of the elements themselves needs to be
done in a separate "details" form, as the controls are rather too big
to include in the repeater -- there'll be an htmlarea or something
like that. Plus, the usability design calls for a "one-at-a-time"
usage model for editing these things.
So, it seems that what I need to do is to bind this "details" form to
a subtree of the XML document. Is there any way to do that?
Sure! Form binding can apply to any element, and not only documents! So
just load/save your form with the relevant element in the XML document.
Sylvain
--
Sylvain Wallez Anyware Technologies
http://people.apache.org/~sylvain http://www.anyware-tech.com
Apache Software Foundation Member Research & Technology Director
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]