Check the DRL preview in the eclipse plugin... it may give you an idea of
why it is not expanding...
[]s
Edson
2008/4/16 vester_s <s4nnym(a)gmail.com>:
I try to change the trailing spaces, but it still giving me the same error
messages.
The other rules in that dsl is also using this format
[then]
some word = some rules
there seems to be working fine for the others though.
Is there any other error possibility?
thanks,
Edson Tirelli-3 wrote:
>
> DSL is space mandatory, but insensitive, it that makes any sense...
:)
> My guess is that when you write a mapping like that:
>
> showing popup thing =
>
> You are say that there must be 1 or more spaces in the end of the
> statement.
> Try removing the space and it should work:
>
> showing popup thing=
>
> PS: Internally, all spaces are converted into \s+
>
> []s
> Edson
>
> 2008/4/15 vester_s <s4nnym(a)gmail.com>:
>
>>
>> Hi,
>>
>> I have a DSL file like this
>> [then]showing popup thing = foo.put("showing","ON");
>>
>> and a DRL file like this
>> Rule "popup"
>> no-loop tru
>> when
>> ....
>> then
>> showing popup thing
>> end
>>
>> It keeps giving me an error
>> "Unable to expand: showing popup thing. Due to Expression was not
>> expandable: showing popup thing"
>>
>> The other rules is working fine, i couldn't find any problem with this
>> DSL
>> and DRL. Anybody can help?
>>
>> thanks,
>> --
>> View this message in context:
>>
http://www.nabble.com/DSL-Rules-error-%3A-unable-to-expand-tp16707000p167...
>> Sent from the drools - user mailing list archive at
Nabble.com.
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/rules-users
>>
>
>
>
> --
> Edson Tirelli
> JBoss Drools Core Development
> 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(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
>
--
View this message in context:
http://www.nabble.com/DSL-Rules-error-%3A-unable-to-expand-tp16707000p167...
Sent from the drools - user mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
Edson Tirelli
JBoss Drools Core Development
Office: +55 11 3529-6000
Mobile: +55 11 9287-5646
JBoss, a division of Red Hat @