|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry.valid.ValidationDelegate
org.musicontroller.gui.NextToFieldErrorDisplayDelegate
public class NextToFieldErrorDisplayDelegate
Displays validation errors in the add user form.
| Constructor Summary | |
|---|---|
NextToFieldErrorDisplayDelegate()
|
|
| Method Summary | |
|---|---|
void |
writeLabelAttributes(org.apache.tapestry.IMarkupWriter writer,
org.apache.tapestry.IRequestCycle cycle,
org.apache.tapestry.form.IFormComponent component)
Adds a class style attribute to the label if in error |
void |
writePrefix(org.apache.tapestry.IMarkupWriter writer,
org.apache.tapestry.IRequestCycle cycle,
org.apache.tapestry.form.IFormComponent component,
org.apache.tapestry.valid.IValidator validator)
This method is overwritten so that the error message generated during server-side validation actually appears next to the field in question. |
| Methods inherited from class org.apache.tapestry.valid.ValidationDelegate |
|---|
afterLabelText, beforeLabelText, clear, clearErrors, findCurrentTracking, getAssociatedTrackings, getComponentTracking, getCurrentFieldTracking, getErrorRenderers, getFieldInputValue, getFieldTracking, getFieldTracking, getFirstError, getFocusField, getHasErrors, getUnassociatedTrackings, isInError, isInError, record, record, record, record, recordFieldInputValue, registerForFocus, reset, setFormComponent, writeAttributes, writeLabelPrefix, writeLabelSuffix, writeSuffix |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NextToFieldErrorDisplayDelegate()
| Method Detail |
|---|
public void writePrefix(org.apache.tapestry.IMarkupWriter writer,
org.apache.tapestry.IRequestCycle cycle,
org.apache.tapestry.form.IFormComponent component,
org.apache.tapestry.valid.IValidator validator)
writePrefix in interface org.apache.tapestry.valid.IValidationDelegatewritePrefix in class org.apache.tapestry.valid.ValidationDelegate
public void writeLabelAttributes(org.apache.tapestry.IMarkupWriter writer,
org.apache.tapestry.IRequestCycle cycle,
org.apache.tapestry.form.IFormComponent component)
writeLabelAttributes in interface org.apache.tapestry.valid.IValidationDelegatewriteLabelAttributes in class org.apache.tapestry.valid.ValidationDelegate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||