[rules-users] Using nested properties on guided editor

Vinicius Carvalho viniciusccarvalho at gmail.com
Tue Aug 19 14:18:13 EDT 2008


Hello there! I'm trying Guvnor 5.0M1  (really nice :)) after reading :
http://blog.athico.com/2008/08/machine-learning-and-apache-mahout.html

I thought I could use nested objects in my rules. For instance, I have a
technical rule:

when
        $t: Trabalho( situacao.dscSituacao == "AGUARDANDO APROVAÇÃO" )
        Situacao( dscSituacao == "EM APROVAÇÃO" )
    then
        $t.setSituacaoValida(true);

But I can't find a way to bind this using guided editor. I add the fact
Trabalho, bind it to $t variable, but when selecting a restriction to a
field, it ends on situacao, not letting me navigate deeper on the graph. Is
this possible? Do I need a latest version on the SVN in order to use this?

Best Regards

-- 
"In a world without fences and walls, who needs Gates and Windows?"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080819/d654aa51/attachment.html 


More information about the rules-users mailing list