on 06-28-2007 10:40 AM
Hi Profs!
In my WD-Project i want to create 3 WD Components.
First Component has 2 IFrames. IFrame1 loads second component. IFrame 2 loads third component.
It is possible to change data between component 2 and component 3 when they are loaded in IFrames of the component 1?
Regards Waldemar
Hi Waldemar,
U can find all the information over here:
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ba2db0e5-0601-0010-9790-e271902f2c38">Tutorial</a>
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e1f4df00-0801-0010-6298-8fdf667bbd0f">componentization</a>
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/use%2bcomponents%2bin%2bbigger%2bweb%2bdynpro%2bprojects%2b(componentization)">Wiki links</a>
regards
Sumit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hallo Waldemar,
Perhaps you could do it the following way - you first add components 2 and 3 as used web dynpro components in component one.
In the Window of component 1 embed the Interface views of components 2 and 3. Add input and output plugs to the embedded Interface Views of Components zwei and three and connect them.
Maybe it is so possible to exchange infomation between the Components 2 and 3 then...
Bye,
Sameer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All!
Thanks for reply!
I tried the way with iew container. I created 3 components and put component 2 and 3 in two view container of component 1. I get a request over the main page.
My issue: I load in Component 3 an html page with an ActiveX-Control. When a request comes the ActiveX will be reload. And I don't want to reload the ActiveX.
I think i should made it with IFrames and Javascript. I tested it out and it seems to work. The problem is only, when Javascript is turned off!
Regards Waldemar
Hi,
Why dont you try by using
<a href="http://help.sap.com/saphelp_erp2005/helpdata/en/6e/59c3d5b62ba64cb02232efb34b91e5/content.htm">viewContainerUIElement</a>
Regards,
Naga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you use IFrames it is not possible.
Instead use view set and embed your Second and third componets interface views into the first component.
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a137c339-0b01-0010-a688-a87b88706845">Cross ComponentNaviagtion</a>
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e8d7cd90-0201-0010-4a8c-dd22fa16ca0a">More Tutorial</a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all!
Thanks for reply!
My problem is: when i click on a Button in my app a request is send to server and the website will be reloaded! I don't want to reload my main website. I want to set the source for IFrame1 in IFrame2 and backwards. From coresponding IFrames.
I tried this as follows: i load in IFrame1 a html page with Javascript and set the source for the second IFrame with Javascript. But maybe there is a better way in WebDynpro to solve this.
Regards!
Hi,
Go through the follwoing tutorials and you will get to know about usage of view set in Webdynpro
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/wd%20tutorials/modeling%20view%20compositions%20in%20web%20dynpro.pdf">ViewSet1</a>
<a href="http://help.sap.com/saphelp_nw70/helpdata/en/ba/bd83a4c70cfc449313d26d69283317/content.htm">ViewSet2</a>
Hi Waldemar..
check this links.. it might be useful for u..
http://www.ibm.com/developerworks/java/library/j-iframe/
http://www.velocityreviews.com/forums/t156783-loading-successive-pages-an-iframe-using-java.html
URs GS
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.