Hi,
I have hard time figuring out why data I pass through renderPartial is not available in my viewFile. Here’s my code:
<?php
$this->renderPartial('submitProjectForm', array('categoryModel'=> $categoryModel, 'budgetRangeModel'=>$budgetRangeModel, 'preselecedId'=>1));
$this->renderPartial('oneLineCategories', array('activeColumnNr'=>1));
?>
The first call to renderPartial works as expected, all the variables are available and shown when debugging.
The second call which just sends an integer is the problem. I have no possibility to use or see $activeColumnNr in the view file. When I try to use it I get the "Undefined variable" error.
Any idea what might be the cause?
Cheers!
OM