I just spent a bit of time looking for how to redirect, I got halfway through
http://wiki.apache.org/tapestry/Tapestry5RedirectException but LinkFactory
is not a part of 5.2. This threads placement was fortuitously placed. Thanks
Thiago.
Thiago H. de Paula Figueiredo wrote:
>
> On Thu, 01 Jul
On Thu, 01 Jul 2010 15:09:04 -0300, Chanticleer wrote:
but honestly, how hard can it be for someone to include a simple
redirect() in their framework?
Tapestry already provides a very elegant and flexible way of doing
redirects, so I think there's no need for a redirect() method.
anyway,
On Thu, 01 Jul 2010 14:44:57 -0300, Chanticleer wrote:
i meant a metaphorical beating :)
:)
but do you think you can share me the code to do that redirect? i cant
for the life of me figure it out. thanks
The documentation is here:
http://tapestry.apache.org/tapestry5.1/guide/pagenav.ht
e-
> From: Chanticleer
> Date: Thu, 1 Jul 2010 10:44:57
> To:
> Reply-To: "Tapestry users"
> Subject: Re: Redirect page
>
>
> i meant a metaphorical beating :) but do you think you can share me the
> code
> to do that redirect? i cant for the life
:57
To:
Reply-To: "Tapestry users"
Subject: Re: Redirect page
i meant a metaphorical beating :) but do you think you can share me the code
to do that redirect? i cant for the life of me figure it out. thanks
Thiago H. de Paula Figueiredo wrote:
>
> On Thu, 01 Jul 2010 11:56
i meant a metaphorical beating :) but do you think you can share me the code
to do that redirect? i cant for the life of me figure it out. thanks
Thiago H. de Paula Figueiredo wrote:
>
> On Thu, 01 Jul 2010 11:56:48 -0300, Chanticleer
> wrote:
>
>> I have no idea why it should be so hard to d
On Thu, 01 Jul 2010 11:56:48 -0300, Chanticleer wrote:
I have no idea why it should be so hard to do redirects. Its such an
integral part of web apps.
What's hard about creating one onActivate() method that returns a page
instance, a page class instance or a java.util.URL?
this Howard g
I have no idea why it should be so hard to do redirects. Its such an integral
part of web apps. this Howard guy must be beaten
Benny Law wrote:
>
> I wish it were built into Tapestry 5 too. It was in previous versions. I
> don't fully understand why Howard took it out, and I don't know of any
Thank you. I hope it works.
On Thu, Sep 10, 2009 at 7:32 PM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:
> Em Thu, 10 Sep 2009 01:18:11 -0300, Xuan Tran Le
> escreveu:
>
> -- B class -
>> @InjectPage
>> private C c;//page C
>>
>> Object onActivate() {
>> ret
Em Thu, 10 Sep 2009 01:18:11 -0300, Xuan Tran Le
escreveu:
-- B class -
@InjectPage
private C c;//page C
Object onActivate() {
return c;
}
This should do the redirection. If not, try making your onActivate method
public. You could also return C.class.
All you need
I wish it were built into Tapestry 5 too. It was in previous versions. I
don't fully understand why Howard took it out, and I don't know of any
built-in mechanism to abort the current page and redirect to another. I
guess this is why somebody created the wiki entry. I followed it (with some
modific
Thanks you so much. Maybe I have to follow this link:
http://wiki.apache.org/tapestry/Tapestry5RedirectException
Is there any built-in for this? I think that my problem is rather common.
Why don't you make it be a tapestry built-in?
On Thu, Sep 10, 2009 at 11:30 AM, Benny Law wrote:
> I would t
I would try something like this:
in B class...
@PageAttached
private void redirectToC() {
// ...
throw new RedirectException("..."); // URL for C
}
You will need to create RedirectException. I believe there is something in
the wiki on how to handle this exception in AppModule.
Hope thi
13 matches
Mail list logo