diff options
-rw-r--r-- | framework/Web/UI/WebControls/TRatingList.php | 1 | ||||
-rw-r--r-- | tests/FunctionalTests/protected/pages/UI/RatingList.page | 9 |
2 files changed, 9 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TRatingList.php b/framework/Web/UI/WebControls/TRatingList.php index ad9b0256..7897f36f 100644 --- a/framework/Web/UI/WebControls/TRatingList.php +++ b/framework/Web/UI/WebControls/TRatingList.php @@ -73,7 +73,6 @@ class TRatingList extends TRadioButtonList $options['field'] = $this->getUniqueID();
$options['total'] = $this->getItems()->getCount();
$options['pos'] = $this->getSelectedIndex();
- var_dump($this->getSelectedIndex());
return $options;
}
diff --git a/tests/FunctionalTests/protected/pages/UI/RatingList.page b/tests/FunctionalTests/protected/pages/UI/RatingList.page index f242656a..b598054e 100644 --- a/tests/FunctionalTests/protected/pages/UI/RatingList.page +++ b/tests/FunctionalTests/protected/pages/UI/RatingList.page @@ -9,5 +9,14 @@ <com:TListItem Text="Execellent" />
</com:TRatingList>
+<h2>TRatingList </h2>
+ <com:TRatingList>
+ <com:TListItem Text="Poor" />
+ <com:TListItem Text="Fair" />
+ <com:TListItem Text="Average" Selected="true"/>
+ <com:TListItem Text="Good" />
+ <com:TListItem Text="Execellent" />
+ <com:TListItem Text="Super" />
+ </com:TRatingList>
</com:TContent>
\ No newline at end of file |