on 04-19-2007 9:09 PM
Hi All,
Like the subject shows, i don´t know how made this. I have 2 iViews, in one of this, appairs the TEAM VIEWER, now, when some click on a employee "in this case", the other iView must be refresh starting with the PERNR "in tihs case", and then display the info.
Please, if some could help me,
Thanks in advance...
Jorge
Hi,
The issue is that the Team viewer, is the standar application, the idea wasn´t modify this iView. So the problem is how can i call a bean or other object that contain the información that was submited by the team viewer.
Regards,
Jorge.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jorge,
Did you get the last message? The code that I sent to you doesn't change nothing at Team Viewer, the Team Viewer will stay standard. The application that you are developing have to subscribe an event that is fired by the Team Viewer and create a method to handle this event.
<b>WD View Init code:</b>
WDPortalEventing.subscribe("urn:com.sap.pct.hcm.orgmanagement:CurrentObject", "objectChanged", wdThis.wdGetRecievePernAction());
<b>You have to create this method at the WD View:</b>
Method RecievePernAction(Event event){
String pernr = wdEvent.getString("dataObject");
...
}
Regards,
Luciano
Thanks Luciano, the problem was solved...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
To pass values from one iView to another iView you should use Webdynpro eventing.
1) In your first iView (Teamviewer iView) write the code as follows
WDPortalEventing.fire("urn:com.abc.practice","sendEvent",pernr );
2) In your second iView the code
WDPortalEventing.subscribe("urn:com.abc.practice","sendEvent",wdThis.wdGetReactPortalEventingAction() );
// create one action method as ReactPortalEventingAction with parameter as String object and write the code as
manager.reportSuccess("EPCM event testing "+dataObject);
Regards
Suresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jorge,
The custom iview have to subscribe an event that is fired by the Team Viewer and create a method to handle the event that will be sent.
<b>Init code:</b>
WDPortalEventing.subscribe("urn:com.sap.pct.hcm.orgmanagement:CurrentObject", "objectChanged", wdThis.wdGetRecievePernAction());
<b>Method RecievePernAction(Event event){</b>
String pernr = wdEvent.getString("dataObject");
...
}
Regards,
Luciano
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.