Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 59759 invoked from network); 15 Jan 2010 00:15:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Jan 2010 00:15:48 -0000 Received: (qmail 32667 invoked by uid 500); 15 Jan 2010 00:15:48 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 32599 invoked by uid 500); 15 Jan 2010 00:15:48 -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 32591 invoked by uid 99); 15 Jan 2010 00:15:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jan 2010 00:15:47 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [148.87.113.123] (HELO rcsinet11.oracle.com) (148.87.113.123) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jan 2010 00:15:37 +0000 Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet11.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o0F0FFIq026595 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 15 Jan 2010 00:15:16 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o0F0FDfJ020006 for ; Fri, 15 Jan 2010 00:15:14 GMT Received: from abhmt006.oracle.com by acsmt353.oracle.com with ESMTP id 1335002051263514411; Thu, 14 Jan 2010 16:13:31 -0800 Received: from [130.35.103.98] (/130.35.103.98) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 14 Jan 2010 16:13:31 -0800 Message-ID: <4B4FB32B.1020901@oracle.com> Date: Thu, 14 Jan 2010 16:13:31 -0800 From: Blake Sullivan User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: MyFaces Development Subject: Re: [jira] Created: (TRINIDAD-1687) add a Skin api that will clear the skin file(s) and reload at runtime References: <122979515.250541263514134573.JavaMail.jira@brutus.apache.org> In-Reply-To: <122979515.250541263514134573.JavaMail.jira@brutus.apache.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: acsmt357.oracle.com [141.146.40.157] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090208.4B4FB392.011E:SCFMA4539814,ss=1,fgs=0 X-Virus-Checked: Checked by ClamAV on apache.org looks good. -- Blake Sullivan Jeanne Waldman (JIRA) said the following On 1/14/2010 4:08 PM PT: > add a Skin api that will clear the skin file(s) and reload at runtime > --------------------------------------------------------------------- > > Key: TRINIDAD-1687 > URL: https://issues.apache.org/jira/browse/TRINIDAD-1687 > Project: MyFaces Trinidad > Issue Type: New Feature > Components: Skinning > Reporter: Jeanne Waldman > Assignee: Jeanne Waldman > > > We've had several requests where someone wants to reload the skin on demand but without needing the web.xml's CHECK_FILE_MODIFICATION flag on. On instance is the design time team who wants to muck with skins and reload them on demand. > > The proposed public API is on the Skin object. It is: > /** > * Check to see if this Skin has been marked dirty. > * The only way to mark a Skin dirty is to call setDirty(true). > * @return true if the Skin is marked dirty. > */ > abstract public boolean isDirty(); > > /** > * Sets the dirty flag of the Skin. Use this if you want to regenerate the skin. > * During rendering, if isDirty is true, > * the skin's css file will be reprocessed regardless of whether the css file has been modified > * or if the CHECK_FILE_MODIFICATION flag was set. > * The Skinning Framework calls setDirty(false) after the skin has been reprocessed. > */ > abstract public void setDirty(boolean dirty); > > A patch will be available soon. > > > >