com.esri.adf.web.faces.event
Class WebGraphicsPhaseListener

java.lang.Object
  extended by com.esri.adf.web.faces.event.WebGraphicsPhaseListener
All Implemented Interfaces:
Serializable, EventListener, javax.faces.event.PhaseListener

public class WebGraphicsPhaseListener
extends Object
implements javax.faces.event.PhaseListener

Phase listener to retrieve web graphics image through AJAX. This phase listener is called when WebMap's fuseGraphics context attribute is set to false. If the web graphics object has not been updated, an empty response with no image URL is returned.

getWebGraphics=getWebGraphics : Identifier for phase listener to process request
formId=[value] : Id of form within which map is rendered
tocId=[value] : Id of map who's web graphics are to be updated
redisplay=[value] : Force redisplay of web graphics on client

JavaScript functions :
Request sender : adf.Map.updateWebGraphics
Response handling : adf.Map.process_updateWebGraphicsResponse()

See Also:
Serialized Form

Field Summary
static String REQUEST_PARAM
           
 
Constructor Summary
WebGraphicsPhaseListener()
           
 
Method Summary
 void afterPhase(javax.faces.event.PhaseEvent event)
           
 void beforePhase(javax.faces.event.PhaseEvent event)
           
 javax.faces.event.PhaseId getPhaseId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REQUEST_PARAM

public static final String REQUEST_PARAM
See Also:
Constant Field Values
Constructor Detail

WebGraphicsPhaseListener

public WebGraphicsPhaseListener()
Method Detail

getPhaseId

public javax.faces.event.PhaseId getPhaseId()
Specified by:
getPhaseId in interface javax.faces.event.PhaseListener

beforePhase

public void beforePhase(javax.faces.event.PhaseEvent event)
Specified by:
beforePhase in interface javax.faces.event.PhaseListener

afterPhase

public void afterPhase(javax.faces.event.PhaseEvent event)
Specified by:
afterPhase in interface javax.faces.event.PhaseListener