Return-Path: Delivered-To: apmail-tapestry-users-archive@www.apache.org Received: (qmail 63582 invoked from network); 4 Jun 2007 19:15:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Jun 2007 19:15:22 -0000 Received: (qmail 25379 invoked by uid 500); 4 Jun 2007 19:15:09 -0000 Delivered-To: apmail-tapestry-users-archive@tapestry.apache.org Received: (qmail 25358 invoked by uid 500); 4 Jun 2007 19:15:09 -0000 Mailing-List: contact users-help@tapestry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tapestry users" Delivered-To: mailing list users@tapestry.apache.org Received: (qmail 25339 invoked by uid 99); 4 Jun 2007 19:15:09 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jun 2007 12:15:09 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of alvaro.tovar@gmail.com designates 64.233.162.232 as permitted sender) Received: from [64.233.162.232] (HELO nz-out-0506.google.com) (64.233.162.232) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jun 2007 12:15:04 -0700 Received: by nz-out-0506.google.com with SMTP id i1so1165759nzh for ; Mon, 04 Jun 2007 12:14:43 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=MZap7dyJi2rRUpNxjXOK8hh5kHK0ltmmYVIDkXqkeScBUy9r4Gb3auITf2kJf5OKKSLnTt9mDxdgS9qXvJyxKgWTDQii3Mvf/8/v/aermEVEktvbnB9+tme7kCOA4sR1PsktOfpq60SopVlLm0tOvjF2bm+78OkperA2zLHDkQQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=cWOpM1hqF/3N4prkKN6qjmJYhqN0SHJzN0dHCKi3HLfp9s/eNb3SR2LbTmIavoilqc1EihZOeYGQdhGU8BN4n6bL5RuZ+lYo9pctGttoe8JklNqnJVo+41+dlBCzQwBESSw+CPVmf3zPOVsszdaGvFEDULXLkMFml0IAkmkUcnw= Received: by 10.114.190.6 with SMTP id n6mr5186480waf.1180984483067; Mon, 04 Jun 2007 12:14:43 -0700 (PDT) Received: by 10.115.48.13 with HTTP; Mon, 4 Jun 2007 12:14:43 -0700 (PDT) Message-ID: <8e8876a20706041214x5a4d4b8dh4d154db620ed23f5@mail.gmail.com> Date: Mon, 4 Jun 2007 14:14:43 -0500 From: "alvaro tovar" To: "Tapestry users" Subject: Re: BreadCrumb thoughts... In-Reply-To: <10953676.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_8761_26501881.1180984483012" References: <466434C9.10305@cumquat.nl> <10953676.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_8761_26501881.1180984483012 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline hi, in zope (www.zope.org ) i see a way to create a navigation bar, but this is based in the files in the actually folder. This create a list of links to the page that are in the actuall folder. maybe is posible copy this idea. i don't know if this is avaible o funtionaly. On 6/4/07, Jacob Bergoo wrote: > > > Hi Jan, > try this: > > in your java file: > > @InjectObject("engine-service:external") > public abstract IEngineService getExternalService(); > > > String linkURL = getExternalService().getLink(false, new > ExternalServiceParameter("YourPageName", new Object[] {parameter1, > parameter2, ...})).getURL()); > > > > in your page file: > > public abstract class YourPage extends BasePage implements IExternalPage , > PageBeginRenderListener { > > public abstract Long getParameter1(); > public abstract void setParameter1(Long id); > > public abstract Long getParameter2(); > public abstract void setParameter2(Long id); > > .... > > > public void pageBeginRender(PageEvent event) { > // Do something here with the parameters > } > > public void activateExternalPage(Object[] parameters, > IRequestCycle cycle) > { > setParameter1((Long)parameters[0]); > setParameter2((Long)parameters[1]); > } > > > > } > > Hopes it helps, > Jacob > > > > > > -- > View this message in context: > http://www.nabble.com/BreadCrumb-thoughts...-tf3866074.html#a10953676 > Sent from the Tapestry - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org > For additional commands, e-mail: users-help@tapestry.apache.org > > ------=_Part_8761_26501881.1180984483012--