This is a limitation from MVEL (the expression language we use). At this
moment, it only resolves methods that follows javabean naming conventions.
As the length() method does not follow the javabean naming convention, you
have to do:

v : Validaciones( eval( fonodestino.length() > 7 ) )

    []s
    Edson


2007/8/30, grupo cft ing sostware <[EMAIL PROTECTED]>:
>
> Hello list, as I can obtain the length of a variable in LHS
>
> when
>  v: Validaciones( fonodestino.length > 7)
> then
>        ....
>
> In this way you give me error.
> That do I do wrong?
>
> thanks.
>
> _______________________________________________
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>


-- 
  Edson Tirelli
  Software Engineer - JBoss Rules Core Developer
  Office: +55 11 3529-6000
  Mobile: +55 11 9287-5646
  JBoss, a division of Red Hat @ www.jboss.com
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to