On Mon, May 18, 2009 at 4:44 PM, Jan Kriesten
<[email protected]> wrote:
>
> Hi Ian,
>
>> Thanks for that.  For your solution to work it looks like wicket would
>> need to only call getInputName at most once for each input (since
>> subsequent calls would return different names).  Is that how it works?
>
> no, within the trait I override the 'def getInputName' from Wicket with a 'val
> getInputName' - i.e. even when Wicket is calling it more than once it is still
> only evaluated once. That's another nice thing Scala provides... :-)
>

Ah!  Thanks for clarifying that.

Ian.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to