CJuiDialog to create new model

Comparing #4 with #5

Revision #5 was created by Maurizio Domba Cerin Maurizio Domba Cerin on Mar 7, 2011, 12:22:07 PM.

doc fix

Content

[...]
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.

Summary
------------------

ForTo 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.
[...]