Description
I have the following in my custom ValidationDelegate:
public void writeAttributes(IMarkupWriter writer, IRequestCycle cycle,
IFormComponent component, IValidator validator) {
if (isInError())
}
However, rather than just writing a single "class" attribute, it writes two:
class="text large error" class="text large"
Ideally, only one "class" attribute gets written. Maybe IMarkupWriter nees an appendAttribute() method, or it just needs to be smart enough to detect duplicates?
Attachments
Attachments
Issue Links
- relates to
-
TAPESTRY-550 IMarkupWriter should automatically filter out duplicate attributes when rendering an element
- Resolved