You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Susheel Choudhari <sc...@serenecorp.com> on 2006/07/05 19:25:14 UTC

RE: --> issues

Try

<html:link page="RAPSearchDelete.do?id=<%=idvalue%>&check=<%=count%>">
delete   </html:link>

replace 

by


-----Original Message-----
From: Akshay Ahooja [mailto:akshayahooja@gmail.com] 
Sent: Friday, June 30, 2006 11:09 AM
To: Jetspeed Users List
Subject: <a href> --> <html:link href> issues

Hi,

I am using the struts bridge for J2.

I am calling an action by contructing a URL.

As a web app I would call it as so:

<a href="RAPSearchDelete.do?id=<%=idvalue%>&check=<%=count%>">    delete
</a>


However in order for it to work inside J2 I need to replace <a with
<html:link :

<html:link href="RAPSearchDelete.do?id=<%=idvalue%>&check=<%=count%>">
delete   </html:link>


When I use this - the <%=idvalue%> and <%=count%> are not used but
rather
treated as strings. This does not happen in the <a case but only in the
<html:link case.

I tried to seperate it out into java print statements:

                                            <%

                                             String link = " <html:link
href=\"RAPSearchDelete.do?id=" +idvalue+ "&check=" +count+ "\"> ";
                                             String endlink =    "
</html:link>  ";

                                            %>

                                              <%=link%> del <%=endlink%>

The source produced by this comes out correct - but "del" does not
appear as
a link.

How do I get around this?

Any help would be great.

Thanks!

Akshay

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