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

Re: Bindings to non-existing instance:data

From: Roland Merrick <roland_merrick@uk.ibm.com>
Date: Mon, 2 Dec 2002 11:07:15 +0000
To: "Roman Huditsch" <roman.huditsch@hico.com>
Cc: <www-forms@w3.org>
Message-ID: <OF46756A6F.D02B073A-ON80256C83.003CFDEF@portsmouth.uk.ibm.com>
Greetings Roman, the section describing the xforms-form-control-initialize Event describes what happens.
[ http://www.w3.org/TR/xforms/slice4.html#evt-formControlInitialize ]

There are two basic situations which can lead to there being no instance 
data node for the UI element to bind to.

1) No <instance> was supplied in which case an instance data node will be 
created when the UI element is initialised.
2) There is an <instance> but there is nothing for the UI element to bind 
to, in this case the UI control should behave as if it was bound to a 
non-relevant node.

Regards, Roland

"Roman Huditsch" <roman.huditsch@hico.com>
Sent by: www-forms-request@w3.org
02/12/2002 10:25

        To:     <www-forms@w3.org>
        Subject:        Bindings to non-existing instance:data



I have quite a short question. I thought that I read it somewhere in the 
spec but I couldn't find the passage again.
What happens if I refer from a xform control to an element in my 
xforms:instance, which doesn't yet exist? Is it (the instance 
element)created when the user fills in the form control?

Or do I have to define a trigger, whichs creates the needed instance 
elements before?


Roman Huditsch (hRHU )
Developer .:. Information & Application Engineering
hico Informations- und Kommunikations-Management Gesellschaft m.b.H.
TechLab, Thomas A. Edison Straße 2.
A-7000 Eisenstadt / Austria
phone: +43/2682/704-61-73; fax: +43/2682/704-71-61-10
e-mail: roman.huditsch@hico.com
mobile: +43/664/4102715

#### Roman Huditsch.vcf has been removed from this note on December 02 
2002 by Roland Merrick
Received on Monday, 2 December 2002 06:07:26 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:07 UTC