1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package net.wotonomy.web;
20
21 import net.wotonomy.foundation.NSDictionary;
22
23 /***
24 * Used to include a component's content inside another component. This way, you can create reusable components
25 * with content that surrounds the component it's in. In reality all it does is forward the appendToResponse
26 * method to the WOElement containing the HTML between the WEBOBJECT tags that define this element.
27 * @author michael@mpowers.net
28 * @author $Author: cgruber $
29 * @version $Revision: 905 $
30 */
31 public class WOComponentContent extends WODynamicElement {
32
33 public WOComponentContent() {
34 super();
35 }
36
37 public WOComponentContent(String n, NSDictionary m, WOElement t) {
38 super(n, m, t);
39 }
40
41 public void appendToResponse(WOResponse r, WOContext c) {
42 c.component().rootElement.appendToResponse(r, c);
43 }
44
45 }