<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    On 13/01/2011 01:49, Mark Proctor wrote:
    <blockquote cite="mid:4D2E5A19.4070202@codehaus.org" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      On 12/01/2011 20:20, Patrick van Kann wrote:
      <blockquote
        cite="mid:AANLkTiktzVZ=8UCDCf6KROBivq7q3Sq-jtwe9Y4CgcS4@mail.gmail.com"
        type="cite">Hi Mark,<br>
        <br>
        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.<br>
        <br>
        <a moz-do-not-send="true"
href="http://nonrepeatable.blogspot.com/2010/11/rules-based-validation-using-drools.html">http://nonrepeatable.blogspot.com/2010/11/rules-based-validation-using-drools.html</a>
        <br>
        <br>
        Maybe this could be useful to some users.<br>
      </blockquote>
      That would probably be good for the integration documentation:<br>
      <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-integration/html_single/index.html">http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-integration/html_single/index.html</a><br>
      <br>
      I'll reference in our blog for now, would be great if you could
      write this up in docbook for us,&nbsp; so we can commit it as part of
      the main documentation build:<br>
      <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://github.com/droolsjbpm/droolsjbpm/tree/master/drools-docs/drools-docs-integration">https://github.com/droolsjbpm/droolsjbpm/tree/master/drools-docs/drools-docs-integration</a><br>
    </blockquote>
    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 &lt; and &gt; for things like xml, less than
    and generics.<br>
    <br>
    Otherwise you get things like:<br>
    <div class="line number10 index9 alt1"><code class="java spaces">&nbsp;&nbsp;&nbsp;&nbsp;</code><code
        class="java keyword">public</code> <code class="java plain">Collaborators(Map&lt;string,
        object=</code><code class="java string">""</code><code
        class="java plain">&gt; collaborators) {<br>
        <br>
        Mark<br>
      </code></div>
    <br>
    <blockquote cite="mid:4D2E5A19.4070202@codehaus.org" type="cite"> <br>
      Thanks<br>
      <br>
      Mark<br>
      <blockquote
        cite="mid:AANLkTiktzVZ=8UCDCf6KROBivq7q3Sq-jtwe9Y4CgcS4@mail.gmail.com"
        type="cite"> <br>
        Cheers,<br>
        <br>
        Pat<br>
        <br>
        <div class="gmail_quote">On Wed, Jan 12, 2011 at 7:06 PM, Mark
          Proctor <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:mproctor@codehaus.org">mproctor@codehaus.org</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
            0.8ex; border-left: 1px solid rgb(204, 204, 204);
            padding-left: 1ex;"> We often get complaints about not
            enough real world examples in Drools.<br>
            We have a large community now, so surely a few of you must
            be able to<br>
            write up examples based on your work? So please, please,
            please, please<br>
            take the time to help us here.<br>
            <br>
            Thanks<br>
            <br>
            Mark<br>
            <br>
            _______________________________________________<br>
            rules-users mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
            <a moz-do-not-send="true"
              href="https://lists.jboss.org/mailman/listinfo/rules-users"
              target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
          </blockquote>
        </div>
        <br>
        <pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
rules-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
      </blockquote>
      <br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>