diff options
| author | xue <> | 2006-04-07 15:26:38 +0000 | 
|---|---|---|
| committer | xue <> | 2006-04-07 15:26:38 +0000 | 
| commit | 095e118cd4469f1b77e920a0238798d23089ae8d (patch) | |
| tree | 1d559fb16ee490470d68cf0cec942ff4a5467d42 /demos/quickstart/protected | |
| parent | 021501cb16c964b4bb43ecef6688cba64ecb257d (diff) | |
Merge from 3.0 branch 871.
Diffstat (limited to 'demos/quickstart/protected')
| -rw-r--r-- | demos/quickstart/protected/pages/Controls/List.page | 10 | 
1 files changed, 2 insertions, 8 deletions
| diff --git a/demos/quickstart/protected/pages/Controls/List.page b/demos/quickstart/protected/pages/Controls/List.page index e3a6f368..cac07330 100644 --- a/demos/quickstart/protected/pages/Controls/List.page +++ b/demos/quickstart/protected/pages/Controls/List.page @@ -23,16 +23,10 @@ List controls covered in this section all inherit directly or indirectly from <t  </ul>
  <p>
 -Since <tt>TListControl</tt> inherits from <tt>TDataBoundControl</tt>, these list controls also share a common operation known as <tt>databinding</tt>. The <tt>Items</tt> can be populated from preexisting data specified by <tt>DataSource</tt> or <tt>DataSourceID</tt>. A function call to <tt>dataBind()</tt> will cause the data population. For list controls, data can be specified in three kinds of format:
 +Since <tt>TListControl</tt> inherits from <tt>TDataBoundControl</tt>, these list controls also share a common operation known as <tt>databinding</tt>. The <tt>Items</tt> can be populated from preexisting data specified by <tt>DataSource</tt> or <tt>DataSourceID</tt>. A function call to <tt>dataBind()</tt> will cause the data population. For list controls, data can be specified in the following two kinds of format:
  </p>
  <ul>
 -  <li>integer-indexed array, <tt>TList</tt> or traversable : each array element value will be used as the value and text for a list item. For example
 -<com:TTextHighlighter CssClass="source">
 -$listbox->DataSource=array('item 1','item 2','item 3');
 -$listbox->dataBind();
 -</com:TTextHighlighter>
 -  </li>
 -  <li>associative array, <tt>TMap</tt> or traversable : array keys will be used as list item values, and array values will be used as list item texts. For example
 +  <li>one-dimensional array or objects implementing <tt>ITraversable</tt> :  array keys will be used as list item values, and array values will be used as list item texts. For example
  <com:TTextHighlighter CssClass="source">
  $listbox->DataSource=array(
  	'key 1'=>'item 1',
 | 
