Re: t5: dispatcher not fired in the start page

2008-03-08 Thread Angelo Chen
Hi Filip S, Can you show me sample code of doing that? here is my simple code: public boolean dispatch(Request request, Response response) throws IOException { Cookie[] cookies = cookieSource.getCookies(); if (cookies != null) { for (Cookie c : cookies) {

Re: t5: dispatcher not fired in the start page

2008-03-08 Thread Filip S. Adamsen
Angelo, I do exactly that in the request handling pipeline using a ComponentEventRequestFilter and a PageRenderRequestFilter. Works beautifully and let's you get the page name etc. easily from the supplied parameters. Pretty much doesn't get any easier than that. :) -Filip Angelo Chen skrev

Re: t5: dispatcher not fired in the start page

2008-03-08 Thread Angelo Chen
hi Howard, Thanks, cookieDispatcher check if a user cookie already exist, if yes, then it will log in the user using a login service, I don't know if it works with request handling pipelines. A.C. Howard Lewis Ship wrote: > > > What does CookieDispatcher do? It probably is a better fit for o

T5: Dynamic Select Options

2008-03-08 Thread ryanskow
Is there a 'good' way to set the options of a Select box based on the value selected in another Select box? A classic example would be vehicle Makes and Models - for instance, when 'Ford' is selected in the 'make' select box, the values of the 'model' select box would be set to 'Mustang','Explore

Re: [T5] Help getting generics to work

2008-03-08 Thread Howard Lewis Ship
Anything is possible in the future, though the Java language people have created a hideous, hard to support monster with Generics. On Fri, Mar 7, 2008 at 3:54 PM, buckofive <[EMAIL PROTECTED]> wrote: > > Howard, > > Thank you for the quick response! Are there intentions to get Tapestry to > su

Re: t5: dispatcher not fired in the start page

2008-03-08 Thread Howard Lewis Ship
The Start page is a special case, and should be relegated to the "backwards compatibility" scrap heap. Recognizing the Start page is its own Dispatcher and is probably being processed before your CookieDispatcher. What does CookieDispatcher do? It probably is a better fit for one of the request

Re: Tapestry + Problem with @contrib:AjaxStatus

2008-03-08 Thread sasidhar
Thanks Andreas. This solution works fine. However we need to clear Files(IE > Tools > Internet Options > Delete Files) in IE to get this reflected. Why is this so? Is there a way to make it work with out clearing Files in IE? Thanks in Advance, Giri Andreas Andreou wrote: > > I don't qu