Changes between Version 9 and Version 10 of PRO_LIB_CORE_TUTORIAL


Ignore:
Timestamp:
10/02/08 15:31:33 (17 years ago)
Author:
Tanya
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PRO_LIB_CORE_TUTORIAL

    v9 v10  
    108108}}} 
    109109 
    110  * !ChildrenProperty 
    111 {{{ 
    112         public RwListProp<PageView> pageViews() { 
    113                 class PageViews extends ChildrenProperty<PageView> { 
    114                         @Override 
    115                         protected ListBinding<?, PageView> getListBinding() { 
    116                                 return new BaseListBinding<Page, PageView>() { 
    117  
    118                                         @Override 
    119                                         protected PageView translateSourceToTarget(Page source) { 
    120                                                 return new PageView(source); 
    121                                         } 
    122  
    123                                         @Override 
    124                                         protected RwListProp<Page> computeSource() { 
    125                                                 return model().get().pages(); 
    126                                         } 
    127                                 }; 
    128                         } 
    129                 } 
    130  
    131                 return getBean().makeListProp(PageViews.class); 
    132         } 
    133 }}} 
    134  
    135110=== Methods To Use === 
    136111These are methods of the !ProBean class.