W3C home > Mailing lists > Public > www-forms@w3.org > July 2005

Problem with actions order in <xf:action>

From: Sergey Shebanin <splash@rulogic.ru>
Date: Thu, 21 Jul 2005 18:37:33 +0400
Message-ID: <42DFB32D.6000303@rulogic.ru>
To: www-forms@w3.org

Hello.

I try to use <xf:action> tag in this situation:

Model:
    <xf:model>
      <xf:instance>
          <root xmlns="">
              <object/>
              <object/>
          </root>
      </xf:instance>
    </xf:model>

Body:
      <xf:trigger>
          <xf:label>Do</xf:label>
          <xf:action ev:event="DOMActivate">
               <xf:message level="modal">1</xf:message>
               <xf:message level="modal">2</xf:message>
          </xf:action>
      </xf:trigger>
      <xf:repeat nodeset="/root/object">
          <xf:trigger>
              <xf:label>Do</xf:label>
              <xf:action ev:event="DOMActivate">
                   <xf:message level="modal">1</xf:message>
                   <xf:message level="modal">2</xf:message>
              </xf:action>
          </xf:trigger>
      </xf:repeat>

It will display 3 buttons with text 'Do'.
--FormsPlayer 1.3.4.1010--
When I click on first button I see message box with text '1' and then 
message box with text '2'.
When I click on second or third button I see message box with text '2' 
and then message box with text '1'.
--Mozilla Deer Park Alpha 2 and XForms 0.2--
When I click on any button I see message box with text '1' and then 
message box with text '2'.

Why this difference? How it must be in order with W3C Recommendation?

Thanx.
Received on Thursday, 21 July 2005 14:39:28 GMT

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