[jboss-user] [JBoss Portal] - Using images in URLs

chris@phoros do-not-reply at jboss.com
Mon Sep 18 14:48:36 EDT 2006


HI,

I am attempting to use an image within a URL in Portal 2.4.

When I use the following code the link disappears:

<a href='<portlet:actionURL><portlet:param name="perform" value="backToSelectDB"/></portlet:actionURL>'>
  | <img src='<%= renderRequest.getContextPath() %>/images/edit-undo.png' HEIGHT="22" WIDTH="22" BORDER="0" ALT="Back to database select" TITLE="Back to database select"/>
  | </a>

No link shows on screen.

If I use the same anchor code, but remove the image tag and use text, the link is shown:
<a href='<portlet:actionURL><portlet:param name="perform" value="backToSelectDB"/></portlet:actionURL>'>
  | back to select db
  | </a>

Is there any way to use an image within a URL?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972398#3972398

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972398



More information about the jboss-user mailing list