[rules-dev] Fine Grained Property Change Listeners (Slot Specific)

Wolfgang Laun wolfgang.laun at gmail.com
Wed Jan 18 06:30:56 EST 2012


On 18/01/2012, Geoffrey De Smet <ge0ffrey.spam at gmail.com> wrote:
>
>
> Op 18-01-12 11:00, Wolfgang Laun schreef:
>>
>> Then it must be:
>>     @Modifies( { "firstName", "lastName" } )
> Yep, true. Not sure if that still allows to use @Modifies("firstname").

No: once it's an array, it'll have to be between { and }.

Same with a MultiModifies:

@Modifications(   {  @Modifies( { "firstName", "lastName" } ),
                                @Modifies( { "whatever" } )
                        }    )

-W


More information about the rules-dev mailing list