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]