Hi Lorenzo,
Lorenzo De Tomasi wrote:
> On 4 Lug, 11:34, Lorenzo De Tomasi <
[hidden email]> wrote:
>> I alert you of some bugs found working on this xform:
http://sinapsi.isotype.org/describe_person.xhtml>
> Other bugs:
> I can't load the default file if birth date is different from the one
> written in it.
> If 0000-01-01 is set and I press the load button at the page bottom,
> it DOESN'T load lorenzo_de_tomasi.xml.
>
> If I modifiy 0000-01-01 in 1976-01-18 (the value already set in
> lorenzo_de_tomasi.xml) and I press the load button at the page bottom,
> it loads lorenzo_de_tomasi.xml
It has nothing to do with the specific date in the file. You'll notice
a warning in the error console when you click on the load button, I
expect. I got one. It is the fact that 0000-01-01 is an invalid date
so submission fails until that date is valid ->
http://www.w3.org/TR/xmlschema-2/#dateTime> - - - - -
> Mac and pc have different file paths. If I press the save button on
> the online page I can't find the file lorenzo_de_tomasi.xml saved
> locally or I can't understand where Mozilla xforms saves it. Does it
> work?
If you are loading the page online and you click on save, then it is
trying to put it back on the server that served the form because your
path in @action is unqualified. "lorenzo_de_tomasi.xml" would be
relative to the loaded file. I don't know where your server puts
uploaded files and we can't affect that.
> I think it should be setted a default save location, that can be the
> last place where we have downloaded something with mozilla or, better,
> it should be opened the defaul Mozilla download window, where the user
> can select a custom path.
>
If the form author wants the user to be able to specify where to put the
file, then they certainly can. Just make sure that @action is set prior
to the submission being triggered. If you would like @action to be able
to be expressed via binding to an instance node, then that would be a
request for the W3C working group.
I hope that this helps,
--Aaron
_______________________________________________
dev-tech-xforms mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-xforms