Todd McGrath wrote:
In the default radius tags, is there a way to replicate if-then-else flow?
It would be hard to get Radius to parse this.
That’s an interesting idea. Though perhaps it should work more like
The difficulty is that Radius doesn’t provide a way to make true
conditional statements. That’s one of the nice aspects of it being a
tagging library (it isolates you from the conditionals and forces you to
put advanced logic in custom tags).
I suppose the when tag could just have a number of attributes that would
allow you to make predefined comparisons:
But that seems rather convoluted.
Perhaps the case tag could specify an object (doing some sort of
variable expansion) and the when tag could do comparisons:
But again, it all seems convoluted.