cancel
Showing results for 
Search instead for 
Did you mean: 

viewing web pages in a web dynpro page

Former Member
0 Kudos

My requirement:

i have 2 views in my page, view one will have 2 links and one pointing to GOOGLE.co.in and other pointing to Yahoo.co.in.

In the second view the corresponding page should be shown based in the selection in view one.

is this possible?????

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

it is possible.

Create two views first of all (I assume you have basic knowledge):

View I:

1. Insert two Link-to-action UI elements.

2. Create a context of type string in this view

3. create another context in component controller and map it to the views context.

4. Create two actions for the Link-to-action UI elements.

5. Bind the onAction property of 2 UIs and set the URL accordingly in the contexts in onAction methods.

View II:

1. Create an iFrame UI element.

2. Creae the same context here and map it to component controller

3. Set the Source/path property of iFrame to this URL context.

Deploy and run.

Edited by: kunal kotak on Jan 13, 2009 5:16 PM