W3C home > Mailing lists > Public > www-forms@w3.org > January 2003

AW: Specifying the <submission> element

From: Roman Huditsch <roman.huditsch@hico.com>
Date: Thu, 9 Jan 2003 12:48:33 +0100
Message-ID: <0C79A363CB0321418927D0CB1AD0403C095AD2@hicoetsrv000006.hico.local>
To: "Rob Bull" <rob.bull@blackdog.co.uk>, "Bob Smith" <gordongano99@yahoo.com>, <www-forms@w3.org>

As I've understood the spec that the "ref" attribute selects a subtree of a specified instance for submission as Bob mentioned. Otherwise I could not figure out any situation where it would make sense to use the "ref" attribute to update the instance on submit. How would you be able to provide a value for this update when the submission takes part?

wbr,
Roman 
 
-----Ursprüngliche Nachricht-----
Von: Rob Bull [mailto:rob.bull@blackdog.co.uk]
Gesendet: Donnerstag, 9. Januar 2003 10:31
An: Bob Smith; www-forms@w3.org
Betreff: Re: Specifying the <submission> element



I gather that the (verified) model is what is submitted, the ref merely uses
the xPath syntax to update/verify the instance data, ie the node values of
the model.

ie if you set your referenced node a/b/c to "widget", a is the top level
node and the xml that the processor would want to verify and submit would be
<a>
    <b>
        <c>widget</c>
    </b>
</a>

If this is not the case, I have seriously missed the point and would like to
know!

RR

----- Original Message -----
From: "Bob Smith" <gordongano99@yahoo.com>
To: <www-forms@w3.org>
Sent: Wednesday, January 08, 2003 7:42 PM
Subject: Specifying the <submission> element


|
| (1) The "ref" attribute lets you specify a subtree of
| the instance data, but it doesn't say exactly how it's
| submitted. E.g. if my ref value is "/a/b/c", then will
| "c" be the top level node or will "a"?
|
| (2) Maybe I've missed it, but how do you specify which
| instance data to submit? Do you have to put an
| instance() function call in the ref attribute? It
| would be nice if this were clearer in the spec.
|
|
| __________________________________________________
| Do you Yahoo!?
| Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
| http://mailplus.yahoo.com
|
|
|
Received on Thursday, 9 January 2003 06:51:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:21:54 GMT