Thanks for your input Vincent.<br><br>I&#39;ve added some more blurb to your reply ;)<br><br><div class="gmail_quote">2011/7/7 Vincent Legendre <span dir="ltr">&lt;<a href="mailto:vincent.legendre@eurodecision.com">vincent.legendre@eurodecision.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><u></u>

  
    
  
  <div text="#000000" bgcolor="#ffffff">
    Some other comments <br>
    <br>
    <b>Prediates How-to in Guvnor :</b><br>
    <br>
    You can use predicates in the dialog box for editing a condition
    column. There are 3 radio buttons for &quot;value&quot;, &quot;formula&quot;, and
    &quot;predicate&quot;<br>
    <br>
    <br>
    <b>Templates VS tables</b> :<br>
    Template are more flexible ... may be ... may be not.<br>
    First, in templates in guvnor, you first see the templated DRL, and
    you have to click on a button to edit the table. Businnes users
    don&#39;t care about the template, and want to see the table first<br>
    Second, in guided tables, you can set some constraints that are not
    added if the parameter is not set (empty cell). In template, an
    empty cell results in a empty substitution, and generally in a
    compilation error ... Template should incorporate a condition to put
    a bunch of the template if the cell is filled or not, or make all
    cells mandatory.<br>
    <br>
    But I agree that template offer more possibilities (in term of rule
    complexity) that tables, which must handle &quot;flat&quot; POJO. For you
    initial question, ie using functions in tables, the simpler way is
    to add a method in the POJO itself, but may be not the cleaner way
    ... Indeed, using tables often lead to some model adaptations...<br>
    <br></div></blockquote><div>Ideally I&#39;d like to implement &quot;tabular templates&quot; where a column can be any DRL fragment with place-holders for values and the data is listed in the rows below. It&#39;s on the &quot;to do list&quot;.<br>
<br>If the template limitation you mention is causing problems please raise a JIRA and we can look into changing the behaviour.<br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div text="#000000" bgcolor="#ffffff">
    <br>
    <b>Langages</b> :
    <div class="gmail_quote">You can switch the langage used by adding
      &quot;?langage=fr_FR&quot; parameter to the guvnor URL. <br>
      You can also provide a resource file translated to your favorite
      langage (by browsing the trunk or a grep code) in a JIRA.<br>
    </div>
    <br></div></blockquote><div>As from 5.3 we also set the locale automatically (from the browsers Accept-Language setting in Guvnor.jsp (which is set as the welcome page in web.xml too). Guvnor.html remains.<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div text="#000000" bgcolor="#ffffff">
    <br>
    <b>POJO upload</b> :<br>
    You need to &quot;SAVE&quot; the package (File/Save in the package tab) after
    an upload for the new class to be updated (and old one to be
    deleted). &quot;Verify&quot; is not enough (was in 5.1, not in 5.2)<div class="im"><br>
    <br>
    <i>5. If I upload something from Eclipse it lands under &quot;Other
      assets,<br>
      documentation&quot; even if they are Java classes which I hoped would
      land under<br>
      Model... is there anything I can do about that? A Java POJO model
      once uploaded<br>
      is just a jar blob afterwards, not usable from Eclipse anymore...</i><br>
    <br></div>
    Via Webdav it (should) works if you upload a .jar file. Works in
    5.2m2 for me, but you still need to save the package (and create the
    import list in the package view too, or upload a drools.package
    file) to see your classes<div class="im"><br>
    <br>
    <br>
    <i>7. Clicking a Guvnor repository business rule file in Eclipse
      throws a WebDav<br>
      error &quot;not found&quot;, both for brl and gdsl files. Could it have to
      do with the<br>
      fact that the package doesn&#39;t validate at the moment?</i><br>
    <br></div>
    Guided editors are no longer supported by eclipse plugin (brl was,
    gdst never was). Officialy due to a lack of interest from the users
    ... brl was very badly handled anyway, so may be it is better like
    this. <br>
    But you can still download it to your local drive, and edit it in
    XML (if you really want to).<div class="im"><br>
    <br>
    <br>
    <i>8. Clicking in Eclipse in the Guvnor perspective a freshly
      created rule flow<br>
      (nothing uploaded yet) throws an exception as well...<br>
    </i><br></div>
    How can you have a &quot;not uploaded yet&quot; resource in the Guvnor
    perspective (view rather that perspective I think) ?<br>
    <br>
  </div>

<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br>