Re: XForms: submission with POST, does it work?

Aurelian <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xml
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Pascal Sartoretti wrote:
> Hello,
> 
> I can submit my XForm with a GET or a "form-data-post", but when I try 
> to do it with POST nothing seems to happen. Is it supposed to work? I 
> found this bug which could indicate that submission are not yet fully 
> implemented:
> 
>   https://bugzilla.mozilla.org/show_bug.cgi?id=263086
> 
> Could anybody succeed with a POST? Is there any security issue? By the 
> way, there is nothing in the Javascript console.
> 
> Thanks for any help
> 
> Pascal
Hi Pascal,

I'm not sure if this is your situation but I experienced something 
similar about 2 months ago when I started experimenting with XForms.

The instance data was external and I was not setting the bind attribute 
for the submission element (which at that time I considered optional). 
That behaved exactly as you described it: GET was OK, POST was not 
hitting the server. The moment I added the bind attribute pointing to 
the root element of the instance things got solved.

For details check my last note to the thread "XForms help needed - 
Multiple form per document submission problem" started on 9/13/2005@1:19 PM.

Hope this helps,
Aurelian Penciu
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.