Re: T5: Loop with variables

2007-11-06 Thread Tobias Wehrum
Hi Howard, thanks for the fast answer, IntegerRange solved the problem. Maybe you could suggest this in your tutorial. Keep up the great work, Tobias Howard Lewis Ship schrieb: The x...y syntax is limited to constant values for x and y. I think a future release of Tapestry will increase the

Re: T5: Loop with variables

2007-11-06 Thread Howard Lewis Ship
The x...y syntax is limited to constant values for x and y. I think a future release of Tapestry will increase the power of the built-in expression language, but for the moment, there you go. The x..y syntax is ultimately converted into an instance of IntegerRange, so one way would be to create a

T5: Loop with variables

2007-11-06 Thread Tobias Wehrum
Hi all, I am currently working with the tutorial 1 at the Tapestry 5 homepage ( http://tapestry.apache.org/tapestry5/tutorial1/hilo.html ). Now, one of the further tasks there is "As we guess, we're identifying ranges of valid and invalid numbers. Can you only show valid guesses to the user?