Martijn Dashorst wrote:
Matej had the brilliant idea of auto discovery of the type parameter
for FormComponents when they use a PropertyModel or
CompoundPropertyModel. In order to remove confusion for noobs, and to
point out that there is a Better Way (tm) I propose the following
options:

For those wondering if it is still possible to set the target type:
yes you can, just use the setType() method on the form component.

I know it is a tad late in the game, but I think the clean up is
something worthwile.

[ ] remove the affected FormComponent constructors with the type parameter
[ ] deprecate the affected FormComponent constructors with the type parameter
[ ] leave them

Ugh. We still seem to be changing lots of fundamental stuff, don't we. :-)

I vote:
[x] deprecate them for beta3

We could possibly remove them for rc1, but that makes migration from 1.2.x harder, doesn't it?

Al
--
Alastair Maw
Wicket-biased blog at http://herebebeasties.com

Reply via email to