Yii Framework Forum: CGridView ajax - Yii Framework Forum

Jump to content

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

CGridView ajax Rate Topic: -----

#1 User is offline   ajaxian 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 148
  • Joined: 02-June 10

Posted 23 October 2010 - 09:39 AM

Hi,

in my urlManager I set path instead of get.
Everything work perfect. I get well formed url (seo friendly)

Problem is when I use admin functionality.
I use filter in CGridView (the same view than in demo/blog when you enter in admin mode, you see all posts with the ability to filter by Id or title....)

When you try to filter there is an ajax call which is made to controller/admin in order to repopulate the view.
Problem is that I do not receive the data posted in the ajax call.

When I go back to my urlManager and I set "get" instead of "path" for url, then it works fine.

Do you know how I can handle this ?

Thanks
0

#2 User is offline   ajaxian 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 148
  • Joined: 02-June 10

Posted 23 October 2010 - 10:00 AM

Solved !
Was not a problem of Yii but the way I built the .htaccess file. :angry:
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