Hi Joel try this in minilang :
<if-compare field="parameters.quantityOnHandVar"
operator="less" value="0">
<!-- do -->
<else>
<!-- do -->
</else>
</if-compare>
If you're working with eclipse, it's best to configure your xml catalog,
to have auto completion based on the xsd.
Gil
Le 22/10/2014 17:15, joelfrad...@gmail.com a écrit :
I am trying to do some logic.
<if-compare field="parameters.quantityOnHandVar"
operator="less" value="0">
do something
<else-compare>
do something else
</else-compare>
</if-compare>
My do something else is never called.
I can do two if's ok, but wondered if I am doing something wrong when I want
to do a else in minilang.
-----
Joel Fradkin
--
View this message in context:
http://ofbiz.135035.n4.nabble.com/else-compare-question-tp4657240.html
Sent from the OFBiz - User mailing list archive at Nabble.com.
--
<www.nereide.fr>
Gil Portenseigne
Consultant ERP OFBiz
Société Néréide
3b Les isles
37270 Veretz
Tel : 09 74 53 46 09, puis 1, poste 61
Mob : 06 82 740 444
www.nereide.fr <http://www.nereide.fr>
Membre d'OFBiz France
www.ofbiz-fr.org <http://www.ofbiz-fr.org>