I want to use panels in a generic way with no need to cast, if I use getDefaultModel and getDefaultModelObject.
This issue has been thoroughly discussed, and thats why Panel is currently not implemented using generics.
Please provide a class TypedPanel instead, that can be used interchangeably with Panel itself.
The Implementation could provide the following Methods:
public T getDefaultModel()
public T getDefaultModelObject()
That would make usage of typed panels much more cleaner.
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Assignee||Martin Grigorov [ mgrigorov ]|
|Fix Version/s||1.5-RC5 [ 12316423 ]|
|Resolution||Fixed [ 1 ]|
|Attachment||0001-WICKET-3652-TypedPanel-and-TypedWebPage-to-provide-T.patch [ 12480743 ]|
|Field||Original Value||New Value|
|Attachment||0001-TypedPanel-to-provide-TypeSafe-access-to-underlying-.patch [ 12477650 ]|