Hi Mark,

I'll go and escape those characters (thought I got most of them).

Happy to contribute this to the integration documentation with a docbook version - there are a few trivial classes (such as the Contraint annotation, ConstraintValdiator etc) that are needed which could be included as an optional module? Or users can just recreate them from the document of course.

Cheers

Pat

2011/1/13 Mark Proctor <mproctor@codehaus.org>
On 13/01/2011 01:49, Mark Proctor wrote:
On 12/01/2011 20:20, Patrick van Kann wrote:
Hi Mark,

I'm not sure if this the kind of example you mean, but here is a blog article I wrote describing how I integrated Drools, JSR 303 and Spring to deliver rules-based bean validation for use in a Spring MVC web app, for example.

http://nonrepeatable.blogspot.com/2010/11/rules-based-validation-using-drools.html

Maybe this could be useful to some users.
That would probably be good for the integration documentation:
http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-integration/html_single/index.html

I'll reference in our blog for now, would be great if you could write this up in docbook for us,  so we can commit it as part of the main documentation build:
https://github.com/droolsjbpm/droolsjbpm/tree/master/drools-docs/drools-docs-integration
Was in the process of reposting this on our blog. However I notice that some of the code snippets are wrong, I looked at the source. You need to escape any < and > for things like xml, less than and generics.

Otherwise you get things like:
    public Collaborators(Map<string, object=""> collaborators) {

Mark


Thanks

Mark

Cheers,

Pat

On Wed, Jan 12, 2011 at 7:06 PM, Mark Proctor <mproctor@codehaus.org> wrote:
We often get complaints about not enough real world examples in Drools.
We have a large community now, so surely a few of you must be able to
write up examples based on your work? So please, please, please, please
take the time to help us here.

Thanks

Mark

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

_______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

_______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users


_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users