/** * {@inheritDoc} <br> * Also, {@link #beforeRender(Component)} will call {@link * IJQueryWidget#onBeforeRender(JQueryBehavior)} (if the component IS-A {@link IJQueryWidget})<br> * If a property is set in {@link #beforeRender(Component)} and is needed in {@link * IJQueryWidget#onBeforeRender(JQueryBehavior)}, {@code super.beforeRender(component)} should be * the last statement. */ @Override public void beforeRender(Component component) { super.beforeRender(component); if (component instanceof IJQueryWidget) { ((IJQueryWidget) component).onBeforeRender(this); } }