<!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">
    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 "value", "formula", and
    "predicate"<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'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 "flat" 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>
    <br>
    <b>Langages</b> :
    <div class="gmail_quote">You can switch the langage used by adding
      "?langage=fr_FR" 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>
    <br>
    <b>POJO upload</b> :<br>
    You need to "SAVE" the package (File/Save in the package tab) after
    an upload for the new class to be updated (and old one to be
    deleted). "Verify" is not enough (was in 5.1, not in 5.2)<br>
    <br>
    <i>5. If I upload something from Eclipse it lands under "Other
      assets,<br>
      documentation" 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>
    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<br>
    <br>
    <br>
    <i>7. Clicking a Guvnor repository business rule file in Eclipse
      throws a WebDav<br>
      error "not found", both for brl and gdsl files. Could it have to
      do with the<br>
      fact that the package doesn't validate at the moment?</i><br>
    <br>
    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).<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>
    How can you have a "not uploaded yet" resource in the Guvnor
    perspective (view rather that perspective I think) ?<br>
    <br>
  </body>
</html>