com.evolveum.midpoint.web.jsf.form
Class FormButtonListener

java.lang.Object
  extended by com.evolveum.midpoint.web.jsf.AbstractStateHolder
      extended by com.evolveum.midpoint.web.jsf.form.FormButtonListener
All Implemented Interfaces:
java.util.EventListener, javax.faces.component.StateHolder, javax.faces.event.ActionListener, javax.faces.event.FacesListener

public class FormButtonListener
extends AbstractStateHolder
implements javax.faces.event.ActionListener

Author:
lazyman

Constructor Summary
FormButtonListener()
           
FormButtonListener(javax.el.ValueExpression bean, FormButtonType type, int attributeIndex, int valueIndex)
           
 
Method Summary
 void processAction(javax.faces.event.ActionEvent event)
           
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 
Methods inherited from class com.evolveum.midpoint.web.jsf.AbstractStateHolder
isTransient, setTransient
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormButtonListener

public FormButtonListener()

FormButtonListener

public FormButtonListener(javax.el.ValueExpression bean,
                          FormButtonType type,
                          int attributeIndex,
                          int valueIndex)
Method Detail

processAction

public void processAction(javax.faces.event.ActionEvent event)
                   throws javax.faces.event.AbortProcessingException
Specified by:
processAction in interface javax.faces.event.ActionListener
Throws:
javax.faces.event.AbortProcessingException

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext context)
Specified by:
saveState in interface javax.faces.component.StateHolder
Overrides:
saveState in class AbstractStateHolder

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         java.lang.Object state)
Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class AbstractStateHolder


Copyright © 2012 evolveum. All Rights Reserved.