Revision #13 has been created by phazei on Jul 28, 2011, 7:20:49 PM with the memo:
Added scriptMap to prevent jquery.js from loading and a note about it. Also corrected a bit of grammar.
« previous (#12)
CJuiDialog and AjaxSubmitButton
[...]The ajaxLink will call an action in the JobController with name ActionAddnew ( we will call it Addnew from now on ), which will either save the job ( after validation ) either rendering the job form.
Finally, the job form which consist of a create.php view and a _formDialog.php view, both exist under under job/views/.
The _formDialog.php ( we will call it _formDialog from now on ) will contain an ajaxSubmitButton to submit the Job we want to create.
##Code and details
Now, I don't know from where exactly
start to make it
I assume you have a little experience with ajaxLink etc
will try to be as
### _form. The person's create form.
####Where to pay attention:
I think this is straightforward. Pay attention the last 2 parameters of [renderPartial](http://www.yiiframework.com/doc/api/CController#renderPartial-detail)
We call first the `createDialog.php` from `job/views/` which is the following.