We will be storing the rules in guvnor - and will read/write to guvnor
using the REST api.
We would like to be able to read the rules into our domain model, without
having to write a complex parser.
In order to make a custom rule editor we need to be able to populate the UI
with rule settings and values. If we use guvnor as an example - writing a
rule for the first time is easy - its a clean slate. To modify the rule,
the user would expect that the UI elements are populated as the same as
their last edit.
We are trying to solve this same problem. How to read the rules from
guvnor, and then populate our domain model, so we can present our rule
editor with values that match that of the rule.
Br
Anton
On Tue, Mar 19, 2013 at 2:55 PM, manstis [via Drools] <
ml-node+s46999n4022877h6(a)n3.nabble.com> wrote:
Rules are DRL that is a String.
Where and how you choose to store the String is up to you.
Please try to explain what you want to achieve a little more.
On 19 March 2013 12:49, kurrent93 <[hidden
email]<http://user/SendEmail.jtp?type=node&node=4022877&i=0>
> wrote:
> HI all
>
> Is there any samples or documentation for reading and writing of rules?
>
> The user case is we are trying to build a custom Rule Editor, and thus
> would
> like to write and read rules to/from our beans.
>
> Thanks
>
>
>
> --
> View this message in context:
>
http://drools.46999.n3.nabble.com/API-for-reading-and-writing-rules-tp402...
> Sent from the Drools: User forum mailing list archive at
Nabble.com.
> _______________________________________________
> rules-users mailing list
> [hidden email] <
http://user/SendEmail.jtp?type=node&node=4022877&i=1>
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
_______________________________________________
rules-users mailing list
[hidden email] <
http://user/SendEmail.jtp?type=node&node=4022877&i=2>
https://lists.jboss.org/mailman/listinfo/rules-users
------------------------------
If you reply to this email, your message will be added to the discussion
below:
http://drools.46999.n3.nabble.com/API-for-reading-and-writing-rules-tp402...
To unsubscribe from API for reading and writing rules, click
here<http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=...
.
NAML<http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=...
--
View this message in context:
http://drools.46999.n3.nabble.com/API-for-reading-and-writing-rules-tp402...
Sent from the Drools: User forum mailing list archive at
Nabble.com.