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
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";
}
}));
I have the following:
DateTextField when = new DateTextField("when", newPropertyModel(bloodPressure,
"when"), "M/d/");
when.setOutputMarkupId(true);
when.add(new DatePicker());
When the form loads with pre-existing date of this format: "5/1/09", I get
the following error:
java.lang.Illeg
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 l
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 wrote:
> Hello,I have a con
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 l
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.
private static final List IRREGULAR_HEARTBEAT =
Arrays.asList(newString[] {
"yes", "no" });
RadioChoice irregular =