Revision #5 has been created by Maurizio Domba Cerin on Mar 7, 2011, 12:22:07 PM with the memo:
« previous (#4) next (#6) »
CJuiDialog for create new model
juidialog, user interface, AJAX
[...]If you use this system in the form for student, you can return, for example, the id of the newly inserted classroom and select it automatically in a drop down list.
For make a long story short:
- Prepare the usual creation with gii generated code
- Change the action create for answer to Ajax requests
- Place the link/dialog/js wherever you want.