Here are my rules:
#created on: 29/10/2007
package br.ufpr.ti.identkit.rules
#list any import classes here.
import br.ufpr.ti.identkit.entity.*
#the package br.ufpr.ti.identkit.entity.* has the class
TipoCaracteristica and the class TipoMolde
import br.ufpr.ti.identkit.ia.Especialista
import
:* Re: [rules-users] Using java.util.List in rules
You can't explicitly call methods in the field name. Use MVEL
special notation for lists:
e : Especialista(retratoUser.lstCarac[0].codCarac != 0)
[]s
Edson
2007/10/2
:
[EMAIL PROTECTED] *On Behalf Of *Edson
Tirelli
*Sent:* Wednesday, October 03, 2007 6:10 AM
*To:* Rules Users List
*Subject:* Re: [rules-users] Using java.util.List in rules
You can't explicitly call methods in the field name. Use MVEL
Do you have an import statement for importing
TipoCaracteristica?
I see you are already using TipoMolde.CABELO which I
assume is another public static variable in the
TipoMolde class.
If none of these work can you post your drl file?
Rahul
--- Anderson Pazza Mello [EMAIL PROTECTED] wrote:
, 2007 6:10 AM
*To:* Rules Users List
*Subject:* Re: [rules-users] Using java.util.List in rules
You can't explicitly call methods in the field name. Use MVEL
special notation for lists:
e : Especialista(retratoUser.lstCarac[0].codCarac != 0)
[]s
:
[EMAIL PROTECTED] *On Behalf Of *Edson Tirelli
*Sent:* Wednesday, October 03, 2007 6:10 AM
*To:* Rules Users List
*Subject:* Re: [rules-users] Using java.util.List in rules
You can't explicitly call methods in the field name. Use MVEL
special notation for lists:
e
] *On Behalf Of *Edson Tirelli
*Sent:* Wednesday, October 03, 2007 6:10 AM
*To:* Rules Users List
*Subject:* Re: [rules-users] Using java.util.List in rules
You can't explicitly call methods in the field name. Use MVEL special
notation for lists:
e : Especialista(retratoUser.lstCarac
:[EMAIL PROTECTED] On Behalf Of Edson Tirelli
Sent: Wednesday, October 03, 2007 6:10 AM
To: Rules Users List
Subject: Re: [rules-users] Using java.util.List in rules
You can't explicitly call methods in the field name. Use MVEL special
notation for lists:
e : Especialista(retratoUser.lstCarac
PROTECTED] *On Behalf Of *Edson Tirelli
*Sent:* Wednesday, October 03, 2007 6:10 AM
*To:* Rules Users List
*Subject:* Re: [rules-users] Using java.util.List in rules
You can't explicitly call methods in the field name. Use MVEL special
notation for lists:
e : Especialista
You can't explicitly call methods in the field name. Use MVEL special
notation for lists:
e : Especialista(retratoUser.lstCarac[0].codCarac != 0)
[]s
Edson
2007/10/2, Anderson Pazza Mello [EMAIL PROTECTED]:
Hi everyone,
I'm trying to use a java.util.List like this:
rule Test
10 matches
Mail list logo