|
Hi,
Ok,
this I can understand. If tags (somehow) can be easier to use for non Java
programmers, assuming that they won't have to write complicated predicates, or
otherwise the whole of Java will have to be rewritten with XML syntax. I guess
that's why I think specific conditional tags (like testing request parameters,
DB values, bean properties etc..) make more sense. Code
like:
<lib:if>
<lib:condition>
<lib:or>
<req:param name="type" value="car"/>
<req:param name="type" value="plane"/>
</lib:or>
</lib:condition>
<lib:then>
....
</lib:then>
</lib:if>
would
be horrible ;)
Thanks
for your responses,
Borislav
|
Title: RE: RE: If/Else tag?
- If/Else tag? Amos Shapira
- RE: If/Else tag? Procek, Brett
- Re: If/Else tag? Sam Newman
- RE: RE: If/Else tag? Borislav Iordanov
- RE: RE: If/Else tag? Procek, Brett
- RE: RE: If/Else tag? Dave Newton
- Borislav Iordanov
winmail.dat