You declare the class with MySerializableClass as generic parameter to
BasePanel, but try to put List<MySerializableClass> in constructor.
That can't work.

Why can't you use List<MySerializableClass> as generic parameter when
extending BasePanel?

-Matej

On Tue, Jan 20, 2009 at 7:22 PM, Per Newgro <[email protected]> wrote:
> BasePanel is
>
> public abstract class BasePanel<T> extends Panel implements IChangeHandler {
>
>   /**
>    * Constructor of BasePanel
>    * @param pId wicket id of component
>    */
>   public BasePanel(String pId) {
>       super(pId);
>   }
>
>   /**
>    * Constructor of BasePanel
>    * @param pId wicket id of component
>    * @param pModel path to model data
>    */
>   public BasePanel(String pId, IModel<T> pModel) {
>       super(pId, pModel);
>   }
> }
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

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

Reply via email to