on 2006 Jan 19 4:44 PM
Hi I tried to communicate with 2 iViews thro portal eventing.
a) in my iView1 I have a action.
on click of button I am calling this action..
public void onActionShow(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
{
//@@begin onActionShow(ServerEvent)
String name = wdContext.currentContextElement.getName();
WDPortalEventing.fire("urn:com.sap.tc.webdynpro.example.portaleventing","Show",name);
//@@end
}
b) In my iView2 I have a code in my view wdDoInit method
WDPortalEventing.subscribe("urn:com.sap.tc.webdynpro.example.portaleventing","Show",wdThis.wdGetReactPortalEventingAction());
And my action is
public void onActionReactPortalEventing(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String dataObject )
{
//@@begin onActionReactPortalEventing(ServerEvent)
wdContext.currentContextElement().setName(dataObject);
//@@end
}
I have created a page in portal and I put these 2 iViews in that page.
If i try to run this application thro portal,its running and showing 2 iViews.but on click of the button the event is not calling the second iView.
Can anyone help me in this..
I followed everything specified in HowToProgramPortalEventing.pdf.
Can anyone tell me what mistake I've done..
Is that the path correct?
Thankx in advance
Regards,Swapna
Hello,
Did you look at this note 1112733?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Swapna,
Can you send me the link to the HowToProgramPortalEventing.pdf doc?
Regards,
James
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I believe this link will help you.
vinod v
In the document "How to Use Portal Eventing for Web Dynpro iViews" it is stated that portal server and WebDynpro J2EE server must have the same domain.
E.G.:
In my tests portal eventing does not work if I connect to the portal server with https while the WebDynpro runs on http. Is that also part of the domain? Can I solve the problem by starting the WebDynpro via https?
I'd be thankful for a short reply...
Matthias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Swapna,
how have you opened the portal in your browser? Have you used the full qualified hostname? This is needed, depending to the domain name relaxation setting.
Kind Regards
Marco
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
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.