Thanks Timo,
didn't saw the list model. Is it 1.4-only? Have to investigate the diffs
between 1.3 and 1.4 more detailed.
Cheers
Per
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands,
1.3? in 1.3 the model is not generified...
-igor
On Wed, Jan 21, 2009 at 10:38 AM, Per Newgro per.new...@gmx.ch wrote:
Thanks Timo,
didn't saw the list model. Is it 1.4-only? Have to investigate the diffs
between 1.3 and 1.4 more detailed.
Cheers
Per
Oh sure. Thanks for clearing this.
Per
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
BasePanel is
public abstract class BasePanelT 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
You declare the class with MySerializableClass as generic parameter to
BasePanel, but try to put ListMySerializableClass in constructor.
That can't work.
Why can't you use ListMySerializableClass as generic parameter when
extending BasePanel?
-Matej
On Tue, Jan 20, 2009 at 7:22 PM, Per Newgro
Do you mean that way?
public class MyPanel extends BasePanelListMySerializableClass {
public MyPanel(String pId) {
super(pId, new ModelListMySerializableClass(new
ArrayListMySerializableClass()));
}
}
That way i get
Bound mismatch: The type ListMySerializableClass is not a valid
A Model is serialized, therefore the object contained within it must
be serializable. Perhaps you need a LoadableDetachableModel of some
sort?
On Tue, Jan 20, 2009 at 2:03 PM, Per Newgro per.new...@gmx.ch wrote:
Do you mean that way?
public class MyPanel extends
Sure thats what i've red in the docs to. But i don't see it for my
special case.
I will get a NoSerializableException if it's not. So where is the problem?
But as i wrote - i can deal with that implementation, if i get out of my
problem.
Thanks
Per
On Tue, 20 Jan 2009, Per Newgro wrote:
super(pId, new ModelListMySerializableClass(new
ArrayListMySerializableClass()));
super(pId, new ListModelMySerializableClass(new
ArrayListMySerializableClass()));
https://issues.apache.org/jira/browse/WICKET-1745
Best wishes,
Timo
--
Timo
2009/1/20 James Carman jcar...@carmanconsulting.com:
A Model is serialized, therefore the object contained within it must
be serializable.
Uh? What about stateless pages?
-
To unsubscribe, e-mail:
Hi *,
i would like to know how i should get this to work:
class MyPanel extends BasePanelMySerializableClass {
public MyPanel(String id) {
super(id, new ModelListMySerializableClass(new
ArrayListMySerializableClass()));
}
}
Compiler says: The constructor
how is basepanel declared?
-igor
On Mon, Jan 19, 2009 at 12:35 PM, Per Newgro per.new...@gmx.ch wrote:
Hi *,
i would like to know how i should get this to work:
class MyPanel extends BasePanelMySerializableClass {
public MyPanel(String id) {
super(id, new
12 matches
Mail list logo