Committing objects from a native pluggable wigdet

0
Hi,   I'm creating a native pluggable widget that takes some attributes as parameters. The widget updates these parameters with a setValue(). But what I also want is that these values get committed too. I can figure something out in Mendix Studio that the user has to press a button that commits the changed values but it would be nice if theat happens automatically.    Has anybody done this before? if yes, how did you do it?      
asked
1 answers
0

I overlooked a usefull property...

            <property key="scanStatus" type="attribute" onChange="onStatusChange">
                <caption>ScanStatus</caption>
                <description></description>
                <attributeTypes>
                    <attributeType name="Enum"/>
                </attributeTypes>
            </property>
            <property key="onStatusChange" type="action">
                <caption>On change</caption>
                <description/>
            </property>

explanation is in the docs

answered