You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ol...@axa-alert.com on 2001/02/16 17:18:26 UTC
A-Tag
Hi,
following does not concern to STRUTS but maybe somebody has an idea ?
Using the following statement doesn't work
<a href="javascript:window.open('<%= response.encodeURL("candiHilfe.jsp")
%>','CANDI++HILFE','toolbar=no,location=no,scrollbars=no,resizable=no,width=
600,height=500');">
because my JSPEngine makes the following with it:
<a
href="javascript:window.open('candiHilfe.jsp','CANDI++HILFE','toolbar=no,loc
ation=no,scrollbars=no,resizable=no,width=600,height=500');?GXHC_gx_session_
id_=GXLiteSessionID--9055638075797760312">
and subsequently I get a scripting error.
Thanks Oliver
Re: A-Tag
Posted by Craig Tataryn <Cr...@msdw.com>.
Try using 's instead of "'s in the href attribute like so
<a href='javascript:window.open("<%= response.encodeURL("candiHilfe.jsp")
%>","CANDI++HILFE","toolbar=no,location=no,scrollbars=no,resizable=no,width=
600,height=500");'>
See if that fixes it.
Craig T.
Oliver.Lauer@axa-alert.com wrote:
> Hi,
>
> following does not concern to STRUTS but maybe somebody has an idea ?
>
> Using the following statement doesn't work
>
> <a href="javascript:window.open('<%= response.encodeURL("candiHilfe.jsp")
> %>','CANDI++HILFE','toolbar=no,location=no,scrollbars=no,resizable=no,width=
> 600,height=500');">
>
> because my JSPEngine makes the following with it:
>
> <a
> href="javascript:window.open('candiHilfe.jsp','CANDI++HILFE','toolbar=no,loc
> ation=no,scrollbars=no,resizable=no,width=600,height=500');?GXHC_gx_session_
> id_=GXLiteSessionID--9055638075797760312">
>
> and subsequently I get a scripting error.
>
> Thanks Oliver
>
>
--
I've been trying to change the world for years, but they just won't give me the
source code....