wood burning stoves 2.0*
The moose likes JSP and the fly likes referring function in parent jsp from the included jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "referring function in parent jsp from the included jsp" Watch "referring function in parent jsp from the included jsp" New topic
Author

referring function in parent jsp from the included jsp

santhosh varghese
Greenhorn

Joined: Dec 08, 2003
Posts: 2
i am using an IFRAME inside a jsp file..
and i'm using layers also in this page....so the iframe is shown through the layer,,,,how can we bring the iframe under the layer???
i tried including the jsp file using include directive and then i can't refer the javascript function in the main jsp file from the included jsp file..
the application is a compose page as in rediff...and the included jsp is addressbook...the layer i have specified is a onscreen active keyboard layout....
can any on ehelp me...in setting the zindex high that iframe come under layer...
or can i hide the iframe when the layer is called....
how it can be done??
Nagaseshagiri poola
Greenhorn

Joined: Oct 18, 2003
Posts: 25
hi
for calling the javascript methods in other frame this is helpful.
window.frames['displayFrame'].document.writeln();
and also you can make the layer invisible layername.setvisible = false;
i tried to see the rediff but there is some problem. may be i'll reply again when i go through the rediff mail.
have a nice time
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60810
    
  65

Whether you include the JSP or not is moot. All that matters is what is sent to the client browser as part of the response. Performing a View Source will show you how the page is composed.
In any case, this is a client-side issue so I'm moving it off to the HTML/Javascript forum.
bear
[ December 08, 2003: Message edited by: Bear Bibeault ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: referring function in parent jsp from the included jsp
 
Similar Threads
PDF display in Struts 1.1 + IFrame
referring function in parent jsp from the included jsp
File Upload Issues
Frames loading twice on refresh
javascript and iFrame