Redirect to URL with params

2010-11-25 Thread Gnu Ubuntu
Hi! I need to redirect user to an url with some parameters (simulate a post without form). Can you help me to do that, please ? Thanks in advance.

Re: Redirect to URL with params

2010-11-25 Thread Gnu Ubuntu
Thanks Richard for your response. What I want is to do a post request but my page dosn't contain any form. The user will be redirected to an URL with some parameters and after that I must get some other parameters from the response. I hope that is more clear now. Thanks.

Re: Redirect to URL with params

2010-11-25 Thread Gnu Ubuntu
hat determines whether you redirect or render the page > (returning null will mean that PageA is rendered). > > Or instead of a in PageA you could use an > instead, and return the Link in the onActionFromYourLink(). > > Hope that helps. > > > > > > > > &g

Re: Redirect to URL with params

2010-11-26 Thread Gnu Ubuntu
Hi, It not works, because I redirect to an external URL with params. So I don't know if I must use Response object, and if so how to pass params to it? Thanks in advance.

Get referer url

2010-12-08 Thread Gnu Ubuntu
Hi, In my app I'm redirected to an external url, and after I need to return to my app. I'm looking for a way to store the referer url before exiting my app to return to. For now, I'm using : String referer = request.getHeader("referer"); But it's not safe to referer to this browser information. Do

Dynamic Layout

2011-01-23 Thread Gnu Ubuntu
Hi, I need to apply an if condition in the in a layout component. In my layout I want to do : http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";> Error in Page title ... So I can get the information that current page is in error (information stored in session),

Re: Dynamic Layout

2011-01-23 Thread Gnu Ubuntu
Thanks for your responses. I can't paste code here, but I works for other use's cases. My method tell me if my form in current page is on error. And in this case I need to add the word "Error" in title of this page. I hope it's more clear now. So the second why proposed by Taha is not useful in th

Filter exclusion

2011-02-08 Thread Gnu Ubuntu
Hi, I have an event filter that implement "ComponentEventRequestFilter". My project is devided on two packages A & B. I need to exclude B from the filter, so the filter is not applicable for all pages in this package. Can you tell how to do ? Thanks in advance.