Re: else-comparequestion

2014-10-26 Thread Deepak Dixit
Hi Joel, Please specify type as well for if-comnpare if you are comparing other then strings. {code} if-compare field=parameters.quantityOnHandVar operator=less value=0 type=BigDecimal !-- -- else /else /if-compare {code} Thanks Regards — Deepak Dixit On

else-comparequestion

2014-10-22 Thread joelfrad...@gmail.com
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

Re: else-comparequestion

2014-10-22 Thread gil portenseigne
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

Re: else-comparequestion

2014-10-22 Thread gil portenseigne
The way i use to set xml catalog in eclipse : File - Import Select XML - XML Catalog Then choose in the root of your ofbiz checkout the .xmlcatalog.xml file and validate. After that ctrl + space will guide you into your xml coding. Gil Le 22/10/2014 17:45, gil portenseigne a écrit :

Re: else-comparequestion

2014-10-22 Thread joelfrad...@gmail.com
Thank you. I will check it out. Also will see about the eclipse settings you mentioned. - Joel Fradkin -- View this message in context: http://ofbiz.135035.n4.nabble.com/else-compare-question-tp4657240p4657245.html Sent from the OFBiz - User mailing list archive at Nabble.com.