Last modified by Pascal Robert on 2010/09/13 00:33

From version 1.1
edited by smmccraw
on 2007/07/08 09:45
Change comment: There is no comment for this version
To version 3.1
edited by Pascal Robert
on 2007/09/03 14:45
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -Programming__WebObjects-Web Applications-Development-Examples-Page Layout
1 +Web Applications-Development-Examples-Page Layout
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.smmccraw
1 +XWiki.probert
Content
... ... @@ -2,8 +2,7 @@
2 2  
3 3  {{code}}
4 4  
5 -{panel}
6 - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
5 +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
7 7   <html>
8 8   <head>
9 9   <title>
... ... @@ -23,23 +23,23 @@
23 23   </tr>
24 24   <tr>
25 25   <td align = "left" valign = "top" colspan = "3">
26 - &nbsp;
25 +
27 27   </td>
28 28   </tr>
29 29   <tr>
30 30   <td align = "left" valign = "top" class = "Margin">
31 - &nbsp;
30 +
32 32   </td>
33 33   <td align = "left" valign = "top">
34 34   <webobject name = "Content"></webobject>
35 35   </td>
36 36   <td align = "left" valign = "top" class = "Margin">
37 - &nbsp;
36 +
38 38   </td>
39 39   </tr>
40 40   <tr>
41 41   <td align = "left" valign = "top" colspan = "3">
42 - &nbsp;
41 +
43 43   </td>
44 44   </tr>
45 45   <tr>
... ... @@ -51,85 +51,69 @@
51 51   </webobject>
52 52   </webobject>
53 53   </html>
54 -{panel}
55 55  
56 56  {{/code}}
57 57  
58 -{{panel}}
59 -
60 -
61 -
62 -{{/panel}}
63 -
64 64  And the wod:
65 65  
66 -{{panel}}
58 +{{code}}
67 67  
68 -
69 - Title: WOString
70 - {
71 - value = title;
72 - };
73 -
74 - Stylesheet: Stylesheet
75 - {
76 - };
77 -
78 - Body: WOBody
79 - {
80 - };
81 -
82 - Table: WOGenericContainer
83 - {
84 - elementName = "table";
85 - border = "0";
86 - cellSpacing = "0";
87 - cellPadding = "0";
88 - class = "FullWidth";
89 - };
90 -
91 - Form: WOForm
92 - {
93 - multipleSubmit = true;
94 - };
95 -
96 - Header: Header
97 - {
98 - title = ^title;
99 - page = ^page;
100 - pathComponents = ^pathComponents;
101 - };
102 -
103 - Footer: Footer
104 - {
105 - };
106 -
107 - Content: WOComponentContent
108 - {
109 - };
110 -
60 +Title: WOString
61 + {
62 + value = title;
63 + };
64 +
65 + Stylesheet: Stylesheet
66 + {
67 + };
68 +
69 + Body: WOBody
70 + {
71 + };
72 +
73 + Table: WOGenericContainer
74 + {
75 + elementName = "table";
76 + border = "0";
77 + cellSpacing = "0";
78 + cellPadding = "0";
79 + class = "FullWidth";
80 + };
81 +
82 + Form: WOForm
83 + {
84 + multipleSubmit = true;
85 + };
86 +
87 + Header: Header
88 + {
89 + title = ^title;
90 + page = ^page;
91 + pathComponents = ^pathComponents;
92 + };
93 +
94 + Footer: Footer
95 + {
96 + };
97 +
98 + Content: WOComponentContent
99 + {
100 + };
111 111  
112 -{{/panel}}
102 +{{/code}}
113 113  
114 114  To use this layout, you could do the following in one of your pages:
115 115  
116 -{{panel}}
117 -
118 -
119 -
120 -{{/panel}}
121 -
122 122  {{code}}
123 123  
124 -{panel}
125 125   <webobject name = "PageLayout">
126 126   <webobject name = "Table">
127 127   <tr>
128 128   <td align = "left" valign = "top">
129 - <webobject name = "Envelopes"></webobject>&nbsp;
112 + <webobject name = "Envelopes"></webobject>
130 130   </td>
131 131   <td align = "left" valign = "top" class = "Margin">
132 - &nbsp;
115 +
133 133   </td>
134 134   <td align = "left" valign = "top" class = "FixColumn">
135 135   <webobject name = "Table">
... ... @@ -158,83 +158,79 @@
158 158   </tr>
159 159   </webobject>
160 160   </webobject>
161 -{panel}
162 162  
163 163  {{/code}}
164 164  
165 165  wod file:
166 166  
167 -{{panel}}
149 +{{code}}
168 168  
169 -
170 - PageLayout: PageLayout
171 - {
172 - title = title;
173 - page = name;
174 - pathComponents = pathComponents;
175 - };
176 -
177 - Name: SpanString
178 - {
179 - value = value;
180 - isBig = true;
181 - isBold = true;
182 - };
183 -
184 - Table: WOGenericContainer
185 - {
186 - elementName = "table";
187 - border = "0";
188 - cellSpacing = "0";
189 - cellPadding = "0";
190 - class = "FullWidth";
191 - };
192 -
193 - Envelopes: Table
194 - {
195 - list = envelopes;
196 - keysDescription = "self|recipientNames.iterator.next|sentDate";
197 - headersDescription = "Subject|Recipient|Date";
198 - };
199 -
200 - ThreadList: List
201 - {
202 - title = "Thread";
203 - list = threads;
204 - minimumSize = 0;
205 - //maximumSize = 20;
206 - };
207 -
208 - DocumentList: List
209 - {
210 - title = "Attachment";
211 - list = documents;
212 - minimumSize = 0;
213 - //maximumSize = 20;
214 - };
215 -
216 - LinkList: List
217 - {
218 - title = "Link";
219 - list = links;
220 - minimumSize = 0;
221 - //maximumSize = 20;
222 - };
223 -
224 - ListList: List
225 - {
226 - title = "List";
227 - list = lists;
228 - minimumSize = 0;
229 - };
230 -
231 - RelatedList: List
232 - {
233 - title = "Other";
234 - list = value.relatedNames;
235 - minimumSize = 0;
236 - };
151 +PageLayout: PageLayout
152 + {
153 + title = title;
154 + page = name;
155 + pathComponents = pathComponents;
156 + };
157 +
158 + Name: SpanString
159 + {
160 + value = value;
161 + isBig = true;
162 + isBold = true;
163 + };
164 +
165 + Table: WOGenericContainer
166 + {
167 + elementName = "table";
168 + border = "0";
169 + cellSpacing = "0";
170 + cellPadding = "0";
171 + class = "FullWidth";
172 + };
173 +
174 + Envelopes: Table
175 + {
176 + list = envelopes;
177 + keysDescription = "self|recipientNames.iterator.next|sentDate";
178 + headersDescription = "Subject|Recipient|Date";
179 + };
180 +
181 + ThreadList: List
182 + {
183 + title = "Thread";
184 + list = threads;
185 + minimumSize = 0;
186 + //maximumSize = 20;
187 + };
188 +
189 + DocumentList: List
190 + {
191 + title = "Attachment";
192 + list = documents;
193 + minimumSize = 0;
194 + //maximumSize = 20;
195 + };
196 +
197 + LinkList: List
198 + {
199 + title = "Link";
200 + list = links;
201 + minimumSize = 0;
202 + //maximumSize = 20;
203 + };
204 +
205 + ListList: List
206 + {
207 + title = "List";
208 + list = lists;
209 + minimumSize = 0;
210 + };
211 +
212 + RelatedList: List
213 + {
214 + title = "Other";
215 + list = value.relatedNames;
216 + minimumSize = 0;
217 + };
237 237  
238 -{{/panel}}
239 -
240 -Category:WebObjects
219 +{{/code}}