Changes
Title
changed
CJuiDialog forto create new model
Category
unchanged
Tutorials
Yii version
unchanged
Tags
unchanged
juidialog, user interface, AJAX
Content
changed
[...]
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.[...]