struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Johnson <chach...@gmail.com>
Subject Opening a Form in a New Window - Help!
Date Thu, 19 May 2005 21:00:07 GMT
Hi there
 I'm trying to open up a new window from my struts application which will 
contain "help" information. The link opening the window looks like this so 
far
 
<html:link action="help.do <http://help.do>" target="_help">Help</html:link>
What I'd like to do is specify the following options

window.height=400;
window.width=300;
window.status=yes;
window.toolbar=no;
window.menubar=no;
window.location=no;
 which I'd normally do using a javascript method... like this:

<script>
function openHelpWindow(){
var helpWindow = window.open("","_help",
"height=300,width=450,status=yes,toolbar=no,menubar=no,location=no");
return helpWindow;
}
</script>
 Does anyone know how I might specify these options when opening up a new 
window, then submitting a struts form to said window?

-- 
-Dave
ChaChaNY@Gmail.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message