cancel
Showing results for 
Search instead for 
Did you mean: 

What's missing ? - onPlugDefault can't see component controller - NW2004

Former Member
0 Kudos

Hi:

I can't do something like this:

//@@begin javadoc:onPlugDefault(ServerEvent)

/** Declared validating event handler. */

//@@end

public void onPlugDefault(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String someValue )

{

//@@begin onPlugDefault(ServerEvent)

wdThis.wdGet....CompController().......

//@@end

}

Beacuse the only wdThis.wdGet...that I see is wdThis.wdGetAPI().

What is missing??

Thanks a lot for your time on this thread.

Rocío.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

in the properties tab u should add that componentcontroller to that view then only you will get wdcomponenetcontroller().

Regards,

Ramani.p

Former Member
0 Kudos

Hi Ramani:

Thanks for answering, I solve the problem a year ago, silly mistake. I close the thread yesterday as I realize that I keep it open.

Thanks for your time.

Rocio.

Former Member
0 Kudos

old post.

BeGanz
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hallo Rocio,

define a controller usage relation to the component controller within the Properties Tab. Afterwards, your IPrivate-API of the component interface view controller should expose this access method to invoke the IPublic-API of the component controller.

Best regards, Bertram