You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Carl-Jakob Rundberg <ca...@hotmail.com> on 2003/02/19 12:47:08 UTC
Using javascript with
Hi
I want to generate a popupwindow when a user clicks on a <html:link> I tried
the onclick property. The problem is to get mapping to the action in the
javascript or the other way around
Link
<html:link page="/setReceiverAction.do" onclick=" paramName="adds"
paramId="id" paramProperty="accountpartnerid" > >> </html:link>
Script
winpops=window.open(url,"","width=300,height=200,")
Anyone got any tips..
Regards
_________________________________________________________________
Skaffa fler messengerkontakter - Vinn 10.000 i resecheckar!
http://messenger.msn.se/promo
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: Using javascript with
Posted by Gemes Tibor <ti...@i-trade.hu>.
2003. február 19. 12:47 dátummal Carl-Jakob Rundberg ezt írtad:
> Hi
> I want to generate a popupwindow when a user clicks on a <html:link> I
> tried the onclick property. The problem is to get mapping to the action in
> the javascript or the other way around
If you just want to open a new window, try the target attribute.
Or if you want to call a jsp function, you don't have to use the
<html:link> tag. Just write a normal html anchor.
Hth,
Tib
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org