You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by mpaniagua <mp...@gmail.com> on 2009/12/03 22:48:08 UTC

passing URL parameters

Hello there!
 
    I'm a Tapestry beginner.  I'm using Tapestry 4  and I need to build a
url to pass some parameters, 
    i.e. a costumer id, something like:

   http://localhost:8080/StockQuote/app?page=home/232

   where 232 is a costumer id.  Is there a listener or something to catch
the request before it gets 
   rendered?


   I read that onActivate does something like this in Tapestry 5. Is there
anything like this on Tapestry 4?

  Thanks!!!
-- 
View this message in context: http://old.nabble.com/passing-URL-parameters-tp26633795p26633795.html
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


Re: passing URL parameters

Posted by Andreas Andreou <an...@di.uoa.gr>.
Well, to answer the original question - after the quick commercial :) -,
you generally want to let the framework generate the urls or the links
for you... Check out ExternalLink [1] component and implement IExternalPage
in your page

[1] http://tapestry.apache.org/tapestry4.1/components/link/externallink.html

On Fri, Dec 4, 2009 at 12:08 AM, Thiago H. de Paula Figueiredo
<th...@gmail.com> wrote:
> Em Thu, 03 Dec 2009 19:48:08 -0200, mpaniagua <mp...@gmail.com>
> escreveu:
>
>> Hello there!
>
> Hi!
>
>>   I'm a Tapestry beginner.  I'm using Tapestry 4
>
> If you're a beginner, why don't you use Tapestry 5.1? Unless you need to
> work in an existing Tapestry 4 project, there's no reason to use a past and
> harder to learn version of Tapestry.
>
> About your question, I don't use Tapestry 4 for a looooooooooong time, since
> the Tapestry 5.0.4 (maybe 5.0.3, I can't recall) times.
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and
> instructor
> Owner, software architect and developer, Ars Machina Tecnologia da
> Informação Ltda.
> http://www.arsmachina.com.br
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>



-- 
Andreas Andreou - andyhot@apache.org - http://blog.andyhot.gr
Tapestry / Tacos developer
Open Source / JEE Consulting

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: passing URL parameters

Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
Em Thu, 03 Dec 2009 19:48:08 -0200, mpaniagua <mp...@gmail.com>  
escreveu:

> Hello there!

Hi!

>    I'm a Tapestry beginner.  I'm using Tapestry 4

If you're a beginner, why don't you use Tapestry 5.1? Unless you need to  
work in an existing Tapestry 4 project, there's no reason to use a past  
and harder to learn version of Tapestry.

About your question, I don't use Tapestry 4 for a looooooooooong time,  
since the Tapestry 5.0.4 (maybe 5.0.3, I can't recall) times.

-- 
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor
Owner, software architect and developer, Ars Machina Tecnologia da  
Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org