Changeset 1864

Show
Ignore:
Timestamp:
04/13/2007 11:08:09 AM (21 months ago)
Author:
xue
Message:

removed <span> tags when TDataList.RepeatLayout? is Raw

Location:
trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/HISTORY

    r1857 r1864  
    11Version 3.1.0 RC To be released 
    22=============================== 
    3  
     3CHG: removed <span> tags when TDataList.RepeatLayout is Raw (Qiang) 
    44 
    55Version 3.1.0 beta April 9, 2007 
  • trunk/UPGRADE

    r1851 r1864  
    99version B between A and C, you need to following the instructions 
    1010for both A and B. 
     11 
     12Upgrading from v3.1b 
     13-------------------- 
     14- When TDataList.RepeatLayout is 'Raw', no <span> tags will be generated 
     15  for header, footer and items. If your existing code rely on the span tags, 
     16  you may use 'Flow' layout and set RepeatColumns as 1. 
    1117 
    1218Upgrading from v3.1a 
  • trunk/framework/Web/UI/WebControls/TDataList.php

    r1673 r1864  
    10981098                $item=$this->getItem($itemType,$index); 
    10991099                $layout=$repeatInfo->getRepeatLayout(); 
    1100                 $item->renderControl($writer); 
     1100                if($layout===TRepeatLayout::Raw) 
     1101                        $item->renderContents($writer); 
     1102                else 
     1103                        $item->renderControl($writer); 
    11011104        } 
    11021105