W3C home > Mailing lists > Public > www-forms@w3.org > February 2010

Re: discussion

From: Swithun Crowe <swithun@swithun.servebeer.com>
Date: Fri, 5 Feb 2010 10:24:09 +0000 (GMT)
To: Максим <max_sky74@mail.ru>
cc: www-forms@w3.org
Message-ID: <alpine.LNX.1.10.1002051016070.3394@shadrach>
Hello

MS I have a program where I can change attribute "r" of circle element in 
MS input control. I have to save and then load svg-file with the circle to 
MS see changed radius. This way I have to use two data stores, one - in 
MS RAM, and the other - in local file. And this data stores have the same 
MS contents. I'd like to have possibility to see the circle with new 
MS radius without saving and loading it again every time I changed 
MS something. I think that it is better to save changes only one time, 
MS when I finish to use the program. How can I avoid saving and loading 
MS file every time to see changes?

A quick thought - the tax form example on the Mozilla XForms site has an 
example of modifying a SVG via an XForm:

http://www.mozilla.org/projects/xforms/samples/tax_form/TaxForm.xhtml

A Javascript function is called when an xforms-value-changed event fires.

I hope this helps.

Swithun.
Received on Friday, 5 February 2010 10:24:46 GMT

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