ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kunle Gbadamosi <kgbadam...@gmail.com>
Subject Dynamic (Evaluated) Prepend
Date Thu, 03 Sep 2009 22:35:01 GMT

Hi there,

I have a situation where I need to dynamically determine my prepend value
(which could be AND or OR). 

Here's a quick sample - 

<dynamic open="(" close=")">
   <isNotEmpty property="A" prepend="$logicOperator$">A = #A#</isNotEmpty>
   <isNotEmpty property="B" prepend="$logicOperator$">B = #B#</isNotEmpty>
</dynamic>


Looking at the snippet, I want to pass the value of the prepend using
$logicOperator$. And I want the first Prepend to be removed. Is there a way
I can I go about this ?

Thanks,
Kunle
-- 
View this message in context: http://www.nabble.com/Dynamic-%28Evaluated%29-Prepend-tp25285320p25285320.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
For additional commands, e-mail: user-java-help@ibatis.apache.org


Mime
View raw message