java.lang.Object
org.apache.myfaces.examples.inputsuggest.StateInfo
- public class StateInfo
- extends java.lang.Object
This class is basically designed to simulate an application-specific bean that might exist in some
application. The point here is to demonstrate how an application-specific bean such as this can
be integrated into inputSuggest. The JSP page and the inputSuggest component know nothing about
StateInfo or User. The UserHandler backing bean and the value binding expression in
the JSP help bridge this gap.
- Version:
- $Revision: $ $Date: $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
key
private java.lang.String key
text
private java.lang.String text
StateInfo
public StateInfo(java.lang.String key,
java.lang.String text)
getKey
public java.lang.String getKey()
setKey
public void setKey(java.lang.String key)
getText
public java.lang.String getText()
setText
public void setText(java.lang.String text)