8.1.9 submit/@submission, suggestion

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 UTC