com.ocpsoft.pretty.faces.component
Class LocationBehavior
java.lang.Object
javax.faces.component.behavior.BehaviorBase
javax.faces.component.behavior.ClientBehaviorBase
com.ocpsoft.pretty.faces.component.LocationBehavior
- All Implemented Interfaces:
- javax.faces.component.behavior.Behavior, javax.faces.component.behavior.ClientBehavior, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder
public class LocationBehavior
- extends javax.faces.component.behavior.ClientBehaviorBase
Simple JSF2 client behavior that changes the current URL by setting window.location.href.
- Author:
- Christian Kaltepoth
| Methods inherited from class javax.faces.component.behavior.ClientBehaviorBase |
decode, getHints, getRenderer, getRendererType |
| Methods inherited from class javax.faces.component.behavior.BehaviorBase |
addBehaviorListener, broadcast, clearInitialState, initialStateMarked, isTransient, markInitialState, removeBehaviorListener, restoreState, saveState, setTransient |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.faces.component.behavior.Behavior |
broadcast |
LocationBehavior
public LocationBehavior()
getScript
public String getScript(javax.faces.component.behavior.ClientBehaviorContext behaviorContext)
- Specified by:
getScript in interface javax.faces.component.behavior.ClientBehavior- Overrides:
getScript in class javax.faces.component.behavior.ClientBehaviorBase
getMappingId
public String getMappingId()
setMappingId
public void setMappingId(String mappingId)
getUrl
public String getUrl()
setUrl
public void setUrl(String url)
Copyright © 2011. All Rights Reserved.