struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ritesh Singhal" <ritesh_sing...@infosys.com>
Subject RE: Passing parameter in a pop up window
Date Thu, 30 Jan 2003 05:05:11 GMT
Sounds OK .. But I am determining the parameter value from a java bean.
What shall I give to do that??

Regards
Ritesh

-----Original Message-----
From: Ashish Kulkarni [mailto:kulkarni_ash1312@yahoo.com] 
Sent: Thursday, January 30, 2003 10:25 AM
To: Struts Users Mailing List
Subject: RE: Passing parameter in a pop up window


HI,
u can put 'AgreementList.do?id=abc' to send param
also if u dont want this page to be refreshed..
instead of onclick put the javascript on href
like

href="javascript:MM_openBrWindow('AgreementList.do','popup','scrollbars=
yes,widt
 h=1000,height=500,left=10,top=100')" 
hope this helps
Ashish
--- Ritesh Singhal <ritesh_singhal@infosys.com> wrote:
> Its good that it could be done. But how?? 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) {
> //v2.0
>   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.
> 
> Regards
> Ritesh
> 
> -----Original Message-----
> From: Puneet Agarwal
> [mailto:puneettech@rediffmail.com]
> Sent: Wednesday, January 29, 2003 8:34 PM
> To: Struts Users Mailing List
> Subject: Re: Passing parameter in a pop up window
> 
> 
> Yes you can send it using html:link query string.
> 
> Regards
> Puneet
> ----- Original Message -----
> From: "Ritesh Singhal" <ritesh_singhal@infosys.com>
> To: "Struts Users Mailing List"
> <struts-user@jakarta.apache.org>
> Sent: Wednesday, January 29, 2003 2:09 PM
> Subject: Passing parameter in a pop up window
> 
> 
> Hi All,
> 
> I have a requirement of passing a parameter in a
> popup window. I have
> link on some jsp page, on clicking of that link it
> should open a new
> window. Now in this window I want pass a parameter
> also as part of query
> string. I don't think you can do it using html:link.
> Please help me if
> anyone of you know the solution.
> 
> Regards
> Ritesh
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> struts-user-help@jakarta.apache.org
> 
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> struts-user-help@jakarta.apache.org
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> struts-user-help@jakarta.apache.org
> 


=====
A$HI$H

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message