W3C home > Mailing lists > Public > www-forms@w3.org > June 2006

Re: Does setvalue update the instance immediate?

From: Kenneth Sklander <kenneth@sklander.net>
Date: Wed, 28 Jun 2006 16:27:23 +0200
Message-Id: <14BD393E-41F9-4978-A163-79DAD75AA5CF@sklander.net>
Cc: Nick_Van_den_Bleeken@inventivedesigners.com, www-forms@w3.org
To: Kenneth Sklander <kenneth@sklander.net>

Nick,
I realize now that you are asking why the question  is why the output  
is not updated, not if the instance data is updated.

Even though the instance data is updated the formcontrols (and thus  
output) will reflect the state of the instance on xforms-refresh of  
the model, and that is deferred. (as well as the other model update- 
steps)

kenneth
On Jun 28, 2006, at 4:24 PM, Kenneth Sklander wrote:

> Nick,
>
> The values should be updated in the instance immediately, only the  
> update of the model (rrrr) are deferred.
>
> kenneth
>
> On Jun 28, 2006, at 2:27 PM,  
> Nick_Van_den_Bleeken@inventivedesigners.com wrote:
>
>> All,
>>
>> The attached test case contains a 'setvalue' followed by a  
>> 'message'. I
>> thought that the value in the instance will be changed before the  
>> message
>> action is executed. Is this correct? In the real form we don't use a
>> 'message' but a 'send' action that uses the instance which the  
>> 'setvalue'
>> has updated. But this has the same problem, the old instance is  
>> submitted,
>> not containing the new value.
>>
>> Thanks in advance,
>>
>> Nick Van den Bleeken  -  Research & Development
>> Inventive Designers
>> Phone: +32 - 3 - 8210170
>> Fax: +32 - 3 - 8210171
>> Email: Nick_Van_den_Bleeken@inventivedesigners.com
>>
>>
>> --------------------------------------------------
>>
>> Inventive Designers' Email Disclaimer:
>>
>> http://www.inventivedesigners.com/email-disclaimer
>>
>> <TestSetvalue.xhtml>
>
Received on Wednesday, 28 June 2006 14:27:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:22:05 GMT