[jboss-jira] [JBoss JIRA] (DROOLS-1168) notify property change

Mario Fusco (JIRA) issues at jboss.org
Thu May 19 03:15:00 EDT 2016


    [ https://issues.jboss.org/browse/DROOLS-1168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13239777#comment-13239777 ] 

Mario Fusco commented on DROOLS-1168:
-------------------------------------

Did you try what I suggested in my last comment? Something like

{code}
DroolsUtil.completeEntity($entity, fields, $untMis);
$entity.setUntMisVen($entity.getUntMisVen());
update($entity)
{code}

> notify property change
> ----------------------
>
>                 Key: DROOLS-1168
>                 URL: https://issues.jboss.org/browse/DROOLS-1168
>             Project: Drools
>          Issue Type: Enhancement
>          Components: core engine
>    Affects Versions: 6.4.0.Final
>         Environment: java 6, eclipse 4, windows 8.1
>            Reporter: Sante Stanisci
>            Assignee: Mario Fusco
>            Priority: Critical
>         Attachments: DroolsUtil.java, EntityBase.java, MtbLisvData.java, rules.drl
>
>
> in the then statement instead of modify use a custom function to change the field. This change does not notify the property even if the class is annotated with @PropertyReactive
> How can I manually notify the change?
> Use a stateless session



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list