• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

knowledgepixels / nanodash / 17837235071

18 Sep 2025 05:58PM UTC coverage: 13.87%. Remained the same
17837235071

push

github

tkuhn
chore: Remove serialVersionUIDs

443 of 4022 branches covered (11.01%)

Branch coverage included in aggregate %.

1133 of 7341 relevant lines covered (15.43%)

0.68 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
src/main/java/com/knowledgepixels/nanodash/component/InvalidityHighlighting.java
1
package com.knowledgepixels.nanodash.component;
2

3
import org.apache.wicket.Component;
4
import org.apache.wicket.behavior.Behavior;
5
import org.apache.wicket.markup.ComponentTag;
6
import org.apache.wicket.markup.html.form.FormComponent;
7

8
/**
9
 * A Wicket behavior that adds a CSS class to form components that are invalid.
10
 */
11
public class InvalidityHighlighting extends Behavior {
12

13
    /**
14
     * Constructor for InvalidityHighlighting.
15
     * This behavior can be attached to any FormComponent to highlight invalid inputs.
16
     */
17
    public InvalidityHighlighting() {
×
18
    }
×
19

20
    /**
21
     * {@inheritDoc}
22
     */
23
    @Override
24
    public void onComponentTag(Component c, ComponentTag tag) {
25
        FormComponent<?> fc = (FormComponent<?>) c;
×
26
        if (!fc.isValid()) {
×
27
            tag.append("class", "invalid", " ");
×
28
        }
29
    }
×
30

31
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc