Re: XForms example with form submission

Aaron Reed <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xml
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
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/testsuite/xforms/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?
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.