Hi Joaquin,
> I am trying to do a ajax call inside a wizard form and I get this error
> message:
>
> Unhandled exception caught by the Stripes default exception handler.
> net.sourceforge.stripes.exception.StripesRuntimeException: Submission of
> a wizard form in Stripes absolutely requires that the hidden field
> Stripes writes containing the names of the fields present on the form is
> present and encrypted (as Stripes write it). This is necessary to prevent
> a user from spoofing the system and getting around any security/data
> checks.
>
> Any ideas?
Yes, you are probably not including the hidden parameter that Stripes
adds to wizard forms, when you are submitting the form with jQuery.
Here's one way to do it:
function submitForm(button) {
var form = button.form;
var params = $(form).serializeArray();
params.push({name: '_eventName' , value: button.name});
$.post(form.action, params, function(data) {
// do something with data
});
return false;
}
Hope that helps.
Cheers,
Freddy
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users