Search code examples
jbossdroolsdrools-guvnor

Embed Guvnor's BRL Guided Editor in web page


I've created a web page that's meant to display all the BRL's in my Guvnor repository so business people can view/edit it as they please. I've checked the Guvnor documentation on Chapter 10, where they talk about this, and from what I understand this is the link that would give me access to what I want:

http://<address : port>/guvnor/org.drools.guvnor.Guvnor/StandaloneEditor.html?assetsUUIDs=<myUUID>&client=oryx

The problem is this doesn't display anything. I've read and re-read the documentation, I've searched all over google but can't really find a tutorial or a complete example on how to do this, even with the plugtree website one.

Can anyone help me with this or point me in the right direction?

Many thanks


Solution

  • The correct URL you have to invoke is:

    http://<address>:<port>/guvnor/org.drools.guvnor.Guvnor/standaloneEditorServlet?assetsUUIDs=<uuid>&client=oryx

    This servlet will redirect your browser to StandaloneEditor.html.

    Hope it helps,