[Seaside-dev] WATagBrush>>class:if: with boolean and additional blocks

Torsten Bergmann astares at gmx.de
Mon Dec 30 19:33:54 UTC 2013


>What's the use case for this?

One can pass a block instead of a boolean which is more flexible since a block 
can be passed around and (although defined/dynamically constructed elsewhere) 
evaluated at rendering time.

>Do not assume #value is part of the Object protocol

No I do not assume that any object can be given - only booleans and
blocks. Thats where the name "aBooleanOrBlock" for the parameter came from.

Thx
T.


 


More information about the seaside-dev mailing list