I have been trying to integrate Extjs with the forms framework, but I wasn't even close to what you guys made.
I have some issues, though:
Shouldn't the PluginExt3FormDoctrine extend BaseFormDoctrine instead of sfFormDoctrine?
Like this there is no place for common doctrine form stuff
In the example it wants to do:
- Code: Select all
$this->getUser()->setMessage(
This function probable send the form errors in Json the the output, but I can't find the function, and it is not a default one in SF 1.2.9
I saw that in the sample myApp.js there is:
- Code: Select all
// This command enable component to execute a function send by symfony
// Use by error to invalidate component
this.viewport.cascade(atolExt3WidgetPlugin.cascadeFunctionToCall)
When I change this to:
- Code: Select all
this.viewport.cascade(PlugTMP.cascadeFunctionToCall);
it seems to actually call the function when you include:
/atolExtsWidgetPlugin/js/submitbutton, /atolExtsWidgetPlugin/js/plug in your view.yml.
The submitbutton is referred to in the classes.
