Thx,
J.
Martijn Dashorst wrote:
label.add(new AttributeModifier("class", true, new Model() { public
Object getObject() { return formcomponent.isValid() ? "" : "error";
}});
On Sun, Jun 1, 2008 at 8:05 PM, Jürgen Lind <[EMAIL PROTECTED]> wrote:
Hi,
I am looking for the solution for a quite c
label.add(new AttributeModifier("class", true, new Model() { public
Object getObject() { return formcomponent.isValid() ? "" : "error";
}});
On Sun, Jun 1, 2008 at 8:05 PM, Jürgen Lind <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am looking for the solution for a quite common problem: I want the label
Hi,
I am looking for the solution for a quite common problem: I want the label
of a form element to change its color if the input is invalid. Searching the
web I found some very old postings of Igor and Jonathan discussing this matter;
however, I have not found any links to the final solution. Ca