Thanks Massimo, it works... One more question: Is it possible to change "guess" although the html-file is named guess.html respectively the class-file guess.java?
Hans On Tue, 24 Apr 2007, Massimo Lusetti wrote: > On 4/24/07, Hans Braxmeier <[EMAIL PROTECTED]> wrote: > > > The tapestry tutorial demonstrates how to implement > > the Hi/Lo Game (Start and Guess Page). Is it possible > > to set the URL dependent on the guessed number? > > Let's say if I click 10 the Browser's URL should > > be http://localhost:8080/guess/10, if I click 5 the > > Browser's URL should be be http://localhost:8080/guess/5 > > (In Tapestry 4 we used ServiceEncoding) > > With that kind of URL the 10 and 5 numbers are considered page context > parameter so you can get at them with the onActivate/onPassivate > paradigm. > > > -- > Massimo > http://meridio.blogspot.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Abteilungen SAI und Stochastik Universität Ulm Helmholtzstr. 18 Raum E22 0731/50-23575 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]