Re: 404 from onActivate

2010-03-20 Thread Jan Jirout
app /* REQUEST ERROR Entirely possible that Jetty would route this to the app by default but I think it's off-spec. Kalle On Fri, Mar 19, 2010 at 2:50 PM, Jan Jirout wrote: Hi, I have same problem. I don't like solution with HTTP redirect

Re: 404 from onActivate

2010-03-19 Thread Jan Jirout
Hi, I have same problem. I don't like solution with HTTP redirect to page that return 404 also. This solution is not fully logic from user perspective. I would like to by able to show error404 without any redirect. I have tried in onActivation method code: response.sendError(404, null); whe

problems with page testing

2010-02-15 Thread Jan Jirout
Hi, I would like to ask about your testing practice. I have few problem with testing. Now I have simple T5 application with few pages and forms. 1) When I write page it's straightforward process I create components and then compose from them page. But when I write test for one page for each

Re: problem with component

2010-02-04 Thread Jan Jirout
he link knows it's for a form. The javadoc says: "Query parameters are never added to a forForm link." But I'm not coming up with a good reason why... if the form want's to treat the query params special then shouldn't it strip them off? Josh On Sun, Jan 31, 2010 at

Re: problem with component

2010-01-30 Thread Jan Jirout
e to see example application I can send it to conference. regards Jan Thiago H. de Paula Figueiredo wrote: On Sat, 30 Jan 2010 19:58:34 -0200, Jan Jirout wrote: Hi All, Hi! I have strange problem with URL rewriting. I'm changing path name in URLRewriterRule. In following way:

problem with component

2010-01-30 Thread Jan Jirout
Hi All, I have strange problem with URL rewriting. I'm changing path name in URLRewriterRule. In following way: public Request process(Request request, URLRewriteContext context) { return new SimpleRequestWrapper(request, "somePath"); } It works fine. Problem is with pa

page name generating

2009-12-08 Thread Jan Jirout
Hi, I have two probably related problems. 1) I have business object Article and User and also I have package com.myapp.pages. Inside this package are placed pages Article and User. Both of them works and contains with business object Article and User. It lead to state when I have to fully spe

Re: T5 returns garbage !?

2009-12-03 Thread Jan Jirout
Hi, I had the same when I generate images. Images was created by class implementing org.apache.tapestry5.services.Dispatcher. I forgot to properly close output stream and it sometimes caused same error. Jan Gunnar Eketrapp wrote: That did the trick! Super Thank You! /Gunnar 2009/12/3 nin

Re: Problem with property expressions

2009-12-02 Thread Jan Jirout
Hi, I would like to that you and Gunnar Eketrapp for help. It works for me now. thanks Jan Thiago H. de Paula Figueiredo wrote: Em Wed, 02 Dec 2009 08:32:31 -0200, Jan Jirout escreveu: Hi, Hi! I have problem with property expression. When I try to use: // Never use ${} when

Problem with property expressions

2009-12-02 Thread Jan Jirout
Hi, I have problem with property expression. When I try to use: // I expect that result context will be string like "orderdetail/3/2". But result URL is following: / / /http://localhost:8080/orderdetail/$005b223$002c$00201$005d/ Context contains encoded sign like '[', ']' and ','. I

Re: T5 Random Issue

2009-11-02 Thread Jan Jirout
Hi, I had same problem. I generate images manually by dispatcher. This happen when I sometimes didn't close output stream. regards Jan On Nov 2, 2009, at 5:34 PM, Carl Crowder wrote: I have no idea. My vague guess is that the browser isn't unzipping the GZipped content for some reason - p

Re: Problem with error404

2009-10-07 Thread Jan Jirout
Hi again, thanks for help. I have look at bug report that you have entered (https://issues.apache.org/jira/browse/TAP5-879 ). I have tested it. When I don't have "onActivate" method in my Index.java file and user tries access not existing page then Index is normally shown. Maybe it could b

Re: Problem with error404

2009-10-07 Thread Jan Jirout
ions work for me on Tomcat 5.5 (haven't tried on Tomcat 6). Kalle On Tue, Oct 6, 2009 at 3:05 AM, Jan Jirout wrote: Hi All, I'm playing some time with t5. I have meet simple problem. I hope that it's not my fault. So. I would like to handle "Error 404" in my applic

Re: Problem with error404

2009-10-06 Thread Jan Jirout
Have you tried with a ComponenRequestFilter instead ? Christophe 2009/10/6 Jan Jirout Hi All, I'm playing some time with t5. I have meet simple problem. I hope that it's not my fault. So. I would like to handle "Error 404" in my application so I have in

Problem with error404

2009-10-06 Thread Jan Jirout
Hi All, I'm playing some time with t5. I have meet simple problem. I hope that it's not my fault. So. I would like to handle "Error 404" in my application so I have in web.xml: app /* REQUEST ERROR