Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 44210 invoked from network); 5 Jan 2004 17:10:27 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 5 Jan 2004 17:10:27 -0000 Received: (qmail 91432 invoked by uid 500); 5 Jan 2004 17:10:17 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 91402 invoked by uid 500); 5 Jan 2004 17:10:16 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 91383 invoked from network); 5 Jan 2004 17:10:15 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by daedalus.apache.org with SMTP; 5 Jan 2004 17:10:15 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AdYF8-0001fN-00 for ; Mon, 05 Jan 2004 18:10:18 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: dev@cocoon.apache.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AdYF5-0001fF-00 for ; Mon, 05 Jan 2004 18:10:15 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AdYF5-0004zW-00 for ; Mon, 05 Jan 2004 18:10:15 +0100 From: Sylvain Wallez Subject: Re: Woody template transformer using jx macros Date: Mon, 05 Jan 2004 18:10:13 +0100 Lines: 43 Message-ID: References: <3FF7BAA5.2040700@verizon.net> <3FF7E71C.9070607@verizon.net> <3FF87BFB.3020508@verizon.net> <3FF8CE6A.8080109@reverycodes.com> <3FF9807D.8050508@reverycodes.com> <3FF996DE.9010904@verizon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: fr, en, en-us In-Reply-To: <3FF996DE.9010904@verizon.net> Sender: news X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Vadim Gritsenko wrote: > Sylvain Wallez wrote: >> Christopher, can you confirm this? I would be good to have the >> "widget" or "currentWidget" variable available to crawl the widget >> tree from any point in the template. > > > I don't know how to use those macros yet, but yes, "widget" is better > name than "ignored" :) Obviously ;-) To use the macros, just in the JX template as explained by Christopher in his first post. > Gotcha! So the options are either to use JX Generator + Woody > Transformer, or JX Generator + Woody Macros library, where macros > library performs all the stuff transformer was doing before. Exactly! > Just need to see what is performance difference (and compare with bare > woody transformer). Yep. Sylvain -- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects } Orixo, the opensource XML business alliance - http://www.orixo.com