Not sure, but maybe this:
<bean:define id="popUpURL"><html:rewrite 
   page="AgreementList.do"
   paramName="customerDetails"
   paramProperty="customerId"/></bean:define>

<a href=""
   onClick="MM_openBrWindow('<%= popUpURL %>','popup','scrollbars=yes,widt
   h=1000,height=500,left=10,top=100')">Click Me</a>


> -----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