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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Rick

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to