jWeekend escreveu:
Adriano,

I'm glad it was useful - these classes make DDCs pretty versatile.

Wicket 1.3 is designed to be ale to run on Java versions before 1.5 (when
generics were introduced to the language). Take a look at http://wicket.apache.org/docs/1.4/ SelectOption in Wicket 1.4 if you are
using Java 5 or better.
I'm using Wicket 1.4. :-)

Let me explain. The problems are:
- Select is not generified. It receives an unparameterized Model.
- SelectOption is parameterized, but we should rely on getDefaultModel (that returns a IModel<?>), so it getDefaultModel().getObject() always returns an Object.


Adriano


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

Reply via email to