From george45@example.org Mon Jan 05 16:39:02 2009 Return-Path: <george45@example.org> Delivered-To: george45@example.org Received: (qmail 78281 invoked from network); 5 Jan 2009 16:39:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Jan 2009 16:39:01 -0000 Received: (qmail 21528 invoked by uid 500); 5 Jan 2009 16:39:01 -0000 Delivered-To: george45@example.org Received: (qmail 21508 invoked by uid 500); 5 Jan 2009 16:39:01 -0000 Mailing-List: contact george45@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:george45@example.org> List-Unsubscribe: <mailto:george45@example.org> List-Post: <mailto:george45@example.org> List-Id: <user.turbine.apache.org> Reply-To: "Turbine Users List" <george45@example.org> Delivered-To: mailing list george45@example.org Received: (qmail 21485 invoked by uid 99); 5 Jan 2009 16:39:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jan 2009 08:39:00 -0800 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: local policy) Received: from [83.161.120.155] (HELO ABmail.activx.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jan 2009 16:38:54 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Can I create a RunData object that works in my test cases? Date: Mon, 5 Jan 2009 08:39:57 -0800 Message-ID: <george45@example.org> In-Reply-To: <000601c9668e$8972ef90$9c58ceb0$@se> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Can I create a RunData object that works in my test cases? Thread-Index: AcllVUfrK8aX6YFIQ7y1EJNTsqjRbwBOE8ywAjEp+4A= From: "Manaster, Carl" <george45@example.org> To: "Turbine Users List" <george45@example.org> X-Virus-Checked: Checked by ClamAV on apache.org Hi, Ludwig, > Is there any way to go around this error (and perhaps some=20 > similar errors I haven't come across yes) and create some=20 > kind of RunData object that would work in my test cases? For testing, I've written three very simple classes that implement RunData, ParameterParser, and Context, with empty bodies for most of the methods, implementing only the bits my tests need with simple HashMaps. I've found it makes many tests much easier. In your example, since my RunData's implementation has just an empty body for removeUserFromSession(), no exception would be thrown. If you needed to test user removal, of course, you would have to add behavior for that (and presumably for adding the user), but since (generally) we're testing the behavior of the systems we build, and not of the supplied components, a trivial implementation usually serves. If I had a lot of such testing to do, I might create completely empty implementations of the three interfaces, then subclass and implement the specific bits needed by a given test or test suite. Peace, --Carl --------------------------------------------------------------------- To unsubscribe, e-mail: george45@example.org For additional commands, e-mail: george45@example.org From george45@example.org Mon Jan 05 20:47:17 2009 Return-Path: <george45@example.org> Delivered-To: george45@example.org Received: (qmail 875 invoked from network); 5 Jan 2009 20:47:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Jan 2009 20:47:17 -0000 Received: (qmail 43454 invoked by uid 500); 5 Jan 2009 20:47:16 -0000 Delivered-To: george45@example.org Received: (qmail 43438 invoked by uid 500); 5 Jan 2009 20:47:16 -0000 Mailing-List: contact george45@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:george45@example.org> List-Unsubscribe: <mailto:george45@example.org> List-Post: <mailto:george45@example.org> List-Id: <user.turbine.apache.org> Reply-To: "Turbine Users List" <george45@example.org> Delivered-To: mailing list george45@example.org Received: (qmail 43427 invoked by uid 99); 5 Jan 2009 20:47:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jan 2009 12:47:16 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO blr02.bynum.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jan 2009 20:47:08 +0000 Content-class: urn:content-classes:message Subject: RE: project.xml MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 5 Jan 2009 14:44:28 -0600 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <george45@example.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: project.xml Thread-Index: AclqhQUeERQfFN2sTAeZr1LJT9sbBAABl+DAAAoIy4ABMLGkQA== From: "jill han" <george45@example.org> To: "Turbine Users List" <george45@example.org>, <george45@example.org> X-Virus-Checked: Checked by ClamAV on apache.org Thanks you all for the helps. Jill -----Original Message----- From: Rogelio Robles [mailto:george45@example.org]=20 Sent: Tuesday, December 30, 2008 1:49 PM To: 'Turbine Users List' Subject: RE: project.xml IMO, project.xml at this location is meant to be consumed only by the META plugin, that's why you see the tags: @TURBINE_APP_NAME@, etc. The META plugin filters this file and replaces the macros or place-holders with the values taken from your properties files, generating the project structure and a personalized project.xml for you.=20 This all that you need to do: maven turbine:setup -Dturbine.app.name=3Dnewapp -----Original Message----- From: jill han [mailto:george45@example.org]=20 Sent: Tuesday, December 30, 2008 7:02 AM To: Turbine Users List Subject: project.xml In the project.xml, http://svn.apache.org/viewvc/turbine/core/trunk/extensions/maven-plugin/ src/plugin-resources/flavor/turbine-2.3.3/maven/project.xml there are several things I want to make sure: 1) <name>@TURBINE_APP_NAME@</name>, should be replaced by the project name, for example, <name>TURBINE_TEST_APP</name>, right?=20 2) <sourceDirectory>@TURBINE_PLUGIN_SRC_COMPILE@</sourceDirectory> should be written, such as <sourceDirectory>turbineApp</sourceDirectory>, right? 3) <directory>${basedir}/conf</directory>, will be like, <directory>turbineApp/conf</directory>, right? Thanks, Jill =20 --------------------------------------------------------------------- To unsubscribe, e-mail: george45@example.org For additional commands, e-mail: george45@example.org --------------------------------------------------------------------- To unsubscribe, e-mail: george45@example.org For additional commands, e-mail: george45@example.org --------------------------------------------------------------------- To unsubscribe, e-mail: george45@example.org For additional commands, e-mail: george45@example.org From george45@example.org Mon Jan 05 21:40:50 2009 Return-Path: <george45@example.org> Delivered-To: george45@example.org Received: (qmail 28105 invoked from network); 5 Jan 2009 21:40:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Jan 2009 21:40:50 -0000 Received: (qmail 4322 invoked by uid 500); 5 Jan 2009 21:40:49 -0000 Delivered-To: george45@example.org Received: (qmail 4297 invoked by uid 500); 5 Jan 2009 21:40:49 -0000 Mailing-List: contact george45@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:george45@example.org> List-Unsubscribe: <mailto:george45@example.org> List-Post: <mailto:george45@example.org> List-Id: <user.turbine.apache.org> Reply-To: "Turbine Users List" <george45@example.org> Delivered-To: mailing list george45@example.org Received: (qmail 4286 invoked by uid 99); 5 Jan 2009 21:40:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jan 2009 13:40:49 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO blr02.bynum.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jan 2009 21:40:39 +0000 Content-class: urn:content-classes:message Subject: how to reference a file in javascript MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 5 Jan 2009 15:38:02 -0600 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <george45@example.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: how to reference a file in javascript Thread-Index: AclqhJWfOoj20tM1R2CeCVomtHxUiwE8/eIw From: "jill han" <george45@example.org> To: "Turbine Users List" <george45@example.org> X-Virus-Checked: Checked by ClamAV on apache.org We have turbine/torque/velocity app. I submitted the question to velocity user forum and was told I may get help here . I tried to embed AnyChart to the velocity template. Here is the snippet of .vm code: <script type=3D"text/javascript" language=3D"javascript"> //<![CDATA[ var chart1 =3D new AnyChart("$content.getURI("swf/AnyChart.swf")"); chart1.width=3D"550px"; chart1.height=3D"400px"; =09 chart1.setXMLFile("$content.getURI('servlet/nequals1/template/portal,dat a,data.xml')"); // or chart1.setXMLFile("./data.xml"); not working either chart1.write(); //]]> </script> However, somehow, the data.xml can't be processed properly and resulted in IO error. But, in the following simple anychart.jsp, the javascript has no problem processing data.xml. =20 http://prod.nequalsone.com/AnyChartExternalData/anychart.jsp=20 =20 <html> <head> <title>AnyChart external data sample</title> </head> <body> <script type=3D"text/javascript" language=3D"javascript" src=3D"AnyChart.js"></script> <script type=3D"text/javascript" language=3D"javascript"> //<![CDATA[ var chart1 =3D new AnyChart("AnyChart.swf"); chart1.width=3D'750px'; chart1.height=3D'400px'; chart1.setXMLFile('./data.xml'); chart1.write();=20 //]]> </script> </body> </html> Any helps and suggestions will be appreciated as always. Jill --------------------------------------------------------------------- To unsubscribe, e-mail: george45@example.org For additional commands, e-mail: george45@example.org From george45@example.org Mon Jan 05 22:07:45 2009 Return-Path: <george45@example.org> Delivered-To: george45@example.org Received: (qmail 49085 invoked from network); 5 Jan 2009 22:07:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Jan 2009 22:07:44 -0000 Received: (qmail 26622 invoked by uid 500); 5 Jan 2009 22:07:43 -0000 Delivered-To: george45@example.org Received: (qmail 26602 invoked by uid 500); 5 Jan 2009 22:07:43 -0000 Mailing-List: contact george45@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:george45@example.org> List-Unsubscribe: <mailto:george45@example.org> List-Post: <mailto:george45@example.org> List-Id: <user.turbine.apache.org> Reply-To: "Turbine Users List" <george45@example.org> Delivered-To: mailing list george45@example.org Received: (qmail 26588 invoked by uid 99); 5 Jan 2009 22:07:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jan 2009 14:07:43 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of george45@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO bay0-omc2-s19.bay0.hotmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jan 2009 22:07:32 +0000 Received: from BAY105-W4 ([83.161.120.155]) by bay0-omc2-s19.bay0.hotmail.com with Microsoft SMTPSVC+1-414-993-0656); Mon, 5 Jan 2009 14:07:11 -0800 Message-ID: <george45@example.org> Content-Type: multipart/alternative; boundary="_3f608bc2-2522-4129-b518-367efe511e9d_" X-Originating-IP: [83.161.120.155] From: Sheldon Ross <george45@example.org> To: <george45@example.org> Subject: RE: how to reference a file in javascript Date: Mon, 5 Jan 2009 22:07:10 +0000 Importance: Normal In-Reply-To: <george45@example.org> References: <george45@example.org> MIME-Version: 1.0 X-OriginalArrivalTime: 05 Jan 2009 22:07:11.0061 (UTC) FILETIME=[F51DE050:01C96F81] X-Virus-Checked: Checked by ClamAV on apache.org --_3f608bc2-2522-4129-b518-367efe511e9d_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I'm assuming you have something like=20 $page.addScript($content.getRelativeURI("scripts/chart.js")) at the top to include your chart js. It looks to me like your address string is incorrect in the getURI string f= or data.xml > Subject: how to reference a file in javascript > Date: Mon=2C 5 Jan 2009 15:38:02 -0600 > From: george45@example.org > To: george45@example.org >=20 > We have turbine/torque/velocity app. I submitted the question to > velocity user forum and was told I may get help here . > I tried to embed AnyChart to the velocity template. Here is the snippet > of .vm code: >=20 > <script type=3D"text/javascript" language=3D"javascript"> //<![CDATA[ > var chart1 =3D new > AnyChart("$content.getURI("swf/AnyChart.swf")")=3B > chart1.width=3D"550px"=3B > chart1.height=3D"400px"=3B > =09 > chart1.setXMLFile("$content.getURI('servlet/nequals1/template/portal=2Cda= t > a=2Cdata.xml')")=3B > // or chart1.setXMLFile("./data.xml")=3B not working either > chart1.write()=3B > //]]> > </script> >=20 > However=2C somehow=2C the data.xml can't be processed properly and result= ed > in IO error. >=20 > But=2C in the following simple anychart.jsp=2C the javascript has no prob= lem > processing data.xml. =20 > http://prod.nequalsone.com/AnyChartExternalData/anychart.jsp=20 > =20 > <html> > <head> > <title>AnyChart external data sample</title> > </head> > <body> >=20 > <script type=3D"text/javascript" language=3D"javascript" > src=3D"AnyChart.js"></script> > <script type=3D"text/javascript" language=3D"javascript"> > //<![CDATA[ > var chart1 =3D new AnyChart("AnyChart.swf")=3B > chart1.width=3D'750px'=3B > chart1.height=3D'400px'=3B > chart1.setXMLFile('./data.xml')=3B > chart1.write()=3B=20 > //]]> > </script> > </body> > </html> >=20 > Any helps and suggestions will be appreciated as always. >=20 > Jill >=20 > --------------------------------------------------------------------- > To unsubscribe=2C e-mail: george45@example.org > For additional commands=2C e-mail: george45@example.org >=20 _________________________________________________________________ Life on your PC is safer=2C easier=2C and more enjoyable with Windows Vista= =AE.=20 http://clk.atdmt.com/MRT/go/127032870/direct/01/= --_3f608bc2-2522-4129-b518-367efe511e9d_-- From george45@example.org Tue Jan 06 09:20:42 2009 Return-Path: <george45@example.org> Delivered-To: george45@example.org Received: (qmail 82846 invoked from network); 6 Jan 2009 09:20:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 6 Jan 2009 09:20:42 -0000 Received: (qmail 42037 invoked by uid 500); 6 Jan 2009 09:20:42 -0000 Delivered-To: george45@example.org Received: (qmail 41798 invoked by uid 500); 6 Jan 2009 09:20:41 -0000 Mailing-List: contact george45@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:george45@example.org> List-Unsubscribe: <mailto:george45@example.org> List-Post: <mailto:george45@example.org> List-Id: <user.turbine.apache.org> Reply-To: "Turbine Users List" <george45@example.org> Delivered-To: mailing list george45@example.org Received: (qmail 41787 invoked by uid 99); 6 Jan 2009 09:20:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jan 2009 01:20:41 -0800 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO csmtp1.b-one.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jan 2009 09:20:33 +0000 Received: from GreenStreet (h59ec0d32.stgertrud.dyn.perspektivbredband.net [83.161.120.155]) by csmtp1.b-one.net (Postfix) with ESMTP id 6560F9804E0E for <george45@example.org>; Tue, 6 Jan 2009 10:19:32 +0100 (CET) From: "Ludwig Magnusson" <george45@example.org> To: "'Turbine Users List'" <george45@example.org> References: <000601c9668e$8972ef90$9c58ceb0$@se> <george45@example.org> In-Reply-To: <george45@example.org> Subject: RE: Can I create a RunData object that works in my test cases? Date: Tue, 6 Jan 2009 10:19:31 +0100 Message-ID: <004301c96fdf$e23739b0$a6a5ad10$@se> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcllVUfrK8aX6YFIQ7y1EJNTsqjRbwBOE8ywAjEp+4AAI06OYA== Content-Language: sv X-Virus-Checked: Checked by ClamAV on apache.org Thank you for the tip. I found a MockSession-class on the internet and I made a MockRunData-class that returns that object. That works for now. I also checked out cactus and I might use it in the future if there is a need for it. I trust that methods such as removeUserFromSession are well tested so there is no need for me to create additional tests. Thanks for the help /Ludwig -----Original Message----- From: Manaster, Carl [mailto:george45@example.org] Sent: den 5 januari 2009 17:40 To: Turbine Users List Subject: RE: Can I create a RunData object that works in my test cases? Hi, Ludwig, > Is there any way to go around this error (and perhaps some > similar errors I haven't come across yes) and create some > kind of RunData object that would work in my test cases? For testing, I've written three very simple classes that implement RunData, ParameterParser, and Context, with empty bodies for most of the methods, implementing only the bits my tests need with simple HashMaps. I've found it makes many tests much easier. In your example, since my RunData's implementation has just an empty body for removeUserFromSession(), no exception would be thrown. If you needed to test user removal, of course, you would have to add behavior for that (and presumably for adding the user), but since (generally) we're testing the behavior of the systems we build, and not of the supplied components, a trivial implementation usually serves. If I had a lot of such testing to do, I might create completely empty implementations of the three interfaces, then subclass and implement the specific bits needed by a given test or test suite. Peace, --Carl --------------------------------------------------------------------- To unsubscribe, e-mail: george45@example.org For additional commands, e-mail: george45@example.org --------------------------------------------------------------------- To unsubscribe, e-mail: george45@example.org For additional commands, e-mail: george45@example.org From george45@example.org Tue Jan 06 10:09:51 2009 Return-Path: <george45@example.org> Delivered-To: george45@example.org Received: (qmail 15709 invoked from network); 6 Jan 2009 10:09:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 6 Jan 2009 10:09:51 -0000 Received: (qmail 82921 invoked by uid 500); 6 Jan 2009 10:09:51 -0000 Delivered-To: george45@example.org Received: (qmail 82894 invoked by uid 500); 6 Jan 2009 10:09:50 -0000 Mailing-List: contact george45@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:george45@example.org> List-Unsubscribe: <mailto:george45@example.org> List-Post: <mailto:george45@example.org> List-Id: <user.turbine.apache.org> Reply-To: "Turbine Users List" <george45@example.org> Delivered-To: mailing list george45@example.org Received: (qmail 82883 invoked by uid 99); 6 Jan 2009 10:09:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jan 2009 02:09:50 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO mail.ellumination.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jan 2009 10:09:41 +0000 Received: from localhost (debian3164m [83.161.120.155]) by mail.ellumination.de (Postfix) with ESMTP id 069BB8EC041 for <george45@example.org>; Tue, 6 Jan 2009 11:11:48 +0100 (CET) X-Virus-Scanned: Debian george45@example.org Received: from mail.ellumination.de ([83.161.120.155]) by localhost (mail.ellumination.de [83.161.120.155]) (amavisd-new, port 10024) with ESMTP id V4be7CCRE+Fc for <george45@example.org>; Tue, 6 Jan 2009 11:11:45 +0100 (CET) Received: from hoffmannPC (unknown [83.161.120.155]) by mail.ellumination.de (Postfix) with ESMTPA id 2B0248EC00A for <george45@example.org>; Tue, 6 Jan 2009 11:11:45 +0100 (CET) From: "Juergen Hoffmann" <george45@example.org> To: "'Turbine Users List'" <george45@example.org> References: <george45@example.org> In-Reply-To: <george45@example.org> Subject: AW: how to reference a file in javascript Date: Tue, 6 Jan 2009 11:09:02 +0100 Message-ID: <001d01c96fe6$cd0a1100$671e3300$@org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AclqhJWfOoj20tM1R2CeCVomtHxUiwE8/eIwABuF0nA= Content-Language: de X-Virus-Checked: Checked by ClamAV on apache.org Hi Jill, the "," syntax is from what I understand only valid in the $data.setTemplate(...) Method. Not inside $content.setURI(...) could you please just try to use the "/" Kind Regards Juergen > -----Urspr=FCngliche Nachricht----- > Von: jill han [mailto:george45@example.org] > Gesendet: Montag, 5. Januar 2009 22:38 > An: Turbine Users List > Betreff: how to reference a file in javascript >=20 > We have turbine/torque/velocity app. I submitted the question to > velocity user forum and was told I may get help here . > I tried to embed AnyChart to the velocity template. Here is the = snippet > of .vm code: >=20 > <script type=3D"text/javascript" language=3D"javascript"> //<![CDATA[ > var chart1 =3D new > AnyChart("$content.getURI("swf/AnyChart.swf")"); > chart1.width=3D"550px"; > chart1.height=3D"400px"; >=20 > = chart1.setXMLFile("$content.getURI('servlet/nequals1/template/portal,da > t > a,data.xml')"); > // or chart1.setXMLFile("./data.xml"); not working either > chart1.write(); > //]]> > </script> >=20 > However, somehow, the data.xml can't be processed properly and = resulted > in IO error. >=20 > But, in the following simple anychart.jsp, the javascript has no > problem > processing data.xml. > http://prod.nequalsone.com/AnyChartExternalData/anychart.jsp >=20 > <html> > <head> > <title>AnyChart external data sample</title> > </head> > <body> >=20 > <script type=3D"text/javascript" language=3D"javascript" > src=3D"AnyChart.js"></script> > <script type=3D"text/javascript" language=3D"javascript"> > //<![CDATA[ > var chart1 =3D new AnyChart("AnyChart.swf"); > chart1.width=3D'750px'; > chart1.height=3D'400px'; > chart1.setXMLFile('./data.xml'); > chart1.write(); > //]]> > </script> > </body> > </html> >=20 > Any helps and suggestions will be appreciated as always. >=20 > Jill >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: george45@example.org > For additional commands, e-mail: george45@example.org --------------------------------------------------------------------- To unsubscribe, e-mail: george45@example.org For additional commands, e-mail: george45@example.org From george45@example.org Mon Jan 12 10:00:09 2009 Return-Path: <george45@example.org> Delivered-To: george45@example.org Received: (qmail 14947 invoked from network); 12 Jan 2009 10:00:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 12 Jan 2009 10:00:09 -0000 Received: (qmail 72916 invoked by uid 500); 12 Jan 2009 10:00:08 -0000 Delivered-To: george45@example.org Received: (qmail 72892 invoked by uid 500); 12 Jan 2009 10:00:08 -0000 Mailing-List: contact george45@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:george45@example.org> List-Unsubscribe: <mailto:george45@example.org> List-Post: <mailto:george45@example.org> List-Id: <user.turbine.apache.org> Reply-To: "Turbine Users List" <george45@example.org> Delivered-To: mailing list george45@example.org Received: (qmail 72881 invoked by uid 99); 12 Jan 2009 10:00:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jan 2009 02:00:08 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO csmtp2.b-one.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jan 2009 10:00:00 +0000 Received: from GreenStreet (h59ec0d32.stgertrud.dyn.perspektivbredband.net [83.161.120.155]) by csmtp2.b-one.net (Postfix) with ESMTP id A4799160080E4 for <george45@example.org>; Mon, 12 Jan 2009 10:59:37 +0100 (CET) From: "Ludwig Magnusson" <george45@example.org> To: "'Turbine Users List'" <george45@example.org> Subject: Skinning my app/working with css Date: Mon, 12 Jan 2009 10:59:37 +0100 Message-ID: <001a01c9749c$7aa6ed10$6ff4c730$@se> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001B_01C974A4.DC6B5510" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acl0nHqIN/2CnElXQx6VfpyZgkwK1g== Content-Language: sv X-Virus-Checked: Checked by ClamAV on apache.org ------=_NextPart_000_001B_01C974A4.DC6B5510 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello! I am trying to add some nice looks to my application. I have a dummy site written in html with css and now I want to integrate it into my functional turbine site. However, the app doesn't seem to find the definitions for the div-tags. All the content of the site is just written on the screen with no formatting. But when I look at the source for my page in my web browser, the generated page source looks exactly like the dummy site. Ex, in the <head> tag of the document I find: <link rel="stylesheet" href="/resources/ui/skins/blueprint/skin.css" type="text/css" media="screen" title=""/> Which is generated by: $page.addStyleSheet($content.getURI("resources/ui/skins/blueprint/skin.css") ,"screen","","text/css") The path to skin.css is the correct one. Am I missing something? Does turbine not find the css-file? I have also been reading about the UIService (http://turbine.apache.org/turbine/turbine-2.3.3/services/ui-service.html) but I think it's pretty hard to understand what exactly that is needed to get a skin working. An example would be nice. /Ludwig ------=_NextPart_000_001B_01C974A4.DC6B5510-- From george45@example.org Mon Jan 12 13:05:18 2009 Return-Path: <george45@example.org> Delivered-To: george45@example.org Received: (qmail 83077 invoked from network); 12 Jan 2009 13:05:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 12 Jan 2009 13:05:18 -0000 Received: (qmail 92051 invoked by uid 500); 12 Jan 2009 13:05:18 -0000 Delivered-To: george45@example.org Received: (qmail 92028 invoked by uid 500); 12 Jan 2009 13:05:18 -0000 Mailing-List: contact george45@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:george45@example.org> List-Unsubscribe: <mailto:george45@example.org> List-Post: <mailto:george45@example.org> List-Id: <user.turbine.apache.org> Reply-To: "Turbine Users List" <george45@example.org> Delivered-To: mailing list george45@example.org Received: (qmail 92017 invoked by uid 99); 12 Jan 2009 13:05:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jan 2009 05:05:17 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO mail.ellumination.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jan 2009 13:05:08 +0000 Received: from localhost (debian3164m [83.161.120.155]) by mail.ellumination.de (Postfix) with ESMTP id DFF88418516 for <george45@example.org>; Mon, 12 Jan 2009 14:07:31 +0100 (CET) X-Virus-Scanned: Debian george45@example.org Received: from mail.ellumination.de ([83.161.120.155]) by localhost (mail.ellumination.de [83.161.120.155]) (amavisd-new, port 10024) with ESMTP id XQQG-wwftO+A for <george45@example.org>; Mon, 12 Jan 2009 14:07:26 +0100 (CET) Received: from hoffmannPC (unknown [83.161.120.155]) by mail.ellumination.de (Postfix) with ESMTPA id 21AE741850D for <george45@example.org>; Mon, 12 Jan 2009 14:07:26 +0100 (CET) From: "Juergen Hoffmann" <george45@example.org> To: "'Turbine Users List'" <george45@example.org> References: <001a01c9749c$7aa6ed10$6ff4c730$@se> In-Reply-To: <001a01c9749c$7aa6ed10$6ff4c730$@se> Subject: AW: Skinning my app/working with css Date: Mon, 12 Jan 2009 14:04:38 +0100 Message-ID: <002b01c974b6$532f04b0$f98d0e10$@org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acl0nHqIN/2CnElXQx6VfpyZgkwK1gAGHqAg Content-Language: de X-Virus-Checked: Checked by ClamAV on apache.org Hi Ludwig, can you copy the link from the <link> attribute inside your html source = code and paste to your browsers Location Window and see if you get a 404? Kind regards Juergen > -----Urspr=FCngliche Nachricht----- > Von: Ludwig Magnusson [mailto:george45@example.org] > Gesendet: Montag, 12. Januar 2009 11:00 > An: 'Turbine Users List' > Betreff: Skinning my app/working with css >=20 > Hello! >=20 > I am trying to add some nice looks to my application. >=20 > I have a dummy site written in html with css and now I want to > integrate it > into my functional turbine site. However, the app doesn't seem to find > the > definitions for the div-tags. All the content of the site is just > written on > the screen with no formatting. But when I look at the source for my > page in > my web browser, the generated page source looks exactly like the dummy > site. > Ex, in the <head> tag of the document I find: >=20 >=20 > <link rel=3D"stylesheet" = href=3D"/resources/ui/skins/blueprint/skin.css" > type=3D"text/css" media=3D"screen" title=3D""/> >=20 > Which is generated by: >=20 > = $page.addStyleSheet($content.getURI("resources/ui/skins/blueprint/skin. > css") > ,"screen","","text/css") >=20 > The path to skin.css is the correct one. > Am I missing something? Does turbine not find the css-file? >=20 > I have also been reading about the UIService > (http://turbine.apache.org/turbine/turbine-2.3.3/services/ui- > service.html) > but I think it's pretty hard to understand what exactly that is needed > to > get a skin working. An example would be nice. > /Ludwig >=20 >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: george45@example.org For additional commands, e-mail: george45@example.org From george45@example.org Mon Jan 12 13:44:25 2009 Return-Path: <george45@example.org> Delivered-To: george45@example.org Received: (qmail 3192 invoked from network); 12 Jan 2009 13:44:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 12 Jan 2009 13:44:25 -0000 Received: (qmail 45385 invoked by uid 500); 12 Jan 2009 13:44:25 -0000 Delivered-To: george45@example.org Received: (qmail 45364 invoked by uid 500); 12 Jan 2009 13:44:25 -0000 Mailing-List: contact george45@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:george45@example.org> List-Unsubscribe: <mailto:george45@example.org> List-Post: <mailto:george45@example.org> List-Id: <user.turbine.apache.org> Reply-To: "Turbine Users List" <george45@example.org> Delivered-To: mailing list george45@example.org Received: (qmail 45353 invoked by uid 99); 12 Jan 2009 13:44:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jan 2009 05:44:25 -0800 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO csmtp3.b-one.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jan 2009 13:44:16 +0000 Received: from GreenStreet (h59ec0d32.stgertrud.dyn.perspektivbredband.net [83.161.120.155]) by csmtp3.b-one.net (Postfix) with ESMTP id 3B63E385FC20 for <george45@example.org>; Mon, 12 Jan 2009 14:43:55 +0100 (CET) From: "Ludwig Magnusson" <george45@example.org> To: "'Turbine Users List'" <george45@example.org> References: <001a01c9749c$7aa6ed10$6ff4c730$@se> <002b01c974b6$532f04b0$f98d0e10$@org> In-Reply-To: <002b01c974b6$532f04b0$f98d0e10$@org> Subject: RE: Skinning my app/working with css Date: Mon, 12 Jan 2009 14:43:54 +0100 Message-ID: <002e01c974bb$cfc74820$6f55d860$@se> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acl0nHqIN/2CnElXQx6VfpyZgkwK1gAGHqAgAAGId8A= Content-Language: sv X-Virus-Checked: Checked by ClamAV on apache.org No I didn't. I got a 403... URL: http://localhost/resources/ui/skins/blueprint/screen.css Error message: ------------------------ HTTP Status 403 - Access to the requested resource has been denied type Status report message Access to the requested resource has been denied description Access to the specified resource (Access to the requested resource has been denied) has been forbidden. Apache Tomcat/5.5.27 ------------------------ Doesn't this mean that the server actually should be able to access the file? /Ludwig -----Original Message----- From: Juergen Hoffmann [mailto:george45@example.org]=20 Sent: den 12 januari 2009 14:05 To: 'Turbine Users List' Subject: AW: Skinning my app/working with css Hi Ludwig, can you copy the link from the <link> attribute inside your html source = code and paste to your browsers Location Window and see if you get a 404? Kind regards Juergen > -----Urspr=FCngliche Nachricht----- > Von: Ludwig Magnusson [mailto:george45@example.org] > Gesendet: Montag, 12. Januar 2009 11:00 > An: 'Turbine Users List' > Betreff: Skinning my app/working with css >=20 > Hello! >=20 > I am trying to add some nice looks to my application. >=20 > I have a dummy site written in html with css and now I want to > integrate it > into my functional turbine site. However, the app doesn't seem to find > the > definitions for the div-tags. All the content of the site is just > written on > the screen with no formatting. But when I look at the source for my > page in > my web browser, the generated page source looks exactly like the dummy > site. > Ex, in the <head> tag of the document I find: >=20 >=20 > <link rel=3D"stylesheet" = href=3D"/resources/ui/skins/blueprint/skin.css" > type=3D"text/css" media=3D"screen" title=3D""/> >=20 > Which is generated by: >=20 > = $page.addStyleSheet($content.getURI("resources/ui/skins/blueprint/skin. > css") > ,"screen","","text/css") >=20 > The path to skin.css is the correct one. > Am I missing something? Does turbine not find the css-file? >=20 > I have also been reading about the UIService > (http://turbine.apache.org/turbine/turbine-2.3.3/services/ui- > service.html) > but I think it's pretty hard to understand what exactly that is needed > to > get a skin working. An example would be nice. > /Ludwig >=20 >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: george45@example.org For additional commands, e-mail: george45@example.org --------------------------------------------------------------------- To unsubscribe, e-mail: george45@example.org For additional commands, e-mail: george45@example.org From george45@example.org Mon Jan 12 13:49:16 2009 Return-Path: <george45@example.org> Delivered-To: george45@example.org Received: (qmail 6261 invoked from network); 12 Jan 2009 13:49:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 12 Jan 2009 13:49:16 -0000 Received: (qmail 50155 invoked by uid 500); 12 Jan 2009 13:49:15 -0000 Delivered-To: george45@example.org Received: (qmail 50138 invoked by uid 500); 12 Jan 2009 13:49:15 -0000 Mailing-List: contact george45@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:george45@example.org> List-Unsubscribe: <mailto:george45@example.org> List-Post: <mailto:george45@example.org> List-Id: <user.turbine.apache.org> Reply-To: "Turbine Users List" <george45@example.org> Delivered-To: mailing list george45@example.org Received: (qmail 50117 invoked by uid 99); 12 Jan 2009 13:49:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jan 2009 05:49:15 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO mail.ellumination.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jan 2009 13:49:07 +0000 Received: from localhost (debian3164m [83.161.120.155]) by mail.ellumination.de (Postfix) with ESMTP id 447458EC045 for <george45@example.org>; Mon, 12 Jan 2009 14:51:28 +0100 (CET) X-Virus-Scanned: Debian george45@example.org Received: from mail.ellumination.de ([83.161.120.155]) by localhost (mail.ellumination.de [83.161.120.155]) (amavisd-new, port 10024) with ESMTP id 5apG4-ueySsa for <george45@example.org>; Mon, 12 Jan 2009 14:51:25 +0100 (CET) Received: from hoffmannPC (unknown [83.161.120.155]) by mail.ellumination.de (Postfix) with ESMTPA id 5656F418518 for <george45@example.org>; Mon, 12 Jan 2009 14:51:25 +0100 (CET) From: "Juergen Hoffmann" <george45@example.org> To: "'Turbine Users List'" <george45@example.org> References: <001a01c9749c$7aa6ed10$6ff4c730$@se> <002b01c974b6$532f04b0$f98d0e10$@org> <002e01c974bb$cfc74820$6f55d860$@se> In-Reply-To: <002e01c974bb$cfc74820$6f55d860$@se> Subject: AW: Skinning my app/working with css Date: Mon, 12 Jan 2009 14:48:33 +0100 Message-ID: <002c01c974bc$783dcec0$68b96c40$@org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acl0nHqIN/2CnElXQx6VfpyZgkwK1gAGHqAgAAGId8AAAD8RAA== Content-Language: de X-Virus-Checked: Checked by ClamAV on apache.org Hi Ludwig, exactly. Could you post your web.xml? Kind regards Juergen > -----Urspr=FCngliche Nachricht----- > Von: Ludwig Magnusson [mailto:george45@example.org] > Gesendet: Montag, 12. Januar 2009 14:44 > An: 'Turbine Users List' > Betreff: RE: Skinning my app/working with css >=20 > No I didn't. I got a 403... >=20 > URL: http://localhost/resources/ui/skins/blueprint/screen.css > Error message: > ------------------------ > HTTP Status 403 - Access to the requested resource has been denied >=20 > type Status report >=20 > message Access to the requested resource has been denied >=20 > description Access to the specified resource (Access to the requested > resource has been denied) has been forbidden. > Apache Tomcat/5.5.27 > ------------------------ >=20 > Doesn't this mean that the server actually should be able to access = the > file? > /Ludwig >=20 > -----Original Message----- > From: Juergen Hoffmann [mailto:george45@example.org] > Sent: den 12 januari 2009 14:05 > To: 'Turbine Users List' > Subject: AW: Skinning my app/working with css >=20 > Hi Ludwig, >=20 > can you copy the link from the <link> attribute inside your html = source > code > and paste to your browsers Location Window and see if you get a 404? >=20 > Kind regards >=20 > Juergen >=20 > > -----Urspr=FCngliche Nachricht----- > > Von: Ludwig Magnusson [mailto:george45@example.org] > > Gesendet: Montag, 12. Januar 2009 11:00 > > An: 'Turbine Users List' > > Betreff: Skinning my app/working with css > > > > Hello! > > > > I am trying to add some nice looks to my application. > > > > I have a dummy site written in html with css and now I want to > > integrate it > > into my functional turbine site. However, the app doesn't seem to > find > > the > > definitions for the div-tags. All the content of the site is just > > written on > > the screen with no formatting. But when I look at the source for my > > page in > > my web browser, the generated page source looks exactly like the > dummy > > site. > > Ex, in the <head> tag of the document I find: > > > > > > <link rel=3D"stylesheet" = href=3D"/resources/ui/skins/blueprint/skin.css" > > type=3D"text/css" media=3D"screen" title=3D""/> > > > > Which is generated by: > > > > > = $page.addStyleSheet($content.getURI("resources/ui/skins/blueprint/skin. > > css") > > ,"screen","","text/css") > > > > The path to skin.css is the correct one. > > Am I missing something? Does turbine not find the css-file? > > > > I have also been reading about the UIService > > (http://turbine.apache.org/turbine/turbine-2.3.3/services/ui- > > service.html) > > but I think it's pretty hard to understand what exactly that is > needed > > to > > get a skin working. An example would be nice. > > /Ludwig > > > > >=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: george45@example.org > For additional commands, e-mail: george45@example.org >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: george45@example.org > For additional commands, e-mail: george45@example.org --------------------------------------------------------------------- To unsubscribe, e-mail: george45@example.org For additional commands, e-mail: george45@example.org From george45@example.org Mon Jan 12 13:58:50 2009 Return-Path: <george45@example.org> Delivered-To: george45@example.org Received: (qmail 11635 invoked from network); 12 Jan 2009 13:58:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 12 Jan 2009 13:58:50 -0000 Received: (qmail 62943 invoked by uid 500); 12 Jan 2009 13:58:49 -0000 Delivered-To: george45@example.org Received: (qmail 62917 invoked by uid 500); 12 Jan 2009 13:58:49 -0000 Mailing-List: contact george45@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:george45@example.org> List-Unsubscribe: <mailto:george45@example.org> List-Post: <mailto:george45@example.org> List-Id: <user.turbine.apache.org> Reply-To: "Turbine Users List" <george45@example.org> Delivered-To: mailing list george45@example.org Received: (qmail 62906 invoked by uid 99); 12 Jan 2009 13:58:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jan 2009 05:58:49 -0800 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO csmtp1.b-one.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jan 2009 13:58:40 +0000 Received: from GreenStreet (h59ec0d32.stgertrud.dyn.perspektivbredband.net [83.161.120.155]) by csmtp1.b-one.net (Postfix) with ESMTP id E30C39803672 for <george45@example.org>; Mon, 12 Jan 2009 14:58:19 +0100 (CET) From: "Ludwig Magnusson" <george45@example.org> To: "'Turbine Users List'" <george45@example.org> References: <001a01c9749c$7aa6ed10$6ff4c730$@se> <002b01c974b6$532f04b0$f98d0e10$@org> <002e01c974bb$cfc74820$6f55d860$@se> <002c01c974bc$783dcec0$68b96c40$@org> In-Reply-To: <002c01c974bc$783dcec0$68b96c40$@org> Subject: RE: Skinning my app/working with css Date: Mon, 12 Jan 2009 14:58:19 +0100 Message-ID: <002f01c974bd$d3294cf0$797be6d0$@se> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0030_01C974C6.34EDB4F0" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acl0nHqIN/2CnElXQx6VfpyZgkwK1gAGHqAgAAGId8AAAD8RAAAATkvQ Content-Language: sv X-Virus-Checked: Checked by ClamAV on apache.org ------=_NextPart_000_0030_01C974C6.34EDB4F0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable It is the one generated by M.E.T.A, I haven't touched it. Does it need to be configured? If so, where is this documented? /Ludwig -----Original Message----- From: Juergen Hoffmann [mailto:george45@example.org]=20 Sent: den 12 januari 2009 14:49 To: 'Turbine Users List' Subject: AW: Skinning my app/working with css Hi Ludwig, exactly. Could you post your web.xml? Kind regards Juergen > -----Urspr=FCngliche Nachricht----- > Von: Ludwig Magnusson [mailto:george45@example.org] > Gesendet: Montag, 12. Januar 2009 14:44 > An: 'Turbine Users List' > Betreff: RE: Skinning my app/working with css >=20 > No I didn't. I got a 403... >=20 > URL: http://localhost/resources/ui/skins/blueprint/screen.css > Error message: > ------------------------ > HTTP Status 403 - Access to the requested resource has been denied >=20 > type Status report >=20 > message Access to the requested resource has been denied >=20 > description Access to the specified resource (Access to the requested > resource has been denied) has been forbidden. > Apache Tomcat/5.5.27 > ------------------------ >=20 > Doesn't this mean that the server actually should be able to access = the > file? > /Ludwig >=20 > -----Original Message----- > From: Juergen Hoffmann [mailto:george45@example.org] > Sent: den 12 januari 2009 14:05 > To: 'Turbine Users List' > Subject: AW: Skinning my app/working with css >=20 > Hi Ludwig, >=20 > can you copy the link from the <link> attribute inside your html = source > code > and paste to your browsers Location Window and see if you get a 404? >=20 > Kind regards >=20 > Juergen >=20 > > -----Urspr=FCngliche Nachricht----- > > Von: Ludwig Magnusson [mailto:george45@example.org] > > Gesendet: Montag, 12. Januar 2009 11:00 > > An: 'Turbine Users List' > > Betreff: Skinning my app/working with css > > > > Hello! > > > > I am trying to add some nice looks to my application. > > > > I have a dummy site written in html with css and now I want to > > integrate it > > into my functional turbine site. However, the app doesn't seem to > find > > the > > definitions for the div-tags. All the content of the site is just > > written on > > the screen with no formatting. But when I look at the source for my > > page in > > my web browser, the generated page source looks exactly like the > dummy > > site. > > Ex, in the <head> tag of the document I find: > > > > > > <link rel=3D"stylesheet" = href=3D"/resources/ui/skins/blueprint/skin.css" > > type=3D"text/css" media=3D"screen" title=3D""/> > > > > Which is generated by: > > > > > = $page.addStyleSheet($content.getURI("resources/ui/skins/blueprint/skin. > > css") > > ,"screen","","text/css") > > > > The path to skin.css is the correct one. > > Am I missing something? Does turbine not find the css-file? > > > > I have also been reading about the UIService > > (http://turbine.apache.org/turbine/turbine-2.3.3/services/ui- > > service.html) > > but I think it's pretty hard to understand what exactly that is > needed > > to > > get a skin working. An example would be nice. > > /Ludwig > > > > >=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: george45@example.org > For additional commands, e-mail: george45@example.org >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: george45@example.org > For additional commands, e-mail: george45@example.org --------------------------------------------------------------------- To unsubscribe, e-mail: george45@example.org For additional commands, e-mail: george45@example.org ------=_NextPart_000_0030_01C974C6.34EDB4F0 Content-Type: text/xml; name="web.xml" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="web.xml" <?xml version=3D"1.0" encoding=3D"UTF-8" ?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <!-- = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --> <!-- = --> <!-- Web Application descriptor = --> <!-- = --> <!-- $Id: web.xml,v 1.3 2009/01/06 13:01:10 Ludwig Exp $ --> <!-- = --> <!-- = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --> <web-app> <!-- = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --> <!-- = --> <!-- Uncomment the following block if you want to use the Session = Service --> <!-- = --> <!-- = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --> <!-- <listener> = <listener-class>org.apache.turbine.services.session.SessionListener</list= ener-class> </listener> --> <servlet> <servlet-name>myapp</servlet-name> <servlet-class>org.apache.turbine.Turbine</servlet-class> <init-param> <param-name>properties</param-name> = <param-value>WEB-INF/conf/TurbineResources.properties</param-value> </init-param> </servlet> <servlet-mapping> <servlet-name>myapp</servlet-name> <url-pattern>/app/*</url-pattern> </servlet-mapping> <!-- = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --> <!-- = --> <!-- Redirect the home page of the application to the turbine servlet = --> <!-- = --> <!-- = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --> <welcome-file-list> <welcome-file>app</welcome-file> </welcome-file-list> <!-- = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --> <!-- = --> <!-- Make sure that templates, resources and logs are not available = through --> <!-- the servlet container. Remove security constraints or add an = authen- --> <!-- tication role if you need access to these paths. = --> <!-- = --> <!-- = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --> <security-constraint> <web-resource-collection> <web-resource-name>templates</web-resource-name> <url-pattern>/templates/*</url-pattern> </web-resource-collection> <web-resource-collection> <web-resource-name>logs</web-resource-name> <url-pattern>/logs/*</url-pattern> </web-resource-collection> <web-resource-collection> <web-resource-name>resources</web-resource-name> <url-pattern>/resources/*</url-pattern> </web-resource-collection> <auth-constraint/> </security-constraint> </web-app> ------=_NextPart_000_0030_01C974C6.34EDB4F0 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: george45@example.org For additional commands, e-mail: george45@example.org ------=_NextPart_000_0030_01C974C6.34EDB4F0-- From george45@example.org Mon Jan 12 14:05:12 2009 Return-Path: <george45@example.org> Delivered-To: george45@example.org Received: (qmail 15860 invoked from network); 12 Jan 2009 14:05:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 12 Jan 2009 14:05:12 -0000 Received: (qmail 72575 invoked by uid 500); 12 Jan 2009 14:05:11 -0000 Delivered-To: george45@example.org Received: (qmail 72552 invoked by uid 500); 12 Jan 2009 14:05:11 -0000 Mailing-List: contact george45@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:george45@example.org> List-Unsubscribe: <mailto:george45@example.org> List-Post: <mailto:george45@example.org> List-Id: <user.turbine.apache.org> Reply-To: "Turbine Users List" <george45@example.org> Delivered-To: mailing list george45@example.org Received: (qmail 72541 invoked by uid 99); 12 Jan 2009 14:05:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jan 2009 06:05:11 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO mail.ellumination.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jan 2009 14:05:03 +0000 Received: from localhost (debian3164m [83.161.120.155]) by mail.ellumination.de (Postfix) with ESMTP id 666E98EC048 for <george45@example.org>; Mon, 12 Jan 2009 15:07:26 +0100 (CET) X-Virus-Scanned: Debian george45@example.org Received: from mail.ellumination.de ([83.161.120.155]) by localhost (mail.ellumination.de [83.161.120.155]) (amavisd-new, port 10024) with ESMTP id GIa8bR2lONf8 for <george45@example.org>; Mon, 12 Jan 2009 15:07:23 +0100 (CET) Received: from hoffmannPC (unknown [83.161.120.155]) by mail.ellumination.de (Postfix) with ESMTPA id CF86B418518 for <george45@example.org>; Mon, 12 Jan 2009 15:07:23 +0100 (CET) From: "Juergen Hoffmann" <george45@example.org> To: "'Turbine Users List'" <george45@example.org> References: <001a01c9749c$7aa6ed10$6ff4c730$@se> <002b01c974b6$532f04b0$f98d0e10$@org> <002e01c974bb$cfc74820$6f55d860$@se> <002c01c974bc$783dcec0$68b96c40$@org> <002f01c974bd$d3294cf0$797be6d0$@se> In-Reply-To: <002f01c974bd$d3294cf0$797be6d0$@se> Subject: AW: Skinning my app/working with css Date: Mon, 12 Jan 2009 15:04:35 +0100 Message-ID: <003a01c974be$b36308b0$1a291a10$@org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acl0nHqIN/2CnElXQx6VfpyZgkwK1gAGHqAgAAGId8AAAD8RAAAATkvQAABHaYA= Content-Language: de X-Virus-Checked: Checked by ClamAV on apache.org Hi Ludwig, go into your conf directory and find the web.xml there. Then find the section <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --> <!-- --> <!-- Make sure that templates, resources and logs are not available = through --> <!-- the servlet container. Remove security constraints or add an = authen- --> <!-- tication role if you need access to these paths. --> <!-- --> <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --> <security-constraint> <web-resource-collection> <web-resource-name>templates</web-resource-name> <url-pattern>/templates/*</url-pattern> </web-resource-collection> <web-resource-collection> <web-resource-name>logs</web-resource-name> <url-pattern>/logs/*</url-pattern> </web-resource-collection> <web-resource-collection> <web-resource-name>resources</web-resource-name> <url-pattern>/resources/*</url-pattern> </web-resource-collection> <auth-constraint/> </security-constraint> And remove=20 <web-resource-collection> <web-resource-name>resources</web-resource-name> <url-pattern>/resources/*</url-pattern> </web-resource-collection> >From the security constraint. Could you please file a Bug report against JIRA, because IMHO this is a Bug although I know that this has reasons. = I think we have to discuss this on the developers list further. Kind regards Juergen > -----Urspr=FCngliche Nachricht----- > Von: Ludwig Magnusson [mailto:george45@example.org] > Gesendet: Montag, 12. Januar 2009 14:58 > An: 'Turbine Users List' > Betreff: RE: Skinning my app/working with css >=20 > It is the one generated by M.E.T.A, I haven't touched it. > Does it need to be configured? If so, where is this documented? > /Ludwig >=20 > -----Original Message----- > From: Juergen Hoffmann [mailto:george45@example.org] > Sent: den 12 januari 2009 14:49 > To: 'Turbine Users List' > Subject: AW: Skinning my app/working with css >=20 > Hi Ludwig, >=20 > exactly. Could you post your web.xml? >=20 > Kind regards >=20 > Juergen >=20 > > -----Urspr=FCngliche Nachricht----- > > Von: Ludwig Magnusson [mailto:george45@example.org] > > Gesendet: Montag, 12. Januar 2009 14:44 > > An: 'Turbine Users List' > > Betreff: RE: Skinning my app/working with css > > > > No I didn't. I got a 403... > > > > URL: http://localhost/resources/ui/skins/blueprint/screen.css > > Error message: > > ------------------------ > > HTTP Status 403 - Access to the requested resource has been denied > > > > type Status report > > > > message Access to the requested resource has been denied > > > > description Access to the specified resource (Access to the = requested > > resource has been denied) has been forbidden. > > Apache Tomcat/5.5.27 > > ------------------------ > > > > Doesn't this mean that the server actually should be able to access > the > > file? > > /Ludwig > > > > -----Original Message----- > > From: Juergen Hoffmann [mailto:george45@example.org] > > Sent: den 12 januari 2009 14:05 > > To: 'Turbine Users List' > > Subject: AW: Skinning my app/working with css > > > > Hi Ludwig, > > > > can you copy the link from the <link> attribute inside your html > source > > code > > and paste to your browsers Location Window and see if you get a 404? > > > > Kind regards > > > > Juergen > > > > > -----Urspr=FCngliche Nachricht----- > > > Von: Ludwig Magnusson [mailto:george45@example.org] > > > Gesendet: Montag, 12. Januar 2009 11:00 > > > An: 'Turbine Users List' > > > Betreff: Skinning my app/working with css > > > > > > Hello! > > > > > > I am trying to add some nice looks to my application. > > > > > > I have a dummy site written in html with css and now I want to > > > integrate it > > > into my functional turbine site. However, the app doesn't seem to > > find > > > the > > > definitions for the div-tags. All the content of the site is just > > > written on > > > the screen with no formatting. But when I look at the source for = my > > > page in > > > my web browser, the generated page source looks exactly like the > > dummy > > > site. > > > Ex, in the <head> tag of the document I find: > > > > > > > > > <link rel=3D"stylesheet" > href=3D"/resources/ui/skins/blueprint/skin.css" > > > type=3D"text/css" media=3D"screen" title=3D""/> > > > > > > Which is generated by: > > > > > > > > > = $page.addStyleSheet($content.getURI("resources/ui/skins/blueprint/skin. > > > css") > > > ,"screen","","text/css") > > > > > > The path to skin.css is the correct one. > > > Am I missing something? Does turbine not find the css-file? > > > > > > I have also been reading about the UIService > > > (http://turbine.apache.org/turbine/turbine-2.3.3/services/ui- > > > service.html) > > > but I think it's pretty hard to understand what exactly that is > > needed > > > to > > > get a skin working. An example would be nice. > > > /Ludwig > > > > > > > > > > > > > > = --------------------------------------------------------------------- > > To unsubscribe, e-mail: george45@example.org > > For additional commands, e-mail: george45@example.org > > > > > > = --------------------------------------------------------------------- > > To unsubscribe, e-mail: george45@example.org > > For additional commands, e-mail: george45@example.org >=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: george45@example.org > For additional commands, e-mail: george45@example.org --------------------------------------------------------------------- To unsubscribe, e-mail: george45@example.org For additional commands, e-mail: george45@example.org From george45@example.org Mon Jan 12 14:16:01 2009 Return-Path: <george45@example.org> Delivered-To: george45@example.org Received: (qmail 22975 invoked from network); 12 Jan 2009 14:16:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 12 Jan 2009 14:16:01 -0000 Received: (qmail 84817 invoked by uid 500); 12 Jan 2009 14:16:00 -0000 Delivered-To: george45@example.org Received: (qmail 84799 invoked by uid 500); 12 Jan 2009 14:16:00 -0000 Mailing-List: contact george45@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:george45@example.org> List-Unsubscribe: <mailto:george45@example.org> List-Post: <mailto:george45@example.org> List-Id: <user.turbine.apache.org> Reply-To: "Turbine Users List" <george45@example.org> Delivered-To: mailing list george45@example.org Received: (qmail 84788 invoked by uid 99); 12 Jan 2009 14:16:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jan 2009 06:16:00 -0800 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO csmtp2.b-one.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jan 2009 14:15:50 +0000 Received: from GreenStreet (h59ec0d32.stgertrud.dyn.perspektivbredband.net [83.161.120.155]) by csmtp2.b-one.net (Postfix) with ESMTP id 55F8116000685 for <george45@example.org>; Mon, 12 Jan 2009 15:15:30 +0100 (CET) From: "Ludwig Magnusson" <george45@example.org> To: "'Turbine Users List'" <george45@example.org> References: <001a01c9749c$7aa6ed10$6ff4c730$@se> <002b01c974b6$532f04b0$f98d0e10$@org> <002e01c974bb$cfc74820$6f55d860$@se> <002c01c974bc$783dcec0$68b96c40$@org> <002f01c974bd$d3294cf0$797be6d0$@se> <003a01c974be$b36308b0$1a291a10$@org> In-Reply-To: <003a01c974be$b36308b0$1a291a10$@org> Subject: RE: Skinning my app/working with css Date: Mon, 12 Jan 2009 15:15:30 +0100 Message-ID: <003901c974c0$3952f290$abf8d7b0$@se> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acl0nHqIN/2CnElXQx6VfpyZgkwK1gAGHqAgAAGId8AAAD8RAAAATkvQAABHaYAAADa1gA== Content-Language: sv X-Virus-Checked: Checked by ClamAV on apache.org You da man Juergen! Works now, thanks. Sure I can post it... but where?=20 I'll put ut undet M.E.T.A if you don't say otherwise... /L -----Original Message----- From: Juergen Hoffmann [mailto:george45@example.org]=20 Sent: den 12 januari 2009 15:05 To: 'Turbine Users List' Subject: AW: Skinning my app/working with css Hi Ludwig, go into your conf directory and find the web.xml there. Then find the section <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --> <!-- --> <!-- Make sure that templates, resources and logs are not available = through --> <!-- the servlet container. Remove security constraints or add an = authen- --> <!-- tication role if you need access to these paths. --> <!-- --> <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --> <security-constraint> <web-resource-collection> <web-resource-name>templates</web-resource-name> <url-pattern>/templates/*</url-pattern> </web-resource-collection> <web-resource-collection> <web-resource-name>logs</web-resource-name> <url-pattern>/logs/*</url-pattern> </web-resource-collection> <web-resource-collection> <web-resource-name>resources</web-resource-name> <url-pattern>/resources/*</url-pattern> </web-resource-collection> <auth-constraint/> </security-constraint> And remove=20 <web-resource-collection> <web-resource-name>resources</web-resource-name> <url-pattern>/resources/*</url-pattern> </web-resource-collection> >From the security constraint. Could you please file a Bug report against JIRA, because IMHO this is a Bug although I know that this has reasons. = I think we have to discuss this on the developers list further. Kind regards Juergen > -----Urspr=FCngliche Nachricht----- > Von: Ludwig Magnusson [mailto:george45@example.org] > Gesendet: Montag, 12. Januar 2009 14:58 > An: 'Turbine Users List' > Betreff: RE: Skinning my app/working with css >=20 > It is the one generated by M.E.T.A, I haven't touched it. > Does it need to be configured? If so, where is this documented? > /Ludwig >=20 > -----Original Message----- > From: Juergen Hoffmann [mailto:george45@example.org] > Sent: den 12 januari 2009 14:49 > To: 'Turbine Users List' > Subject: AW: Skinning my app/working with css >=20 > Hi Ludwig, >=20 > exactly. Could you post your web.xml? >=20 > Kind regards >=20 > Juergen >=20 > > -----Urspr=FCngliche Nachricht----- > > Von: Ludwig Magnusson [mailto:george45@example.org] > > Gesendet: Montag, 12. Januar 2009 14:44 > > An: 'Turbine Users List' > > Betreff: RE: Skinning my app/working with css > > > > No I didn't. I got a 403... > > > > URL: http://localhost/resources/ui/skins/blueprint/screen.css > > Error message: > > ------------------------ > > HTTP Status 403 - Access to the requested resource has been denied > > > > type Status report > > > > message Access to the requested resource has been denied > > > > description Access to the specified resource (Access to the = requested > > resource has been denied) has been forbidden. > > Apache Tomcat/5.5.27 > > ------------------------ > > > > Doesn't this mean that the server actually should be able to access > the > > file? > > /Ludwig > > > > -----Original Message----- > > From: Juergen Hoffmann [mailto:george45@example.org] > > Sent: den 12 januari 2009 14:05 > > To: 'Turbine Users List' > > Subject: AW: Skinning my app/working with css > > > > Hi Ludwig, > > > > can you copy the link from the <link> attribute inside your html > source > > code > > and paste to your browsers Location Window and see if you get a 404? > > > > Kind regards > > > > Juergen > > > > > -----Urspr=FCngliche Nachricht----- > > > Von: Ludwig Magnusson [mailto:george45@example.org] > > > Gesendet: Montag, 12. Januar 2009 11:00 > > > An: 'Turbine Users List' > > > Betreff: Skinning my app/working with css > > > > > > Hello! > > > > > > I am trying to add some nice looks to my application. > > > > > > I have a dummy site written in html with css and now I want to > > > integrate it > > > into my functional turbine site. However, the app doesn't seem to > > find > > > the > > > definitions for the div-tags. All the content of the site is just > > > written on > > > the screen with no formatting. But when I look at the source for = my > > > page in > > > my web browser, the generated page source looks exactly like the > > dummy > > > site. > > > Ex, in the <head> tag of the document I find: > > > > > > > > > <link rel=3D"stylesheet" > href=3D"/resources/ui/skins/blueprint/skin.css" > > > type=3D"text/css" media=3D"screen" title=3D""/> > > > > > > Which is generated by: > > > > > > > > > = $page.addStyleSheet($content.getURI("resources/ui/skins/blueprint/skin. > > > css") > > > ,"screen","","text/css") > > > > > > The path to skin.css is the correct one. > > > Am I missing something? Does turbine not find the css-file? > > > > > > I have also been reading about the UIService > > > (http://turbine.apache.org/turbine/turbine-2.3.3/services/ui- > > > service.html) > > > but I think it's pretty hard
{'source': 'Apache Software Foundation Public Mail Archives'}