Jan 24th, 2006, 05:17 AM
MultiActionController has no referenceData, getFormView, getCommandName()... ?
I have the following scenario:
- I dispaly a tree of jcr nodes
- On each node I can click and do: delete, rename, ...
- I can alse add new nodes
- After each action I want to return to the same page (so I wa using getFormView)
So I started out using the simpleFormController because I began with the add method. Then I realised that I had multiple actions that could be performed on my screen so I switched to a MultiActionController.
Then I noticed that methods like refrenceData, getSucessView, getFormView, getCommandName did not exist on this controller.
Is there a reason why the MAC has'nt got these methods? Or had the MAC a replacement for these methods of am I just doing this wrong or ..... should I create something like a custom MultiActionFormContoller?