Hi Experts,
I am developing a portal content that is there should be a menu at left side displying the links and if user clicks on any of the link , it should pull the corresponding data from sap system and display at right side of that menu.
In such case .
I choose NavigationList at left side and populated the links with using a BAPI. Now User selects a link in the navigationlist and so that an even should occur. I created an event in OnSelect in navigationlist and in that even handler implementation I write the following code to pull the corresponding data from SAP system by calling another BAPI. After that binding that resulted attrubute to a label UI element to display.
In result.
I am getting the links in the Navigationlist , but ! when user click on it , it is not populating corresponding content into label UI element. I don't understand why it is so. Can anybody help me ?
NavigationList EventHandle implementation
-
public void onActionSelectedItem(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
{
//@@begin onActionSelectedItem(ServerEvent)
int did = wdContext.currentItabElement().getDid(); // link ID
wdContext.currentZfunmoddes_InputElement().setTddid(did); // giving input to the second BAPI.
wdThis.wdGetFinalCompController().executeZfunmoddes_Input(); // executing second model
//@@end
}