org.apache.myfaces.extensions.validator.core.validation.message
Interface LabeledMessage


public interface LabeledMessage

Allows the setting and the retrieval of the label text that goes with an input component. This label text is used for the violation message to indicate where the problem occurred. don't remove *Text - it would lead to an overlap with trinidad. Used to create a special FacesMessage ViolationMessage that can hold the label text.

Since:
1.x.2

Method Summary
 String getLabelText()
          Get the text for of the label of the input component.
 void setLabelText(String label)
          Set the text for the label of the input component.
 

Method Detail

getLabelText

String getLabelText()
Get the text for of the label of the input component.

Returns:
label text

setLabelText

void setLabelText(String label)
Set the text for the label of the input component.

Parameters:
label - label text.


Copyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.