net.sf.jzeno.echo
Class DefaultInvalidMarker

java.lang.Object
  extended by net.sf.jzeno.echo.DefaultInvalidMarker
All Implemented Interfaces:
InvalidMarker

public class DefaultInvalidMarker
extends java.lang.Object
implements InvalidMarker


Constructor Summary
DefaultInvalidMarker()
           
 
Method Summary
 java.lang.String getInitializeScript(Connection connection, InstancePeer instancePeer, ComponentPeer invalidPeers)
           
 Element render(RenderingContext rc, Element parentElement, ComponentPeer componentPeer, java.util.List errors, java.util.List messages)
           This method can perform extra rendering to indicate that a dynamic component is invalid.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultInvalidMarker

public DefaultInvalidMarker()
Method Detail

getInitializeScript

public java.lang.String getInitializeScript(Connection connection,
                                            InstancePeer instancePeer,
                                            ComponentPeer invalidPeers)
Specified by:
getInitializeScript in interface InvalidMarker

render

public Element render(RenderingContext rc,
                      Element parentElement,
                      ComponentPeer componentPeer,
                      java.util.List errors,
                      java.util.List messages)
Description copied from interface: InvalidMarker

This method can perform extra rendering to indicate that a dynamic component is invalid. The parent element where the component will be rendered is passed in, and the renderer may optionally return a different parent if required. Otherwise it should return the parent passed in as an argument.

Specified by:
render in interface InvalidMarker