- From: T. V. Raman <tvraman@us.ibm.com>
- Date: Thu, 23 Oct 2003 19:27:22 -0700
- To: ade@benue.com
- Cc: www-forms@w3.org
the use case is well motivated and supported by XForms, see attribute replace="instance" on element <submission> You just happened to start the wrong way around by trying to bind the same UI control to multiple instance odes, which in the XForms model makes no sense. >>>>> "ade" == ade <ade@benue.com> writes: ade> I have a 3-tier web based application that would benefit ade> from XForms. It basically queries for data from a web ade> service and allows certain fields in the queried data to ade> be modified and sent back as an update to the service. ade> ade> ade> The user query yields data from the service via a ade> particular XML message - ResponseMessage - , the updates ade> are however dispatched using a similar but different XML ade> message - UpdateMessage -. ade> ade> XForms does not appear to support binding of one UI ade> control to more than one instance. ade> ade> How do I pre-load my form fields from the ade> ResponseMessage message received from the back-end, and ade> send user updates through the UpdateMessage message? ade> ade> I don't see a way to bind one UI control to a ade> ResponseMessage instance for pre-load with initial ade> values, and at the same time bind the same UI control to ade> an UpdateMessage instance for capturing the user's edits ade> for dispatch to the back-end. ade> ade> Thanks! -- Ade Lucas ade> ade> p.s. This is a re-statement of my previous posting. ade> <br><font size=2 face="sans-serif">I have a 3-tier web ade> based application that would benefit from XForms. It ade> basically queries for data from a web service and allows ade> certain fields in the queried data to be modified and ade> sent back as an update to the service.</font><font ade> size=3> <br> </font><font size=2 face="sans-serif"><br> ade> The user query yields data from the service via a ade> particular XML message - <b><i>ResponseMessage </i></b>- ade> , the updates are however dispatched using a similar but ade> different XML message - <b><i>UpdateMessage </i></b>-. ade> </font><font size=3><br> </font><font size=2 ade> face="sans-serif"><br> XForms does not appear to support ade> binding of one UI control to more than one ade> instance. </font><font size=3><br> </font><font size=2 ade> face="sans-serif"><br> How do I pre-load my form fields ade> from the <b><i>ResponseMessage </i></b>message received ade> from the back-end, and send user updates through the ade> <b><i>UpdateMessage </i></b>message?</font><font size=3> ade> <br> </font><font size=2 face="sans-serif"><br> I don't ade> see a way to bind one UI control to a ade> <b><i>ResponseMessage </i></b>instance for pre-load with ade> initial values, and at the same time bind the same UI ade> control to an <b><i>UpdateMessage </i></b>instance ade> for capturing the user's edits for dispatch to the ade> back-end.</font><font size=3> <br> </font><font size=2 ade> face="sans-serif"><br> Thanks!</font><font size=3> ade> </font><font size=2 face="sans-serif"><br> -- Ade ade> Lucas</font> <br> <br><font size=2 ade> face="sans-serif">p.s. This is a re-statement of my ade> previous ade> posting.</font> -- Best Regards, --raman ------------------------------------------------------------ T. V. Raman: PhD (Cornell University) IBM Research: Human Language Technologies Architect: Conversational And Multimodal WWW Standards Phone: 1 (408) 927 2608 T-Line 457-2608 Fax: 1 (408) 927 3012 Cell: 1 650 799 5724 Email: tvraman@us.ibm.com WWW: http://almaden.ibm.com/u/tvraman AIM: TVRaman GPG: http://www.almaden.ibm.com/cs/people/tvraman/raman-almaden.asc Snail: IBM Almaden Research Center, 650 Harry Road San Jose 95120
Received on Thursday, 23 October 2003 22:29:09 UTC