Some issues within richfaces 3.3.3.Final
Thanks a lot to Hedin for the great example. I've been using the same approach which i've found in his example SWFRichFaces.zip. Everything's been ok, until i moved to new version of RF 3.3.3.Final. Is there any solution?
Richfaces 3.3.3.Final + JSF 2
After having debugged i've found that a js error is thrown avoiding dialog.js to send ajax request:
if( finishRequest )
{
// Get updates from server (for messages, etc.)
A4J.AJAX.Submit
("_viewRoot", "modalPanel_region_form", null,
{
"status": req.options.status,
"actionUrl": url,
"oncomplete": dumpPanels,
"parameters": {}
}
);
...........
Exception looks like:
description "'submitByForm' is null or not an object"
message "'submitByForm' is null or not an object"
name "TypeError"
Richfaces 3.3.3 and Error in processResponse: options is null
After a lot of tests I found of, that the number of parameters of A4J.AJAX.Submit() has changed.
So after updating the curresponding part at dialog.js it also works with RichFaces 3.3.3.CR1.
Also I tested it with Spring 3.0.3.RELEASE and Spring Web Flow 2.0.9.RELEASE successfully.
Here is the update for dialog.js:
Code:
if( finishRequest )
{
// Get updates from server (for messages, etc.)
var options = {'status':req.options.status,'actionUrl':url,'oncomplete':dumpPanels,'parameters':{}};
A4J.AJAX.Submit('modalPanel_region_form', null, options);
req.doFinish();
return;
}