From fd76b5617e3c136be2f8b5374e7629d2bea77070 Mon Sep 17 00:00:00 2001 From: Jens Klaer Date: Thu, 22 Oct 2015 10:48:13 +0200 Subject: extended ISurroundable to provide the surrounding tag in addition to the id - ISurroundable introducing getSurroundingTag(), adjusted controls implementing the interface - TActiveDataGrid/TActiveRepeater now support changing the container tag to avoid invalid html in specific situations - revised corresponding quickstart demos --- .../protected/pages/ActiveControls/Samples/TActiveRepeater/Home.php | 1 + 1 file changed, 1 insertion(+) (limited to 'demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/Home.php') diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/Home.php b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/Home.php index 57e75d72..138118ed 100755 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/Home.php +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/Home.php @@ -60,6 +60,7 @@ class Home extends TPage $data=array(); foreach($this->Repeater->Items as $item) { + if($item->getItemType()!=TListItemType::Item && $item->getItemType()!=TListItemType::AlternatingItem) continue; $item=array( 'id'=>$products[$index]['id'], 'name'=>$item->ProductName->Text, -- cgit v1.2.3