Hi Folks
Having make huge progress with my first Fusebox venture (and being quietly
blown away by the productivity gains of using the A4D framework) I came
unstuck with a form submission problem.
Active 4D is returning an error 500 when I submit the form with the POST
method. After the submission, the Action URL is left in the browser
address bar and if I re-request the URL (by hitting return in the address
bar) I don't get the 500.
I've closely followed the Active 4D demo (including using seting the
Action URL in the switch and accessing it with $XFA_onSubmit in the
display code) and tried various combinations of URLs but every single time
the POST gives me an error 500 (actually A4D Execute 4D Request) returns
this. The demo works fine on the same machine and version of Active4D.
(techniques/forms)
The Action URL looks like this: /index.a4d?fuseaction=query.run
There is a circuit called 'query' and a switch called #run'. I also tried
things like straight '/index.a4d/query/run' (since the demo appears to use
'techniques/forms' without the dot notation) with no success.
What am I missing ? I already scoured the archives and can't find anything
similar except a problem with port mapping using ipfw (which I am doing
since it's OS 10.5.7). But why then does the demo work fine ?
Other stuff I wouldn't mind knowing regarding the demo:
- how does the 'techniques' circuit manage to determine the switch
('forms') when the form action uses a slash instead of a dot ?
- when the $XFA_onSubmit assignment in the 'forms' switch (techniques
circuit) uses fusebox{fqfa}, shouldn't this return the dot notation
format ?
Any ideas much appreciated if I'm missing something obvious.
Regards
Peter
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/