Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 14868 invoked from network); 24 Sep 2005 11:11:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Sep 2005 11:11:04 -0000 Received: (qmail 14474 invoked by uid 500); 24 Sep 2005 11:11:04 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 14282 invoked by uid 500); 24 Sep 2005 11:11:03 -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 14269 invoked by uid 99); 24 Sep 2005 11:11:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Sep 2005 04:11:03 -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 [80.242.32.2] (HELO dmzms01.aramiska.net) (80.242.32.2) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Sep 2005 04:11:11 -0700 Received: from ip-213-92-134-135.aramiska-arc.aramiska.net (ip-213-92-134-135.aramiska-arc.aramiska.net [213.92.134.135]) by dmzms01.aramiska.net (Postfix) with ESMTP id 7EB2711005F for ; Sat, 24 Sep 2005 11:10:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by ip-213-92-134-135.aramiska-arc.aramiska.net (Postfix) with ESMTP id E720F50DC for ; Sat, 24 Sep 2005 11:10:31 +0000 (UTC) Received: from [192.168.164.210] (ip-192-168-1-3.internal.rhbmesh.aramiska.net [192.168.1.3]) by ip-213-92-134-135.aramiska-arc.aramiska.net (Postfix) with ESMTP id DDF6B957 for ; Sat, 24 Sep 2005 11:10:27 +0000 (UTC) Message-ID: <43353423.1070506@apache.org> Date: Sat, 24 Sep 2005 12:10:27 +0100 From: Ross Gardler User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@forrest.apache.org Subject: Re: voice stylesheet and views References: <20050923171553.3C4EEB75.EAA3714E@158.195.103.195> In-Reply-To: <20050923171553.3C4EEB75.EAA3714E@158.195.103.195> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by Aramiska Arc X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N HANAX wrote: >>HANAX wrote: ... >>>Now my problem: >>>1. Originally I had my template for generating "voice head" >>>2. I have contract voice-markup.ft >>>3. I added my original voice stylesheet template under some forrest:template node in contract and rename it to voice-markup-head >>>4. No results :( >> >> >>What do you mean "no result", do you get any output at all? > > > > As no result I mean: > > I have: > > > > > > > > > > > > > > ... > > > but nothing in header in result page... > Anyway, why it must be named "voice-markup-head"? > ... >>http://svn.apache.org/repos/asf/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.viewHelper.xhtml/resources/templates/content-main.ft >>http://svn.apache.org/repos/asf/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.viewHelper.xhtml/resources/templates/content-title.ft Notice how the template in the above is named with the name of the contract, for example, in the content-main contract we have: THe *-body part means that template will be called to insert relevant content into the body. Now look at the skeleton template I created for you in the voice plugin: http://svn.apache.org/repos/asf/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/templates/voice-markup.ft It is called voice-markup and has a template named voice-markup-head. That template will be called to gneerate the head stuff for a document using this contract. So, your stylesheet above should have something like: However, Thorsten is making changes to views right now. These changes are affecting the way the contracts should be built and at present I have no idea what we are supposed to do because the work is incomplete and I am not in the position to examine what has been done so far. He is reading this thread though so he'll speak up if we need to know anything. Ross