to.etc.domui.dom.errors
Class PropagatingErrorFenceHandler

java.lang.Object
  extended by to.etc.domui.dom.errors.ErrorFenceHandler
      extended by to.etc.domui.dom.errors.PropagatingErrorFenceHandler
All Implemented Interfaces:
IErrorFence

public class PropagatingErrorFenceHandler
extends ErrorFenceHandler

Use this error fence handler in case when some UIMessage should be handled by more than one error fence.

Author:
Vladimir Mijic Created on 23 Sep 2009

Constructor Summary
PropagatingErrorFenceHandler(NodeContainer container)
           
 
Method Summary
 void addMessage(NodeBase source, UIMessage uim)
           
 void removeMessage(NodeBase source, UIMessage uim)
           
 
Methods inherited from class to.etc.domui.dom.errors.ErrorFenceHandler
addErrorListener, clearGlobalMessages, getContainer, removeErrorListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropagatingErrorFenceHandler

public PropagatingErrorFenceHandler(NodeContainer container)
Method Detail

addMessage

public void addMessage(NodeBase source,
                       UIMessage uim)
Specified by:
addMessage in interface IErrorFence
Overrides:
addMessage in class ErrorFenceHandler

removeMessage

public void removeMessage(NodeBase source,
                          UIMessage uim)
Specified by:
removeMessage in interface IErrorFence
Overrides:
removeMessage in class ErrorFenceHandler