Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 92463 invoked from network); 20 Apr 2006 13:29:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Apr 2006 13:29:35 -0000 Received: (qmail 98050 invoked by uid 500); 20 Apr 2006 13:29:29 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 97878 invoked by uid 500); 20 Apr 2006 13:29:28 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 97867 invoked by uid 99); 20 Apr 2006 13:29:28 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Apr 2006 06:29:28 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of michael.baranov@gmail.com designates 64.233.182.189 as permitted sender) Received: from [64.233.182.189] (HELO nproxy.gmail.com) (64.233.182.189) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Apr 2006 06:29:27 -0700 Received: by nproxy.gmail.com with SMTP id l24so113671nfc for ; Thu, 20 Apr 2006 06:29:05 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:content-type; b=tQHNq/jeIekw+lYHbc2JWR9ds3GZ1ETqyTv7Fhaem/wDooaJADIgKcdbPk73GHwfthUNHeAS+KT5Ii/5Zet2GcKmYacVor9ErTRd0dGEOSpQXueZTOf60qEdIfCI8IUujdWKcIiJ8qMcpZvijnp1I28mEUVBI8xKEO2sHRQ6eGg= Received: by 10.49.94.18 with SMTP id w18mr278740nfl; Thu, 20 Apr 2006 06:29:05 -0700 (PDT) Received: from ?82.209.229.139? ( [82.209.229.139]) by mx.gmail.com with ESMTP id n23sm832963nfc.2006.04.20.06.29.03; Thu, 20 Apr 2006 06:29:04 -0700 (PDT) Message-ID: <44478C9C.3040105@gmail.com> Date: Thu, 20 Apr 2006 16:29:00 +0300 From: Michael Baranov User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: MyFaces Discussion Subject: -> href="#" -> border around images Content-Type: multipart/alternative; boundary="------------000700060407070000060100" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. --------------000700060407070000060100 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Hello! I have a little trouble with this sort of code: ... ... It produces: 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. --------------000700060407070000060100 Content-Type: text/html; charset=KOI8-R Content-Transfer-Encoding: 8bit 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.
--------------000700060407070000060100--