on 01-13-2009 11:37 AM
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?????
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
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 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.