From: d_jiten <nu...@jb...> - 2005-07-29 20:48:17
|
I have an actionHandler which is inherited from baseHandler. I use config-type=field in the xml definition. | <event type="node-leave"> | <action name="updateWorkflowId" class="com.xx.UpdateHandler" config-type="field" > | <myBaseClassField>123</myBaseClassField> | </action> | </event> Now i tried to set some fields of the base class and it wouldnt set it. When i looked at the source org.jbpm.instantiation.FieldInstantiator it uses the following method to get the fields. : Field f = clazz.getDeclaredField(propertyName); If instead of this clazz.getField(propertyName) was used it could have got the inherited fields. Is there any reason why this is not done ? Are there any side effects if i change the source to do it this way for my deployment. Thanks, Jiten View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3887374#3887374 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3887374 |