cancel
Showing results for 
Search instead for 
Did you mean: 

target for display form on different tray when treenode clicked

Former Member
0 Kudos

Hi

How can I use treenode to show a perticular htm page inside a tray rather than redirecting the whole page of the browser or frame, when I click a treenode. if I am not clear enough, I want a perticular tray of my screen should change whenever I click on different treenodes

regards

Ashutosh

Accepted Solutions (1)

Accepted Solutions (1)

athavanraja
Active Contributor
0 Kudos

you have to use the clientclick to run javascript to achieve this.

Example:

set your table2-clientclick value to something like below.

javascript:window.open('targetpage.htm', target="anotherframe");

Regards

Raja

Former Member
0 Kudos

Thanks Raja for the response I will try it out, but I think it will open a new window, am I wrong? I want it to open in a tray of same window (browser instance).

regards

Ashutosh

athavanraja
Active Contributor
0 Kudos

You said that you wanted to show a different page inside the tray based on user action. right?

if yes

your tray body should have an iframe and the name of the iframe should be passed in the target attribute of the window.open method.

This will open the new page within the tray body.

If my answer is still not clear, kindly let us know.

Regards

Raja

thomasalexander_ritter
Active Contributor
0 Kudos

Hi,

I am not sure if I understand your question. Do you really want no page reload? Or do you mean that you want a menu on the left side and on the right side the new pages should be displayed? I guess that your motivation behind all this is that you want to create the menu only once?

bye

Thomas

Former Member
0 Kudos

yes Thomas, you are right. I want my menu should be loaded once rather than eachtime I click on the treenode. I thing iFrame solution from Raja might be the solution because in html this kind of situation is handled using Frame. I will try this and post the result on this topic after some time.

I thaught it may be possible to use tray id or something like that to directly update tray without using iFrame.

regards

Ashutosh

Former Member
0 Kudos

Thanks for the response.

I solved it using html's Frame tag

I have passed the frame id to the 'target' tag of treenode. now whenever I click on the tree node the resulting page opens on that perticlar frame.

Thanks

Ashutosh

Answers (0)