W3C home > Mailing lists > Public > public-xformsusers@w3.org > November 2016

Lazy authoring

From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Mon, 14 Nov 2016 12:33:01 +0100
To: "public-xformsusers@w3.org" <public-xformsusers@w3.org>
Message-ID: <op.yqw01bd9smjzpq@steven-aspire-s7>
https://www.w3.org/community/xformsusers/wiki/XForms_2.0#The_xforms-model-construct-done_Event

This splits initialization into two types 1) when instances are specified,  
and 2) when they are not.

The conditions for the two sorts are different though:

	If the instance referenced on the form control existed when the first  
form control was processed:

	If the instance referenced on the form control did not exist when the  
first form control for the same instance was processed:

So which is it? Is Lazy authoring global, or per instance?

Is the second input OK or not?

   <model>
     <instance id='p'><data xmlns=""><i/></data></instance>
   </model>

   <input ref="instance('p')/i" label="i"/>
   <input ref="instance('q')/i" label="i"/>

How about if you swap the inputs?

Steven
Received on Monday, 14 November 2016 11:33:42 UTC

This archive was generated by hypermail 2.3.1 : Monday, 14 November 2016 11:33:42 UTC