cancel
Showing results for 
Search instead for 
Did you mean: 

Developing a Custom control

Former Member
0 Kudos

Hi:

I am developing a custom control for Mobile 7.1 and I get the following exception

I have de custom_controls.properties into de .src/packages but when I execute the webdynpro I get the exception

Caused by: java.lang.ClassNotFoundException: com.sap.tc.mobile.customcontrols.SampleFlatButtonCustomWidgetFactory

SampleFlatButtonCustomWidgetFactory is the class which has the implementation of the new button.

The file custom_controls.properties has the following code:

Wdlite-custom-control-factory-class-1: com.sap.tc.mobile.customcontrols.SampleFlatButtonCustomWidgetFactory

Wdlite-custom-control-factory-ids-1: Test

where com.sap.tc.mobile.customcontrols is the packages where I have the class SampleFlatButtonCustomWidgetFactory

Any idea?

Best regards

Maria Elena

Accepted Solutions (1)

Accepted Solutions (1)

former_member206242
Active Participant
0 Kudos

Hi,

Try using the same package as the UI component which will include this custom control.

Regards,

Nipun

Former Member
0 Kudos

Hi Nipun:

Now work correctly.

Thank you and best regards

Maria Elena

Answers (0)