I'm exporting the table and I'd like to use the xml that represents the
web-based decision table to generate the DRL. Copying the source that can be
displayed by Guvnor will not suffice for my purposes.
Michael Rhoden wrote:
Are you exporting the DRL or just using the view source from guvnor? The
view source doesn't show the model that must be defined, among other
things. I havent used the eclipse plugin much but Guvnor itself, has it's
own pseudo model for handling Web Decision tables. When you finally
generate a package it will generate correct DRL (not BRL/DT) of that
decision table and should have everything you need to run it outside of
Guvnor. BRL and DT will always create DRL when you export the package. So
my guess is you should use KB.add on a DRL resource type.
-Michael
----- Original Message -----
From: "Dan Seaver" <dan.seaver(a)ge.com>
To: rules-users(a)lists.jboss.org
Sent: Monday, June 15, 2009 3:32:48 PM GMT -06:00 US/Canada Central
Subject: [rules-users] Web based decision tables
Can someone tell me the appropriate way to use web-based decision tables?
They seem to work fine if I create them in Guvnor, and then build and
deploy
the binary package from Guvnor. However, if I copy the gdst from Guvnor to
Eclipse and use KnowledgeBuilder.add to attempt to add the resource as a
DTABLE or BRL resource type, I get a NullPointerException or
CannotResolveClassException.
Any help would be appreciated.
Thanks,
Dan
--
View this message in context:
http://www.nabble.com/Web-based-decision-tables-tp24042079p24042079.html
Sent from the drools - user mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users