The documentation says that any '{' and '}' in the expansion text must be
preceded by '\'.
-WOn 7 May 2011 06:10, boy18nj <[email protected]> wrote: > [consequence][]Turn on the "{sprinkler}" for "{room}"=modify( {sprinkler} > ){setOn(true)} > > Example in above dsl, I cannot figure out how to parametrize true parameter > because RHS already contains curly brackets. > > If i do like this, it is wrong DSL compilaton throw errors- > [consequence][]Turn "{on}" the "{sprinkler}" for "{room}"=modify( > {sprinkler} ){setOn({on})} > > Please suggest the correct code. > > -- > View this message in context: > http://drools.46999.n3.nabble.com/How-to-parametrize-method-parameters-in-DSL-tp2910918p2910918.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users >
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
