doc/book/en/development/devcore/vreg.rst
changeset 4442 7bc0e4ed4109
parent 4437 21f2e01fdd6a
child 4444 fd80a06227b3
equal deleted inserted replaced
4441:550cf406dbc6 4442:7bc0e4ed4109
   153 
   153 
   154 When to use selectors?
   154 When to use selectors?
   155 ``````````````````````
   155 ``````````````````````
   156 
   156 
   157 Selectors are to be used whenever arises the need of dispatching on the shape or
   157 Selectors are to be used whenever arises the need of dispatching on the shape or
   158 content of a result set or whatever else context (value in._cwuest form params,
   158 content of a result set or whatever else context (value in request form params,
   159 authenticated user groups, etc...). That is, almost all the time.
   159 authenticated user groups, etc...). That is, almost all the time.
   160 
   160 
   161 XXX add and example of a single view w/ big "if" inside splitted into two views
   161 XXX add and example of a single view w/ big "if" inside splitted into two views
   162 with appropriate selectors.
   162 with appropriate selectors.
   163 
   163