Sorry: is "guess.link" or "guess.guess" in ""What is "guess.link"?.... " ??
banmig wrote: > > I believe that the documentation of the tutorial one is incorrect:] > > " > > <p>Make a guess between one and ten:</p> > > <t:loop source="1..10" value="guess"> > <t:actionlink t:id="guess" context="guess">${guess}</t:actionlink> > </t:loop> > > </body> > > " > In the same page: > > "What is "guess.link"? That's the name of the page, "guess", and the id of > the component ("link", as explicitly set with the t:id attribute)." > > More below: > > " > > String onActionFromLink(int guess) > { > if (guess == _target) return "GameOver"; > > if (guess < _target) > _message = String.format("%d is too low.", guess); > else > _message = String.format("%d is too high.", guess); > > return null; > } > > " > > [], > Anderson > > -- View this message in context: http://www.nabble.com/-T5----Tutorial-Error-tf4437563.html#a12661642 Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]