W3C home > Mailing lists > Public > www-forms@w3.org > September 2002

8.1.9 submit/@submission, suggestion

From: Kurt George Gjerde <kurt.gjerde@intermedia.uib.no>
Date: Wed, 4 Sep 2002 10:49:48 +0200 (MET DST)
To: <www-forms@w3.org>, <www-forms-editor@w3.org>
Message-ID: <Pine.GSO.4.33.0209031454090.26612-100000@hermes.svf.uib.no>

Hi,

WD20020821/8.1.9 says about @submission "Required reference to element
submission."

Would it be an idea to make this attribute optional and having it default
to the first submission element in the current model (assuming scoped
model references)? The @submission would then behave the same way as
@model, defaulting to the first element (in doc order).

<xf:model id="model2">
  <xf:instance/>
  <xf:submission action="http://www.example.com/dingy"/>
</xf:model>

<xf:group model="model2">
  ...
  <xf:submit/>
</xf:group>


Continuing this, maybe the @ref/@bind should be optional as well;
defaulting to @ref="." (for controls).

<xf:model id="model2">
  <xf:instance>
    <data>
      <projectleader pid="12">Janet</projectleader>
    </data>
  </xf:instance>
</xf:model>

<xf:group ref="projectleader">
  <xf:input>
    <xf:label>Projectleader</xf:label>
  </xf:input>
  <xf:input ref="@pid">
    <xf:label>PID</xf:label>
  </xf:input>
</xf:gorup>


-Kurt.
__________
kurt george gjerde <kurt.gjerde@intermedia.uib.no>
intermedia uib, university of bergen
Received on Wednesday, 4 September 2002 04:51:12 GMT

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