Ritesh, 

I struggled with getting this to work for a while and just went ahead and
wrote my own custom taglib.  It works a lot better than using the available
tags.  Besides, you can customize your popup window a lot better if you
wrote your own taglib.

-----Original Message-----
From: Ritesh Singhal [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 10:03 AM
To: Struts Users Mailing List
Subject: Passing parameter in a pop up window


I want to have a link like this:

 <html:link href="" paramId="id" paramName="customerDetails"
paramProperty="customerId"
onClick="MM_openBrWindow('AgreementList.do','popup','scrollbars=yes,widt
h=1000,height=500,left=10,top=100')"> </html:link>
 
Where my javascript function is:

function MM_openBrWindow(theURL,winName,features) {
        window.open(theURL,winName,features);
}
 
Now the problem is how should I pass the parameter "id" in the popup
window. Also on clicking on the link, parent window should not get
refreshed. Please help me if you know the solution.
 
Regards
Ritesh

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to