>
> I took a look to:
>> http://wiki.apache.org/tapestry/Tapestry5HowtoSelectWithObjects
>>
>
> That approach, in my humble opinion, is plain wrong. You have to retrieve a
> list of objects when you need just one of them (wrong) or put a list in a
> session (very wrong). Create one instance of OptionModelImpl for each of
> your options (objects) and pass them to a SelectModelImpl.
>

Both of these Impl classes are in an internal package inside Tapestry. I
have always wondered whether it is considered good practice to instantiate
these internal classes directly in our code?

Benny

Reply via email to