From adffaces-user-return-1457-apmail-incubator-adffaces-user-archive=incubator.apache.org@incubator.apache.org Sun Nov 26 23:25:09 2006 Return-Path: Delivered-To: apmail-incubator-adffaces-user-archive@locus.apache.org Received: (qmail 8348 invoked from network); 26 Nov 2006 23:25:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Nov 2006 23:25:07 -0000 Received: (qmail 79722 invoked by uid 500); 26 Nov 2006 23:25:17 -0000 Delivered-To: apmail-incubator-adffaces-user-archive@incubator.apache.org Received: (qmail 79505 invoked by uid 500); 26 Nov 2006 23:25:15 -0000 Mailing-List: contact adffaces-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: adffaces-user@incubator.apache.org Delivered-To: mailing list adffaces-user@incubator.apache.org Received: (qmail 79496 invoked by uid 99); 26 Nov 2006 23:25:15 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Nov 2006 15:25:15 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of awiner@gmail.com designates 66.249.92.170 as permitted sender) Received: from [66.249.92.170] (HELO ug-out-1314.google.com) (66.249.92.170) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Nov 2006 15:25:03 -0800 Received: by ug-out-1314.google.com with SMTP id y2so1213897uge for ; Sun, 26 Nov 2006 15:24:42 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=DM1JkdBwNcoiXCzIBO1ijjEn/kJ8NEoTtdhyIlzuXtVRx7ibCAJvDka6v4oKmjBQG/1m3SM8Dd/3qVbGZxrEjkvXAqe5EMR9DVNYefKiDKRbzK4PhA+YaBY6lw55xNEEHskoXqse8dA581fDHuFf93B+WiPN3LQ4GWQTTkOBTOo= Received: by 10.67.91.6 with SMTP id t6mr11315327ugl.1164583481817; Sun, 26 Nov 2006 15:24:41 -0800 (PST) Received: by 10.67.102.2 with HTTP; Sun, 26 Nov 2006 15:24:41 -0800 (PST) Message-ID: <6dac79b90611261524g5aab6675qb8d91e4f800c1696@mail.gmail.com> Date: Sun, 26 Nov 2006 20:24:41 -0300 From: "Adam Winer" To: adffaces-user@incubator.apache.org Subject: Re: Customizing the asterisk on required fields In-Reply-To: <820E9D2DE5261D45B6D5E9BFF0984C66BFD9FC@qxvcexch01.ad.quovadx.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_13978_7876728.1164583481752" References: <820E9D2DE5261D45B6D5E9BFF0984C66BFD9FC@qxvcexch01.ad.quovadx.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_13978_7876728.1164583481752 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline One thing you definitely want to do is stop using panelGrid. You want panelFormLayout and our built-in "label" support on all our input components: That will put the asterisk exactly where you want it. -- Adam On 11/21/06, Daniel Hannum wrote: > > Hi, sorry if this has been asked before. I didn't see a good search > feature for the archives. > > > > I need to customize the appearance of the asterisks on required fields. > I think it's great that it puts the asterisks there for you, but it > still isn't right. Currently, I'm using a panelGrid (2 columns). > > > > outputLabel inputText > > outputLabel inputText > > outputLabel inputText > > > > Problem is that the asterisks on required fields go before the > inputText, so they don't align right anymore. Another option is to not > use panelGrid and just use one big component for both (the label > attribute), but then the fields don't line up right vertically. > > > > What I want is to make the asterisk appear at the end of the inputText > or on the label or anywhere other than where it is now. > > > > Also the asterisk is black, and I want it to be red. > > > > Are these things customizable in styles somewhere? > > > > Thanks. > > > > Dan > > > ------=_Part_13978_7876728.1164583481752--