Changes for page Development-Examples-Page Layout
Last modified by Pascal Robert on 2010/09/13 00:33
From version 6.1
edited by Pascal Robert
on 2010/09/13 00:33
on 2010/09/13 00:33
Change comment:
Migrated to Confluence 5.3
To version 2.1
edited by smmccraw
on 2007/07/08 09:45
on 2007/07/08 09:45
Change comment:
There is no comment for this version
Summary
-
Page properties (4 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -Development-Examples-Page Layout 1 +Programming__WebObjects-Web Applications-Development-Examples-Page Layout - Parent
-
... ... @@ -1,1 +1,0 @@ 1 -Development-Examples - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. probert1 +XWiki.smmccraw - Content
-
... ... @@ -2,7 +2,8 @@ 2 2 3 3 {{code}} 4 4 5 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 5 +{panel} 6 + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 6 6 <html> 7 7 <head> 8 8 <title> ... ... @@ -22,23 +22,23 @@ 22 22 </tr> 23 23 <tr> 24 24 <td align = "left" valign = "top" colspan = "3"> 25 - 26 + 26 26 </td> 27 27 </tr> 28 28 <tr> 29 29 <td align = "left" valign = "top" class = "Margin"> 30 - 31 + 31 31 </td> 32 32 <td align = "left" valign = "top"> 33 33 <webobject name = "Content"></webobject> 34 34 </td> 35 35 <td align = "left" valign = "top" class = "Margin"> 36 - 37 + 37 37 </td> 38 38 </tr> 39 39 <tr> 40 40 <td align = "left" valign = "top" colspan = "3"> 41 - 42 + 42 42 </td> 43 43 </tr> 44 44 <tr> ... ... @@ -50,69 +50,85 @@ 50 50 </webobject> 51 51 </webobject> 52 52 </html> 54 +{panel} 53 53 54 54 {{/code}} 55 55 58 +{{panel}} 59 + 60 + 61 + 62 +{{/panel}} 63 + 56 56 And the wod: 57 57 58 -{{ code}}66 +{{panel}} 59 59 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 - }; 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 + 101 101 102 -{{/ code}}112 +{{/panel}} 103 103 104 104 To use this layout, you could do the following in one of your pages: 105 105 116 +{{panel}} 117 + 118 + 119 + 120 +{{/panel}} 121 + 106 106 {{code}} 107 107 124 +{panel} 108 108 <webobject name = "PageLayout"> 109 109 <webobject name = "Table"> 110 110 <tr> 111 111 <td align = "left" valign = "top"> 112 - <webobject name = "Envelopes"></webobject> 129 + <webobject name = "Envelopes"></webobject> 113 113 </td> 114 114 <td align = "left" valign = "top" class = "Margin"> 115 - 132 + 116 116 </td> 117 117 <td align = "left" valign = "top" class = "FixColumn"> 118 118 <webobject name = "Table"> ... ... @@ -141,79 +141,83 @@ 141 141 </tr> 142 142 </webobject> 143 143 </webobject> 161 +{panel} 144 144 145 145 {{/code}} 146 146 147 147 wod file: 148 148 149 -{{ code}}167 +{{panel}} 150 150 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 - }; 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 + }; 218 218 219 -{{/code}} 238 +{{/panel}} 239 + 240 +Category:WebObjects