Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 16250 invoked from network); 12 Sep 2007 20:43:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Sep 2007 20:43:04 -0000 Received: (qmail 81509 invoked by uid 500); 12 Sep 2007 20:42:56 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 81468 invoked by uid 500); 12 Sep 2007 20:42:56 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 81457 invoked by uid 99); 12 Sep 2007 20:42:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Sep 2007 13:42:56 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of andrew.rw.robinson@gmail.com designates 64.233.166.182 as permitted sender) Received: from [64.233.166.182] (HELO py-out-1112.google.com) (64.233.166.182) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Sep 2007 20:42:54 +0000 Received: by py-out-1112.google.com with SMTP id u77so696338pyb for ; Wed, 12 Sep 2007 13:42:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=wfdYw/HNEgExke5m7EnoE9GqBecv8a7vEJ32dcWkGfI=; b=TTCXMCkABJZ6Vjn4zhbFlUsN2H2SvOelggTn2TKddos2mfEmrBLxDlRn8vSVsFq5xWwuMCf4rbCKiadCzeG2yX9nRPLBb6wy32qD2cbk/mrePv6s489JEMsL3mjaBz1N6KPQDZk4yh3rLXG9L7Mfv8kg33SuBgR0NwmmGeelEhI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IZxBYnrEpR4ROfh1M8I+7OdNsvIT15rvreWNlSsdwK6Y31l/QZnQOWwFFe3kDOmLIjsvC4zxr9qK3isTuTV3j2XsKJS3223uhAKrZiLE34yIQz9mzo+QOVUYZnE+3bn8sMqWdbhUYQS93X9JctmjeJfJHm/5xGAFXIB3VlavFUo= Received: by 10.35.51.19 with SMTP id d19mr9205169pyk.1189629753033; Wed, 12 Sep 2007 13:42:33 -0700 (PDT) Received: by 10.35.52.13 with HTTP; Wed, 12 Sep 2007 13:42:32 -0700 (PDT) Message-ID: Date: Wed, 12 Sep 2007 14:42:32 -0600 From: "Andrew Robinson" To: "MyFaces Development" Subject: Re: [TRINIDAD] StatusIndicator improvement In-Reply-To: <254acf980709121209t13235f0ct66a89ad001fc9140@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <254acf980709121209t13235f0ct66a89ad001fc9140@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org +1 great idea I would also like to suggest javascript support as well: This would probably be a simple hook around: TrPage.getInstance().getRequestQueue().addStateChangeListener(func); But it would be easier to have it on the component. On 9/12/07, Simon Lessard wrote: > Hi all, > > I would like to add two facets to statusIndicator: "busy" and "ready", each > with an attached styleClass placed on a child span element. I think it would > make the component much more customizable as it would allow something like: > > > > > > > > and in the skin: > > af|statusIndicator::busy > { > border-color: black; > border-style: outset; > border-width: 2px; > display: block; > margin: auto; > position: absolute; > top: 45%; > text-align: center; > vertical-align: middle; > } > > af|statusIndicator::ready > { > } > > The icon would still be supported and placed in the parent span, at the same > place than now. The generated markup would thus look like: > > > > > > ("ready" facet content) > > > > > > ("busy" facet content) > > > > > > Anyone's ok with that or has a better idea? > > ~ Simon >