struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Reumann" <ric...@gmail.com>
Subject Re: pop up using <html:link>
Date Fri, 16 Jun 2006 17:11:45 GMT
I'm sure it can be done with html:link, but I haven't used in a while.
I'd just use JSTL...

//below assumes your /readLogEntry is defined in an ActionMapping with .do ?

<c:url var="url" value="/readLogEntry.do"/>
<a href="javascript:popUpWindow('${url}',
'${tmpStr}',100,100,100,100)">Detail</a>


On 6/16/06, Kavita Mehta <kavita.mehta@hsc.com> wrote:
> Hi,
> I need to open a pop up using <html:link> ..The code I am using is
>
> <%  String tempStr = "javascript:popUpWindow('/readLogEntry','" + tmpStr
> + "',100,100,100,100)"; %>
>    <html:link  onclick= "<%=tempStr%>"
> action="/LogFileSelectPage">Detail</html:link>
>
> where tmpstr is a variable containing a String . My problem is that i
> dont want any action on the parent page but if i remove the action tag
> from <html:link>, this stops working .
> Any help would be appreciated.
>
> Thanks,
> Kavita
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
Rick

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


Mime
View raw message