Example usage for org.apache.wicket Component hasBeenRendered

List of usage examples for org.apache.wicket Component hasBeenRendered

Introduction

In this page you can find the example usage for org.apache.wicket Component hasBeenRendered.

Prototype

public final boolean hasBeenRendered() 

Source Link

Document

Gets whether this component was rendered at least once.

Usage

From source file:com.zenika.wicket.contrib.jsr303validators.JSR303ValidationListener.java

License:Apache License

/**
 * {@inheritDoc}//from  w  ww  . ja v  a  2  s . com
 */
public void onBeforeRender(Component component) {
    if ((component instanceof AbstractTextComponent<?>) && !component.hasBeenRendered()) {
        processComponent((AbstractTextComponent<?>) component);
    }
}