From adffaces-user-return-1463-apmail-incubator-adffaces-user-archive=incubator.apache.org@incubator.apache.org Wed Nov 29 21:02:25 2006 Return-Path: Delivered-To: apmail-incubator-adffaces-user-archive@locus.apache.org Received: (qmail 29150 invoked from network); 29 Nov 2006 21:02:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Nov 2006 21:02:25 -0000 Received: (qmail 96404 invoked by uid 500); 29 Nov 2006 21:02:34 -0000 Delivered-To: apmail-incubator-adffaces-user-archive@incubator.apache.org Received: (qmail 96150 invoked by uid 500); 29 Nov 2006 21:02:33 -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 96124 invoked by uid 99); 29 Nov 2006 21:02:32 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Nov 2006 13:02:32 -0800 X-ASF-Spam-Status: No, hits=2.3 required=10.0 tests=HTML_FONT_BIG,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of dannyjrobinson@gmail.com designates 64.233.182.188 as permitted sender) Received: from [64.233.182.188] (HELO nf-out-0910.google.com) (64.233.182.188) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Nov 2006 13:02:21 -0800 Received: by nf-out-0910.google.com with SMTP id a4so3099921nfc for ; Wed, 29 Nov 2006 13:01:59 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=fRLKgPTuPnSkwQuOctbOOYjz340dHuG3d46JVtHDE4j5TONIrpw0CYiuA/Rl2ysYNU9+bKKKR5jt7kOb1AiQ/ku2VbL29mrfbD+iKe++M2rGDiPIDhQ3tVD7MqgQd/Xtbk8IOFKWdmndrVfIhAhvus0F7n2HqpMnqCn5JoaAhMY= Received: by 10.49.42.5 with SMTP id u5mr14696643nfj.1164834119499; Wed, 29 Nov 2006 13:01:59 -0800 (PST) Received: by 10.48.217.6 with HTTP; Wed, 29 Nov 2006 13:01:59 -0800 (PST) Message-ID: <5bbf92e70611291301t4d19b29etd5c8bf91fb0e783a@mail.gmail.com> Date: Wed, 29 Nov 2006 16:01:59 -0500 From: "Danny Robinson" To: adffaces-dev@incubator.apache.org, adffaces-user@incubator.apache.org Subject: Popup Component for Contribution MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_35645_10221158.1164834119465" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_35645_10221158.1164834119465 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Guys, As a learning exercise on how Trinidad components are built, I've pulled together a popup component and implemented it as a 'panelPopup' in Trinidad. If there's interest, then I'd be happy to contribute this to Trinidad. In posts over the last few months there was support (Simon, Adam, etc.) for a popup component in Trinidad to perform functions such as a lightweight date picker. With guidance from Matthias , I've posted code and demo below, and created an enhancement request for a popup component here : http://issues.apache.org/jira/browse/ADFFACES-307 While it's not totally finished (IE & firefox tested only), it does have provide some useful functionality for simple popups. It is similar in functionality to the other panels, in that you can include any child components and provides a number of skinning selectors (see below) for you to customize. It also optionally allows you to specify a title and close facets. Long term I want to add iframe/dialog functionality. Screenshot (with embedded tr:chooseDate) : http://thefoxberry.com/trinidad/datePopup.GIF Demo WAR: http://thefoxberry.com/trinidad/TrinidadPopupSandbox.zip Download the code : http://thefoxberry.com/trinidad/chrd-trinidad-contrib.jar Thanks, Danny Example xmlns:trc="http://myfaces.apache.org/trinidad/contrib" panelPopup Skin Selectors af|panelPopup::container { border: 1px solid #0c479d; background-color: #FFFFFF; } af|panelPopup::titlebar { background-color: #0c479d; color: #FFFFFF; padding: 2px 2px 2px 2px; } af|panelPopup::title-text { text-align: left; } af|panelPopup::close-icon { text-align: right; } af|panelPopup::content { padding: 2px 2px 2px 2px; } Outstanding Items Currently have to add the following to -- Chordiant Software Inc. www.chordiant.com ------=_Part_35645_10221158.1164834119465--