Solved.
It was a class loading problem - IntelliJ in combination with Jetty.
WebAppContext context = new WebAppContext();
...
context.setParentLoaderPriority(true); // - Solution
Ingo
On 04.06.2010 00:52, Ingo Adler wrote:
Hi,
I'm trying to use wicketstuff-push in my project. I'm always
Hi,
I'm trying to use wicketstuff-push in my project. I'm always getting a
ClassCastException in the wicketstuff-push sources, which I can't explain:
java.lang.ClassCastException:
org.mortbay.cometd.continuation.ContinuationBayeux cannot be cast to
org.cometd.Bayeux
at
Not without the stacktrace. Please add it.
Cheers
Per
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
I'm getting this exception when calling getConvertedInput() on
birthDateField.
java.lang.ClassCastException: java.lang.String cannot be cast to
java.util.Date
I'm using wicket 1.4.1
birthDateField = new TextFieldDate(birthDate, new
ModelDate());
You forgot to set Type of the textfield... you know, generics are only
compile-deep.
public TextField(final String id, final ClassT type)
type - Date.class
**
Martin
2009/12/28 Sam Barrow s...@sambarrow.com:
I'm getting this exception when calling getConvertedInput() on
birthDateField.
I tried that too, still same error.
On Mon, 2009-12-28 at 16:02 +0200, Martin Makundi wrote:
You forgot to set Type of the textfield... you know, generics are only
compile-deep.
public TextField(final String id, final ClassT type)
type - Date.class
**
Martin
2009/12/28 Sam Barrow
did you try debugger and breakpoint?
2009/12/28 Sam Barrow s...@sambarrow.com:
I tried that too, still same error.
On Mon, 2009-12-28 at 16:02 +0200, Martin Makundi wrote:
You forgot to set Type of the textfield... you know, generics are only
compile-deep.
public TextField(final String id,
Hi Sam,
did you try
birthDateField = new TextFieldDate(birthDate, new ModelDate(),
Date.class);
Maybe it helps.
Cheers
Per
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail:
tried that, didn't work.
any other ideas?
On Mon, 2009-12-28 at 16:11 +0100, Per Newgro wrote:
Hi Sam,
did you try
birthDateField = new TextFieldDate(birthDate, new ModelDate(),
Date.class);
Maybe it helps.
Cheers
Per
Just debug it to find the reason.
**
Martin
2009/12/29 Sam Barrow s...@sambarrow.com:
tried that, didn't work.
any other ideas?
On Mon, 2009-12-28 at 16:11 +0100, Per Newgro wrote:
Hi Sam,
did you try
birthDateField = new TextFieldDate(birthDate, new ModelDate(),
Date.class);
Maybe
I'm creating my own DropDownChoice:
private class WeekdayChoice extends DropDownChoice {
public WeekdayChoice(String id,
IModel model) {
super(id, model, new
Model(new DateFormatSymbols().getWeekdays()));
It looks like your model object is returning a String[], while the class is
expecting a List.
On Thu, Apr 17, 2008 at 8:51 PM, Michael Mehrle [EMAIL PROTECTED]
wrote:
I'm creating my own DropDownChoice:
private class WeekdayChoice extends DropDownChoice {
Gee that looks weird. As far as I know, the only exotic stuff we do
with serializing is an optimization for page references. But I can't
see how that might relate to this.
Johan, any ideas? Any chance you could make a test case out of it Xavier?
Eelco
On 9/24/07, Xavier Hanin [EMAIL PROTECTED]
On 9/25/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
Gee that looks weird. As far as I know, the only exotic stuff we do
with serializing is an optimization for page references. But I can't
see how that might relate to this.
Johan, any ideas? Any chance you could make a test case out of it
On 9/25/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
On 9/24/07, Xavier Hanin [EMAIL PROTECTED] wrote:
On 9/25/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
Gee that looks weird. As far as I know, the only exotic stuff we do
with serializing is an optimization for page references. But
15 matches
Mail list logo