Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 4215 invoked from network); 6 Dec 2007 18:37:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Dec 2007 18:37:10 -0000 Received: (qmail 88434 invoked by uid 500); 6 Dec 2007 18:36:57 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 88403 invoked by uid 500); 6 Dec 2007 18:36:57 -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 88392 invoked by uid 99); 6 Dec 2007 18:36:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Dec 2007 10:36:57 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Dec 2007 18:36:42 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 90CC671424A for ; Thu, 6 Dec 2007 10:36:45 -0800 (PST) Message-ID: <3460045.1196966205588.JavaMail.jira@brutus> Date: Thu, 6 Dec 2007 10:36:45 -0800 (PST) From: "Jeanne Waldman (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Created: (TRINIDAD-853) skin-sharing not working after deployment unless accessed as servlet first MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org skin-sharing not working after deployment unless accessed as servlet first -------------------------------------------------------------------------- Key: TRINIDAD-853 URL: https://issues.apache.org/jira/browse/TRINIDAD-853 Project: MyFaces Trinidad Issue Type: Bug Affects Versions: 1.0.4-core Reporter: Jeanne Waldman Assignee: Jeanne Waldman To reproduce, make sure the /adf/styles directory does not already exist in the target directory. Delete it if it does. Set output-mode to portlet in trinidad-config.xml In CoreRenderingContext code set the requested skin id and the requested skin stylesheet id to something to get this code path to run. (or you can actually run this as a portlet) Run a demo. You will get this error: WARNING: Could not locate the Trinidad styles directory.Please be sure that the Trinidad installable resources are installed. I've already looked into this and it is because the /adf/styles directory does not exist yet when this code path is run. It gets created in mkdirs in FileSystemStyleCache's constructor which gets called from SkinStyleProvider. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.