No, sorry. The I is a workaround, but people should be cautiioned not to rely on it for the future.<br>-W<br><br><div class="gmail_quote">2011/1/10 Tihomir Surdilovic <span dir="ltr"><<a href="mailto:tsurdilo@redhat.com">tsurdilo@redhat.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div text="#000000" bgcolor="#ffffff">
Hi Wolfgang, good points, thus I asked for a Jira so we can add
proper support for it. <br>
If you know of a better workaround with whats currently available
let us know.<br>
<br>
Thanks.<div><div></div><div class="h5"><br>
<br>
On 1/10/11 10:13 AM, Wolfgang Laun wrote:
<blockquote type="cite">I would not use I / DESCRIPTION for these reasons:<br>
<ul>
<li>it's not parameterized, and I think you don't want to repeat
the @Meta(...) for every rule, you just want the argument</li>
<li>you can use only one I column, since the 2nd one silently
overwrites the 1st one, so you'll have to squeeze multiple @s
into one cell</li>
<li>it is an undocumented feature, and the name would suggest
that it was intended for providing a comment</li>
</ul>
Adding a proper metadata column type is simple, given what is
available from other column types.<br>
<br>
-W<br>
<br>
<div class="gmail_quote">2011/1/10 Tihomir Surdilovic <span dir="ltr"><<a href="mailto:tsurdilo@redhat.com" target="_blank">tsurdilo@redhat.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div text="#000000" bgcolor="#ffffff"> Hi Jason, <br>
for fact types and attributes you should be able to reuse
the Functions keyword in the RuleSet section of your sheet,
for example:<br>
<br>
-----------------------------------------------<br>
| Functions | declare Person @author( Bob ) ......... end |<br>
-----------------------------------------------<br>
<br>
For rule attributes you can reuse the "I" keyword as the
cell header and add the attributes, for example:<br>
<br>
-------------------------------------------------<br>
|RuleTable Sample|
| |<br>
-------------------------------------------------<br>
| Condition | I |
Action |<br>
-------------------------------------------------<br>
| $p : Person | |
|<br>
-------------------------------------------------<br>
| name==$param|
| |<br>
-------------------------------------------------<br>
| SomeName | @author( Bob ) |
System.out..... |<br>
-------------------------------------------------<br>
<br>
Neither are optimal, but just workarounds. If you raise a
Jira, I can put on todo list.<br>
Hope this helps.<br>
<br>
Thanks.<br>
Tihomir<br>
<br>
On 1/7/11 9:35 PM, Jason Mihalick wrote:
<blockquote type="cite"> Tihomir, Do you know if decision
tables support <a href="http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-expert/html_single/index.html#d0e3368" rel="nofollow" link="external" target="_blank">metadata</a>?
<br>
<hr align="left" width="300"> View this message in
context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/Need-help-with-Decision-Table-Conditions-tp2195003p2215160.html" target="_blank">Re: Need help with Decision Table
Conditions</a><br>
Sent from the <a href="http://drools-java-rules-engine.46999.n3.nabble.com/Drools-User-f47000.html" target="_blank">Drools - User mailing list archive</a>
at Nabble.com.<br>
<pre><fieldset></fieldset>
_______________________________________________
rules-users mailing list
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<br>
</div>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br>
</blockquote>
</div>
<br>
<pre><fieldset></fieldset>
_______________________________________________
rules-users mailing list
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<br>
</div></div></div>
<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br>