Re: Bindings to non-existing instance:data

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>
        cc: 
        Subject:        Bindings to non-existing instance:data

 


Hello,

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?

wbr,
Roman

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