Changes for page WOComponentContent

Last modified by Pascal Robert on 2012/01/30 22:28

From version 5.1
edited by Pascal Robert
on 2011/04/26 23:07
Change comment: There is no comment for this version
To version 8.1
edited by Pascal Robert
on 2012/01/30 22:28
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,11 +1,20 @@
1 -{{toc}}{{/toc}}
1 +{{toc/}}
2 2  
3 3  = Introduction =
4 4  
5 +WOComponentContent allows you to write nested components as HTML container elements: Elements that can include text and other elements between their opening and closing tags. Using WOComponentContent you can, for example, write a component that defines the header and footer for all of your application's pages.
6 +
7 +The WOComponentContent dynamic element doesn't have any attributes. It's simply a marker that specifies where the contents wrapped by the component's <WEBOBJECT> tag should go.
8 +
9 +{{info}}
10 +You can only have one WOComponentContent element in a given component.
11 +{{/info}}
12 +
5 5  = Usage =
6 6  
7 7  {{code}}
8 8  
17 +WOComponentContent { }
9 9  
10 10  {{/code}}
11 11  
... ... @@ -17,16 +17,12 @@
17 17  
18 18  == WOD-style ==
19 19  
20 -{{code}}
29 +{{code/}}
21 21  
22 -
23 -{{/code}}
24 -
25 25  == Inline bindings (WOOGNL) ==
26 26  
27 -{{code}}
33 +{{code/}}
28 28  
29 -
30 -{{/code}}
31 -
32 32  = Related documents =
36 +
37 +[[ERXWOComponentContent>>url:http://wocommunity.org/documents/javadoc/wonder/latest/er/extensions/components/ERXWOComponentContent.html||shape="rect"]]