[jboss-user] [JBoss Tools (users)] - Creating attributes of facts

amit_tomar do-not-reply at jboss.com
Sat May 17 17:18:54 EDT 2008


Hi,

One use case which I am thinking of is

I need to create properties/attributes of a fact. Like today I am checking for Color of a box. Tomorrow I want to Check Width also of a Box.

Can I make this change just in the rule and attach it to some object and pass it forward through the rule chain? I do not want to add Width Attribute to Box.. as I will have to recompile the java files also in that case.

I do not see this scenario in the documentaion. Where can I find better examples.

Thanks,
Amit

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151606#4151606

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151606



More information about the jboss-user mailing list