org.apache.empire.struts2.actionsupport
Class ActionPropertySupport
java.lang.Object
org.apache.empire.struts2.actionsupport.ActionPropertySupport
public class ActionPropertySupport
- extends Object
Field Summary |
protected static org.slf4j.Logger |
log
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static org.slf4j.Logger log
ActionPropertySupport
public ActionPropertySupport(ActionBase action,
String propertyName,
boolean persist)
getName
public String getName()
getValue
public String getValue()
setValue
public void setValue(String value)
setFromRequest
public boolean setFromRequest()
- Sets the property value from a request param.
The request must contain a property of that name.
- Returns:
- true if the param was supplied with the request or false otherwise
clear
public void clear()
hasValue
public boolean hasValue(boolean lookOnSession)
Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.