hi

use <t:graphicImage value="image.gif" border="0"/>

On 4/20/06, Michael Baranov <[EMAIL PROTECTED]> wrote:
>  Hello!
>  I have a little  trouble with this sort of code:
>  ...
>  <h:commandLink id="myid" action="#{bean.action}">
>     <h:graphicImage value="image.gif"/>
>  </h:commandLink>
>  ...
>
>  It produces:
>  <a href="#" onClick="lots_of_JS"><img src="expanded.gif"></a>
>
>  The problem is with href="#" attribute, which makes the browser create a
> border around the image. The colored border respects all the link's (a)
> related CSS styles.
>  But I don't want it! Is there a way to tell the renderer(s) not to set the
> href property? Or any workaround?
>
>  Thanks!
>  Michael.
>


--
Matthias Wessendorf
Aechterhoek 18
48282 Emsdetten
http://jroller.com/page/mwessendorf
mwessendorf-at-gmail-dot-com

Reply via email to