Skip to Content
0
Former Member
Apr 27, 2005 at 06:42 PM

UI command not working

31 Views

Hi,

I have created a uicommand following the steps of the diferent documentation found in the SDN (One-Step-Screenflow), but I still don't know how to make it work.

If I create a UICommand extending AbstracCommand, seems to work well until I try to use the RevisionScreenflow class from it. The error that it appears is:

class java.lang.NoClassDefFoundError

com/sapportals/wcm/rendering/screenflow/cm/RevisionScreenflow

I guess it's something wrong in the portalapp.xml.

I have also tried a different way, I create a component and extend the UIRevisionCommand and then configure the command inside the portal, the option does not appear in the menu where it is suppose to appear.

In general what I am trying to do is to create a package of my own with the UIRevisionCommand, RevisionScreenflow and ResourceRevisionControl. After that I will modify the control so it does what I want. I have done this in the two ways explained above. I don't know what I do wrong, may be there is another way to do the whole think, any ideas, please tell me.

As I said I fear the problem comes from the portalapp.xml, SharingReferences property, I guess I don't fill this property with the correct libraries. Please help.

Thanks in advance.

Gregori Coll Ingles.