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


public interface LabeledMessage

Allows to create messages which also provide a label (e.g. the label text of the label which is linked to an input component). It allows to replace the label placeholder with the label text. 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 of the label (usually the label of an input component).
 void setLabelText(String label)
          Set the text for the label of the input component.
 

Method Detail

getLabelText

String getLabelText()
Get the text of the label (usually the label of an 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-2012 The Apache Software Foundation. All Rights Reserved.