[rules-users] LHS and value

Geoffrey Wiseman geoffrey.wiseman at gmail.com
Tue Mar 6 14:37:40 EST 2007


On 3/6/07, Patrick Santana <patricksantana at yahoo.com.br> wrote:
>
> Guys,
>
> I have this LHS
>
> 1.            when
> 2.                  map:Map();
> 3.                      map.put("UID","0");
> 4.                  eval(MapUtils.getString(map,
> "SUPPLIER").equals("{supplier}"));
>
> Is it possible what I try to do in the line 3? I'm receiving: unknown:66:18
> Unexpected token '"UID"'
>

Maybe it would help if you tried to describe what you're trying to do?  Why
would you want to insert a key/value pair into the map within the rule
condition?

  - Geoffrey
-- 
Geoffrey Wiseman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070306/02d311e3/attachment.html 


More information about the rules-users mailing list