[rules-users] Help command Length in LHS
Edson Tirelli
tirelli at post.com
Thu Aug 30 19:22:17 EDT 2007
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 <infocft at gmail.com>:
>
> 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070830/6fc58a3b/attachment.html
More information about the rules-users
mailing list