Hi,

I have a question regarding the dynamic behaviour of a definstanced bean which class 
is involved in an inheritance relation.

Preconditions:
(defclass MMLFaultCode SE.ericsson.epk.NAM.DataTranscriptGeneratorPackage.MMLFaultCode)
(defclass MMLFaultCodeTableStatus 
SE.ericsson.epk.NAM.DataTranscriptGeneratorPackage.MMLFaultCodeTableStatus extends 
MMLFaultCode)
(defclass MMLFaultCodeReference 
SE.ericsson.epk.NAM.DataTranscriptGeneratorPackage.MMLFaultCodeReference extends 
MMLFaultCode)

where   SE.ericsson.epk.NAM.DataTranscriptGeneratorPackage.MMLFaultCodeTableStatus 
extends
        SE.ericsson.epk.NAM.DataTranscriptGeneratorPackage.MMLFaultCode
and
        SE.ericsson.epk.NAM.DataTranscriptGeneratorPackage.MMLFaultCodeReference 
extends
        SE.ericsson.epk.NAM.DataTranscriptGeneratorPackage.MMLFaultCode

MMLFaultCode exposes for example a boolean attribute "active" which is bound and rw.

When I create an instance of class 
SE.ericsson.epk.NAM.DataTranscriptGeneratorPackage.MMLFaultCodeTableStatus 
and do
(definstance MMLFaultCodeTableStatus ?MMLFaultCodeTableStatus)
and later try to alter the "active" attribute (which is inherited) I get no update of 
the attribute in the fact which I previously definstanced.
If I on the other hand do (after having removed the above definstance)
(definstance MMLFaultCode ?MMLFaultCodeTableStatus) and try the same modification of 
the "active" attribute I get a change in the fact list.

Since I get the update when I use the setActive method (which is by the way not 
overridden in the sublcass) the propertyChange signaling seams ok to me.
I used beaninfo-classes to begin with but I have removed the class files for the time 
being to avoid any inadvertent hiding of attributes.

What am I doing wrong or is it a bug?
/best regards


Mikael Rundqvist


--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to