Re: Test 4.2.4.a: possible simpler idea

Hopefully this revised test of xforms-model-destruct can be accepted by 
the working group.
With it, we are able to successfully show support for the 
xforms-model-destruct event in both Ubiquity + IE7 and Ubiquity + FF3.

John M. Boyer, Ph.D.
STSM, Interactive Documents and Web 2.0 Applications
Chair, W3C Forms Working Group
Workplace, Portal and Collaboration Software
IBM Victoria Software Lab
E-Mail: boyerj@ca.ibm.com 

Blog: http://www.ibm.com/developerworks/blogs/page/JohnBoyer
Blog RSS feed: 
http://www.ibm.com/developerworks/blogs/rss/JohnBoyer?flavor=rssdw





From:
"Leigh L. Klotz, Jr." <Leigh.Klotz@Xerox.com>
To:
public-forms@w3.org
Date:
04/29/2009 10:10 AM
Subject:
Test 4.2.4.a: possible simpler idea



How about this?  It's simpler than what we discussed with submission and 
server-side testing.

<xforms:load ev:event="xforms-model-destruct"
             resource="http://www.w3.org"
             show="new"/>

If that works, I also recommend doing this, to prevent the xf:load from 
happening when the page is closed without being tested.
It's not strictly necessary but it makes the test easier to work with.

<xforms:load ev:event="xforms-model-destruct"
             if="boolean-from-string(tested)"
             resource="http://www.w3.org"
             show="new"/>

Attached is the test that does this (and sets the tested flag, etc.)

Firefox 3 passes this test.

Leigh.
 

[attachment "4.2.4.a.xhtml" deleted by John Boyer/CanWest/IBM] 

Received on Tuesday, 5 May 2009 20:36:04 UTC