- From: Steven Pemberton <steven.pemberton@cwi.nl>
 - Date: Thu, 06 Oct 2022 17:25:46 +0000
 - To: XForms <public-xformsusers@w3.org>
 
As part of the call tomorrow I wanted to discuss the general requirements 
for the <command/> command.
These are the ones I came up with:
* Behaves like an in-built command
Recognisably part of XForms, with the same sort of interface
Uses instances in the embedding form, which update while the embedded form 
is running..
Therefore:
* Uses recognisable interfaces (eg @ref etc)
* Can pass data in; can get data out
* Can get events passed in
* Can get events to bubble out
* The referenced form should be able to be used both embedded and 
free-standing.
eg.
<control resource="mycontrol.xhtml" ref="instance('data')">
 <action ev:event="finished">
     <setvalue ref="done">1</setvalue>
 </action> 
</control>
Are there any other requirements I have missed?
Steven
Received on Thursday, 6 October 2022 17:26:01 UTC