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

Question about UI Inline and updates

From: David Landwehr <david.landwehr@solidapp.com>
Date: Tue, 24 Jan 2006 11:21:43 +0100
Message-ID: <43D5FFB7.9030001@solidapp.com>
To: www-forms-editor@w3.org, www-forms@w3.org
Dear Working Group,

I have a comment about UI Inline. Because the UI isn't updated before 
the last step of refresh (as specified in the errata) then actions that 
can hold UI Inline (e.g. message) will not be updated when displayed to 
the user. This is not what I expect when displaying a message to a user. 
E.g.

<xforms:input ref="birthday">
  <xforms:label>Enter birthday:</xforms:label>
  <xforms:message ev:event="xforms-invalid"><xforms:output ref="."> 
isn't a valid birthday</xforms:message>
</xforms:input>

In this case it would mean that the output displays the previous value 
of 'birthday' as the xforms-invalid event is dispatch before the UI is 
updated. As the errata is today an author would be required to do a 
refresh before displaying the message.

I suggest that actions which holds UI Inline updates their content 
before they execute.

See also the attached use case for a complete example.

Best regards,
David

-- 
--------------------------------------------
David Landwehr (david.landwehr@solidapp.com)
Chief Executive Officer, SolidApp
Web: http://www.solidapp.com
Office: +45 48268212
Mobile: +45 24275518
--------------------------------------------



Received on Tuesday, 24 January 2006 10:21:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 10 June 2009 18:12:13 GMT