wicket 1.3.6/1.3.7 PagingNavigation broken

2009-08-31 Thread james o'brien
Paging navigation produces links (page 2) with start greater than end, produces the wrong number of pages and is generally borked. Has anyone else noticed this?--jim

label fails serializable check when i override model().getObject (wicket 1.3.6)

2009-08-27 Thread james o'brien
I'm trying to change the text of label based on whether a flag is set for graph or not graph. graphLink.add(new Label(graphLinkLabel, new Model() { @Override public Object getObject() { return isGraph ? List : Graph; } })); When

Validator class cast exception wicket 1.3.5

2009-05-13 Thread james o'brien
Hello,I have a converter which I can verify is being called, but when the validator is being called it is not being called on the String value but the object which causes a ClassCastException. Here is my converter: @Override protected IConverterLocator newConverterLocator() { ConverterLocator

Re: Validator class cast exception wicket 1.3.5

2009-05-13 Thread james o'brien
Hi Igor, I'm a little confused. I attached a StringValidator - shouldn't that work on a String? Also I assumed Validators work on the values of form fields after converted to String?Thanks, --jim On Wed, May 13, 2009 at 10:00 AM, james o'brien jobr...@spinnphr.comwrote: Hello,I have

Validator class cast exception wicket 1.3.5

2009-05-13 Thread James O'Brien
Hello,I have a converter which I can verify is being called, but when the validator is being called it is not being called on the String value but the object which causes a ClassCastException. Here is my converter: @Override protected IConverterLocator newConverterLocator() { ConverterLocator

radiochoice and propertymodel ignoring converter (wicket 1.3.5)

2009-05-06 Thread james o'brien
I have a custom converter registered for Boolean.class that converts yes to Boolean(true) and no to Boolean(false). When the RadioChoice loads the converter is never called. code private static final ListString IRREGULAR_HEARTBEAT = Arrays.asList(newString[] { yes, no }); RadioChoice