<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
ferry97 wrote:
<blockquote cite="mid:16266150.post@talk.nabble.com" type="cite">
<pre wrap="">Thanks Mark for the info.
Could you show me how to do it using mvel ? or refer me a link that
explaining all this ?
</pre>
</blockquote>
<a class="moz-txt-link-freetext" href="http://docs.codehaus.org/display/MVEL/Templating+Guide">http://docs.codehaus.org/display/MVEL/Templating+Guide</a><br>
<blockquote cite="mid:16266150.post@talk.nabble.com" type="cite">
<pre wrap="">
Mark Proctor wrote:
</pre>
<blockquote type="cite">
<pre wrap="">ferry97 wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
I don't know how to ask this in words.
But can we do something like :
rule "define trx type"
when
Transaction(code == ${type1.code")
</pre>
</blockquote>
<pre wrap="">sorry no. But it's a nice idea, maybe submit a patch? You could probably
do this yourself already if you use MVEL templating as a pre-parser.
</pre>
<blockquote type="cite">
<pre wrap="">then
doSomething ....
So, we define the type.code in a properties file.
Thanks
</pre>
</blockquote>
<pre wrap="">_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
<br>
</body>
</html>