Yii Framework Forum: Create/update Form Using Cjuidialog Without Ajax - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Create/update Form Using Cjuidialog Without Ajax In order to upload files Rate Topic: -----

#1 User is offline   Zugluk 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 123
  • Joined: 08-August 12

Posted 12 December 2012 - 10:04 AM

Hi all, I was wondering if it was possible to use CJuiDialog for his Create and update form but without using Ajax... I use the system that I found on famous yii tutorial (http://www.yiiframew...eate-new-model/) about display his create form in a Dialog. But this method using Ajax doesn't allow to perform upload of files...

In order to upload files I decided then to avoid dialog but display the form below the gridView when create button is clicked instead of open a dialog box... However I don't very like this and I would prefer to have a Dialog. So, like I don't want to have extension in my code, I was wondering if there is a way to display a Dialog with create form but without using ajax... I succeed to display the form below the grid and submit information without Ajax so why couldn't I do it on Dialog ?

If you have any Idea...
0

#2 User is offline   Zugluk 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 123
  • Joined: 08-August 12

Posted 12 December 2012 - 01:01 PM

Ok, I found out what I wanted with : http://www.yiiframew...n-a-cjuidialog/
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users