I often look at:
<t:if test="....">
...
<t:parameter name="else">
....
</t:parameter>
</t:if>
and think if there could be a better (and yet generic) way to express
this.
The only thing that comes to my mind is to use another namespace
(with prefix p) and then do something like:
<t:if test="....">
...
<p:else>
....
</p:else>
</t:if>
Of course this can easily confuse. One that doesn't know that else is
a parameter to the component if, would expect more that both 'if' and
'else' belong to the same namespace. Yet using the t prefix also for
parameters will easily overload component types.
Just a thought comes back over and over again... What do you think?
--
Ognen Ivanovski | [EMAIL PROTECTED]
phone +389 -2- 30 64 532 | fax +389 -2- 30 79 495
Netcetera | 1000 Skopje | Macedonia | http://netcetera.com.mk
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]