Return-Path: Delivered-To: apmail-forrest-user-archive@www.apache.org Received: (qmail 48021 invoked from network); 29 Sep 2005 22:26:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Sep 2005 22:26:09 -0000 Received: (qmail 15446 invoked by uid 500); 29 Sep 2005 22:26:08 -0000 Delivered-To: apmail-forrest-user-archive@forrest.apache.org Received: (qmail 15395 invoked by uid 500); 29 Sep 2005 22:26:07 -0000 Mailing-List: contact user-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@forrest.apache.org List-Id: Delivered-To: mailing list user@forrest.apache.org Received: (qmail 15381 invoked by uid 99); 29 Sep 2005 22:26:07 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Sep 2005 15:26:07 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [212.247.154.129] (HELO swip.net) (212.247.154.129) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Sep 2005 15:26:13 -0700 X-T2-Posting-ID: sQ58iUJKR9NXed4595MwmQ== Received: from [83.180.134.211] (HELO [192.168.2.4]) by mailfe05.swip.net (CommuniGate Pro SMTP 4.3.4) with ESMTP id 265833473 for user@forrest.apache.org; Thu, 29 Sep 2005 23:31:36 +0200 Subject: Re: leather-dev skins and view/viewHelper plugins From: Thorsten Scherler To: user@forrest.apache.org In-Reply-To: <433BEC58.5080504@seznam.cz> References: <433B3558.5050407@seznam.cz> <20050929022631.GA4408@igg.indexgeo.com.au> <433BC405.6000303@seznam.cz> <433BCDD6.1030509@seznam.cz> <433BEC58.5080504@seznam.cz> Content-Type: text/plain; charset=utf-8 Date: Thu, 29 Sep 2005 23:31:34 +0200 Message-Id: <1128029494.7919.25.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N El jue, 29-09-2005 a las 15:30 +0200, Miroslav Mocek escribi=C3=B3: > I've downloaded 0.8-dev from svn, followed views installation=20 > instructions=20 > http://forrest.apache.org/docs_0_80/howto/howto-view-install.html, then=20 > replaced lib/core/commons-jxpath-20030909.jar with=20 > commons-jxpath-1.2.jar, and it works! Actually you have not run into the linkrewritter problem. ;-) > However, the resulting style is totally different from=20 > http://forrest.apache.org/docs_0_70/images/snapshot-view-viewHelper.png. > argh. ;) Yeah, the design of this screenshot is based on scale-dev. This style was submitted from some user and we started developing views with it. Since I needed to get views running as a proof of concept I was not able to tweak the scale-dev css in the same time as I enhanced the underlying implementation. Sadly the user did not deliver any enhancement either. :( ...but it is really easy to activate it again.=20 > my forrest.properties file is now configured this way: > project.skin=3Dleather-dev > project.theme-extension=3D.fv > project.theme=3Dleather-dev > project.required.plugins=3Dorg.apache.forrest.plugin.output.viewHelper.xh= tml,org.apache.forrest.plugin.internal.view There is no leather-dev.fv in the default plugins. That means if you not added it to your project you will see the default.fv.=20 I strongly recommend following as well: http://forrest.apache.org/docs_0_80/howto/howto-view-install.html#available= Contracts and add org.apache.forrest.plugin.input.viewHelper.xhtml.ls to th= e required plugins. > How can I get the style from the picture? You need to write a scale.fv. That is a structure file that you can use to hook up the css of scale.=20 The basic css can be found: http://svn.apache.org/viewcvs.cgi/forrest/trunk/whiteboard/plugins/org.apac= he.forrest.plugin.output.viewHelper.xhtml/resources/skin/css/default.scale-= dev.css?view=3Dmarkup The basic view: http://svn.apache.org/viewcvs.cgi/forrest/trunk/whiteboard/plugins/org.apac= he.forrest.plugin.internal.structurer/resources/views/default.scale-dev.fv?= view=3Dmarkup Actually the above default.scale-dev.fv is way outdated and it is not working anymore, but it shows you the basic forrest:hooks you will need. Please read http://forrest.apache.org/docs_0_80/howto/howto-view-dsl.html for a kick start. salu2 --=20 thorsten "Together we stand, divided we fall!"=20 Hey you (Pink Floyd)