On index.php
<?php $this->widget('zii.widgets.jui.CJuiTabs', array(
'tabs'=>array(
'Residential'=>array(
'ajax'=>CController::createUrl('property/_residential'),
'id'=>'Residential'
),
),
'options'=>array(
'idPrefix'=>'ui-tabs-propertySearch',
),
'id'=>'searchBox',
); ?>
<div id='#ajaxUpdate'></div>
_residential is a view having CHtml form. It has ajaxSubmitButton which updates div #ajaxUpdate on index.php
After showing results in CListView, it shows pages. Now on clicking on any of the page buttons, #ajaxUpdate is going blank. Does anyone have any idea about it?
How to debug this kind of problems.. Please help.
Edit: @abajja : Thanks for notifying. I have changed the code. to CController::createUrl
This post has been edited by rohit: 27 February 2010 - 01:13 PM

Help













