net.wotonomy.web
Class WOComponentContent

java.lang.Object
  extended by net.wotonomy.web.WOElement
      extended by net.wotonomy.web.WODynamicElement
          extended by net.wotonomy.web.WOComponentContent
All Implemented Interfaces:
java.io.Serializable, WOActionResults

public class WOComponentContent
extends WODynamicElement

Used to include a component's content inside another component. This way, you can create reusable components with content that surrounds the component it's in. In reality all it does is forward the appendToResponse method to the WOElement containing the HTML between the WEBOBJECT tags that define this element.

Version:
$Revision: 905 $
Author:
michael@mpowers.net, $Author: cgruber $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.wotonomy.web.WODynamicElement
associations, name, rootElement
 
Constructor Summary
WOComponentContent()
           
WOComponentContent(java.lang.String n, net.wotonomy.foundation.NSDictionary m, WOElement t)
           
 
Method Summary
 void appendToResponse(WOResponse r, WOContext c)
          This method is called on all elements of the content tree to build a response to a user request.
 
Methods inherited from class net.wotonomy.web.WODynamicElement
generateResponse, invokeAction, takeValuesFromRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WOComponentContent

public WOComponentContent()

WOComponentContent

public WOComponentContent(java.lang.String n,
                          net.wotonomy.foundation.NSDictionary m,
                          WOElement t)
Method Detail

appendToResponse

public void appendToResponse(WOResponse r,
                             WOContext c)
Description copied from class: WODynamicElement
This method is called on all elements of the content tree to build a response to a user request. The message should be forwarded to any child elements so that the entire tree is traversed. This implementation does nothing.

Overrides:
appendToResponse in class WODynamicElement


Copyright © 2006 null. All Rights Reserved.