Here's a bit of weirdness I'm dealing with today.
In my use case, I have a layout of fields that don't match the layout of the incoming XML document. As I begin to rearrange my default layout (one based on the structure of the XML SchemaSet, a SectionStack of DynamicForms and ListGrids, each bound to an XSElement of my document), I can't easily re-order my fields and intermix fields from different datasources.
My solution is to include multiple forms with the same DataSource but with a different subset of fields. This feels a bit unnatural to me.
With XForm compliant systems, each field has an XPath reference to the corresponding element in the document. In this system, the field name is combined with the datasource of the container to make reference to the element in the document. I'm considering what would be needed to extend DynamicForm to make it manage all the fields in my XML document, and not just fields in a single element.
In my use case, I have a layout of fields that don't match the layout of the incoming XML document. As I begin to rearrange my default layout (one based on the structure of the XML SchemaSet, a SectionStack of DynamicForms and ListGrids, each bound to an XSElement of my document), I can't easily re-order my fields and intermix fields from different datasources.
My solution is to include multiple forms with the same DataSource but with a different subset of fields. This feels a bit unnatural to me.
With XForm compliant systems, each field has an XPath reference to the corresponding element in the document. In this system, the field name is combined with the datasource of the container to make reference to the element in the document. I'm considering what would be needed to extend DynamicForm to make it manage all the fields in my XML document, and not just fields in a single element.
Comment