This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Mozilla XML > April 2005 > XForms example with form submission
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
XForms example with form submission
|
|
| Martin Honnen 2005-04-04, 12:35 pm |
| The XSmiles XForms example
<http://www.xsmiles.org/demo/testsui.../controls.xhtml>
doesn't work with Mozilla, form controls are rendered but no submission
happens, I suppose that is because submission is supposed to go to
<http://sinex.tml.hut.fi:8080/xforms/request>
which is different from the orginal origin www.xsmiles.org. It would be
nice if Mozilla would somehow indicate to the user that/why submission
fails, my build here (Mozilla 1.8b2 Mozilla/5.0 (Windows; U; Windows NT
5.1; en-US; rv:1.8b2) Gecko/20050225) simply sits there and does nothing.
Are there any such similar XForms example online where form submission
works with Mozilla?
--
Martin Honnen
http://JavaScript.FAQTs.com/
| |
| Aaron Reed 2005-04-04, 12:35 pm |
| Hi Martin,
Well there are two things holding this back. One is the form itself.
It isn't valid XForms since the xf:submit element doesn't have a
submission attribute on it. So we don't know where to submit the data.
Once this is corrected, then you'd run into the security restriction.
Do you run a local webserver or J2EE environment? I could give you a
simple cgi or a simple servlet that will give you submit feedback. That
is how I personally do it. I opened a bug to see if we can't get a way
to specify trusted domains if you want to CC yourself on it ->
https://bugzilla.mozilla.org/show_bug.cgi?id=284519
Have a good evening,
--Aaron
Martin Honnen wrote:
> The XSmiles XForms example
> <http://www.xsmiles.org/demo/testsui.../controls.xhtml>
> doesn't work with Mozilla, form controls are rendered but no submission
> happens, I suppose that is because submission is supposed to go to
> <http://sinex.tml.hut.fi:8080/xforms/request>
> which is different from the orginal origin www.xsmiles.org. It would be
> nice if Mozilla would somehow indicate to the user that/why submission
> fails, my build here (Mozilla 1.8b2 Mozilla/5.0 (Windows; U; Windows NT
> 5.1; en-US; rv:1.8b2) Gecko/20050225) simply sits there and does nothing.
>
> Are there any such similar XForms example online where form submission
> works with Mozilla?
>
>
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|