org.japano.pagenode
Class MessageList

java.lang.Object
  extended by org.japano.PageNode
      extended by org.japano.pagenode.MessageList

public class MessageList
extends PageNode

Displays all messages send to the current view. The tag can either be used with or without a body. if used with a body, that body will be repeated for each message and a output tag "message" returns the current message. if there's no body, a ul-list with the messages will be printed.

Version:
$Id: MessageList.java,v 1.8 2005/11/26 01:47:32 fforw Exp $ SourceForge.net Logo
Author:
Sven Helmberger ( sven dot helmberger at gmx dot de )

Nested Class Summary
 
Nested classes/interfaces inherited from class org.japano.PageNode
PageNode.Output
 
Field Summary
 
Fields inherited from class org.japano.PageNode
children, context, EMPTY, nodeId, parent
 
Constructor Summary
MessageList()
           
 
Method Summary
 void generate(Buffer out)
          Generates this node The base implementation just calls PageNode.generateChildren(Buffer)
 java.lang.String getMessage()
          The current message.
 void init()
          Initializes the node.
 
Methods inherited from class org.japano.PageNode
findChildren, findParent, findRootNode, generateChildren, getChildren, getContext, getNodeId, getParent, recInit, release, setChildren, setContext, setNodeId, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageList

public MessageList()
Method Detail

init

public void init()
Description copied from class: PageNode
Initializes the node. The init method is called after all nodes of the page are constructed, linked and configured.

Overrides:
init in class PageNode

generate

public void generate(Buffer out)
Description copied from class: PageNode
Generates this node The base implementation just calls PageNode.generateChildren(Buffer)

Overrides:
generate in class PageNode

getMessage

public java.lang.String getMessage()
The current message.