Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 54782 invoked from network); 20 Sep 2005 17:25:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Sep 2005 17:25:07 -0000 Received: (qmail 66292 invoked by uid 500); 20 Sep 2005 17:25:06 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 66101 invoked by uid 500); 20 Sep 2005 17:25:05 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@forrest.apache.org List-Id: Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 66088 invoked by uid 99); 20 Sep 2005 17:25:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Sep 2005 10:25:05 -0700 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [158.195.15.26] (HELO mailroot.uniba.sk) (158.195.15.26) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Sep 2005 10:25:13 -0700 Received: from wadjet ([158.195.103.195]) by mailroot.uniba.sk with Microsoft SMTPSVC(6.0.3790.211); Tue, 20 Sep 2005 19:24:43 +0200 From: "HANAX" To: "Ross Gardler" , Subject: RE: Re: voice plugin Date: Tue, 20 Sep 2005 19:24:57 +0200 Mime-Version: 1.0 X-Mailer: HANAX Mail 2.3 b2 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-2" Content-Disposition: inline Message-ID: <20050920192458.2433E3A3.B3840234@158.195.103.195> X-OriginalArrivalTime: 20 Sep 2005 17:24:43.0492 (UTC) FILETIME=[30A2D240:01C5BE08] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > HANAX wrote: > >>On Wed, 2005-09-14 at 23:14 +0200, HANAX wrote: > >> > >>>Ok, now I have working "view" version of my site. Maybe it's time = for me to understand views by working with them. I want to add simple vi= sual background (headings, text, > >> > >>virtual cursor...) for my voice version of site. So what is the cor= e? > >> > >>forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal= view/ > >> > >> > >>...but everything you describe should be done via forrest:hooks and= > >>css-stylesheets. Maybe you need to write some custom contracts but > >>normally you will not even have to do that (not for background, ...= ). > >> > > > > > > OK it sounds simple but I'm totally lost in where to begin or what = to do first :) > > > HeHe - don't worry. We have christened Thorsten "Mr. Confusion". He h= as > such a deep understanding of what is going on he often forgets that t= he > rest of us struggle to keep up ;-) > > What you need to do is create new contract that adds stuff to the hea= d > section of the page. An example of such a contract is at [1]. This > simply adds some info to the head section. This contract is used in t= he > view defined in voice.fv (i.e. the view for your plugin). Sorry, but I lost at earlier point. I understand that these file are so= mehow important in process, but I don't know the basics. I try to explai= n with my case: 1. I have my voice plugin with latest codes from SVN 2. I have my site, which I seeded when I started in Forrest. 3. When I "forrest run" it it shows now look and works OK Now questions: 1. What are the primary changes that makes site look diferent? I don't = mean files, i mean what is the idea. 2. If there are views, where is the code that tells "use views to rende= r site"? 3. If I write my own contract, where to place it? How it is involved in= process? Generally, I miss informations about upper level ideas about structure = of view, its components and relations to other thing. I know that they a= re internal plugins but maybe that is the problem, because now I still t= hink in "output plugin way" and miss the keypoint diferences. I still think there is a simple manual which explaint "what the heck vi= ews are" :) I've already read mailinglist archive but still no idea, no = light :) The main problem for me are examples, please, give me some exam= ples of simple sites there are rendered using views and points how that = views are used there... I'm sorry byt really I'm no so smart in way of u= nderstanding new things without examples. > > I would recomend a first step is just to create your own version of t= his > plugin that adds a new meta tag saying that the voice plugin has been= > there. Later we will use your stylesheets to create the real plugin. Ok, this seems that I need to rewrite some simple files and change it t= o voice plugin or use voice plugin there? Sorry, I'am still lost... I have really big troubles to explain what ca= n't I undertand :( Sorry. > > I hope that helps to dispell some of the confusion, at the very least= I > hope it gets you to a point where you can ask specific questions that= we > can more clearly target, if not let me know and I'll actually do what= I > am describing so you can see it. > > Ross > > [1] > http://svn.apache.org/viewcvs.cgi/forrest/trunk/whiteboard/plugins/or= g.apache.forrest.plugin.output.viewHelper.xhtml/resources/templates/site= info-meta.ft?rev=3D280280&view=3Dmarkup > > > >