Justin,<br><br>The I8N of locales I listed are all compiled into the existing WAR, so unless you're adding a new locale you won't need to recompile.<br><br>GWT detects the browser and locale the user is using (or overriding locale, as Vincent mentions) and sends the appropriate JScript.<br>
<br>I assume you're using the Guvnor binary distribution rather than compiling from source (or using from an IDE?)<br><br>If you're compiling from source you'll need to run the "full" profile, as by default we only compile for en_US for speed.<br>
<br>With kind regards,<br><br>Mike<br><br><div class="gmail_quote">On 7 July 2011 12:20, Justin Case <span dir="ltr"><<a href="mailto:send_lotsa_spam_here@yahoo.com">send_lotsa_spam_here@yahoo.com</a>></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;">Hi Vincent,<br>
<div class="im"><br>
>You can use predicates in the dialog box for editing a condition column.<br>
>There are 3 radio buttons for "value", "formula", and "predicate"<br>
<br>
</div>Yes, but that looks like a very very limited version of the literal value.<br>
I really don't see any benefit in the predicate, other than being a shortcut for<br>
choosing a field literal value = true or false... am I missing something here?<br>
<div class="im"><br>
>But I agree that template offer more possibilities (in term of rule<br>
>complexity) that tables, which must handle "flat" POJO. For you initial<br>
>question, ie using functions in tables, the simpler way is to add a method<br>
>in the POJO itself, but may be not the cleaner way ... Indeed, using tables<br>
<br>
>often lead to some model adaptations...<br>
<br>
</div>We ended indeed adding a "fake" method to the POJO, and I hate it :)<br>
<div class="im"><br>
>You can switch the langage used by adding "?langage=fr_FR" parameter to<br>
>the guvnor URL.<br>
>You can also provide a resource file translated to your favorite langage<br>
>(by browsing the trunk or a grep code) in a JIRA.<br>
<br>
</div>Yes, and nothing happens as there's no resource file around. All these JIRAs say<br>
nothing about WHERE in the directory structure the resource file shall be<br>
placed... and based on Michael's answer this won't be a trivial endeavor<br>
(recompiling the app for a language switch?? sorry, I can't call this real i8n.)<br>
<div class="im"><br>
>POJO upload :<br>
>You need to "SAVE" the package (File/Save in the package tab) after an<br>
>upload for the new class to be updated (and old one to be deleted). "Verify"<br>
><br>
>is not enough (was in 5.1, not in 5.2)<br>
<br>
</div>Uh oh. This was the missing link, thanks a lot!<br>
<div class="im"><br>
> >Model... is there anything I can do about that? A Java POJO model once<br>
> >uploaded is just a jar blob afterwards, not usable from Eclipse anymore...<br>
>Via Webdav it (should) works if you upload a .jar file. Works in 5.2m2 for<br>
>me, but you still need to save the package (and create the import list in<br>
>the package view too, or upload a drools.package file) to see your classes<br>
<br>
</div>I see, I understand now.<br>
Well, unless one can upload a Java _source_ file or link it somehow, just seeing<br>
the files still doesn't bring much except some comfort "look here they are".<br>
<div class="im"><br>
>Guided editors are no longer supported by eclipse plugin (brl was, gdst<br>
>never was). Officialy due to a lack of interest from the users ... brl was<br>
>very badly handled anyway, so may be it is better like this.<br>
<br>
</div>Well, at least we know where we stand. Editing them in both places didn't make<br>
much sense anyway. I'm fine with editing business rules in Guvnor, if I only<br>
could edit/link the model classes and technical rules in Eclipse...<br>
<div class="im"><br>
>But you can still download it to your local drive, and edit it in XML (if<br>
>you really want to).<br>
<br>
</div>No no thank you :)<br>
<div class="im"><br>
> >8. Clicking in Eclipse in the Guvnor perspective a freshly created rule<br>
<br>
> >flow (nothing uploaded yet) throws an exception as well...<br>
>How can you have a "not uploaded yet" resource in the Guvnor perspective<br>
>(view rather that perspective I think) ?<br>
<br>
</div>I create a new rule flow in _Guvnor_. I land on the "upload resource" tab. The<br>
RF is created but it's obviously empty. I do nothing there but immediately<br>
switch to Eclipse, refresh Guvnor repo view, click on the freshly created RF,<br>
bang.<br>
<br>
Many thanks,<br>
<div><div></div><div class="h5">JC<br>
<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>
</div></div></blockquote></div><br>