Hi Friends,
I have a requirement wherin i need to access two onclick functions on a same JSP page using two different backing behaviour classes.Is this feasible?I have the following snippet of component xml named sysobjectlocatorCustom_component.xml (which is based on sysobjectlocator_component.xml of Documentum).<filter clientenv='not appintg'> <class>com.documentum.custom.library.CustomClassA</class> </filter>
My question is whether i can have multiple classes defined thus:
<filter clientenv='not appintg'> <class>com.documentum.custom.library.CustomClassA</class>
<class>com.documentum.custom.library.CustomClassB</class>
</filter>
Such that the action events in both the classes are called as and when required from the JSP.
I tried doing the same by having 2 classes declared. But got the following exception which was in one of the class i had stated.
"Caller component does not support providing external data" from its onInit()
The code for the exception in the class was as follows:
Form caller = getCallerForm();
if (!(caller instanceof ITableDataProvider)) {
throw new WrapperRuntimeException("Caller component does not support providing external data"); }
Hoping for your guidance.
Thanks and Regards
Vishnu S