Re: ACTION-2188: Reformulate embedded examples using signal.

Sorry; sent by mistake (ctrl-return again); please await final version.

Stevem

On Wed, 20 Jun 2018 12:23:29 +0200, Steven Pemberton  
<steven.pemberton@cwi.nl> wrote:

> I briefly tried to do this, but frankly was clumsy, and didn't match the  
> ease with which you can do other things in XForms.
>
> So, if there is a problem with using <submission/> as the method to  
> return values from an embedded form, how about making an action to do it:
>
>  <return ref="values"/>
>
>
> The return Element
>
>
> Common Attributes: Common, Events, Action Common
>
> If the submitting form has not been embedded in another, or the  
> embedding form has not supplied a receiving binding for submission  
> results, then an xforms-action-error event with an error-type of  
> return-error is dispatched.
>
> Otherwise, an update is done if necessary, the form data is returned to  
> the embedding XForm, and is used to replace the node specified in the  
> ref or bind attribute of the control element in that form, as if by a  
> submission with replace="instance" targetref="...".
> Example
> <submission ref="instance('result')" method="xforms-return"/>
>
>
>
>
> On Wed, 13 Jun 2018 15:22:16 +0200, XForms Users Community Group Issue  
> Tracker <sysbot+tracker@w3.org> wrote:
>
>> ACTION-2188: Reformulate embedded examples using signal.
>>
>> https://www.w3.org/2005/06/tracker/xforms/actions/2188
>>
>> Assigned to: Steven Pemberton
>>
>>
>>
>>
>>

Received on Wednesday, 20 June 2018 10:24:43 UTC