Changes for page WOBody

Last modified by Pascal Robert on 2011/09/22 17:37

From version 3.1
edited by Pascal Robert
on 2011/05/08 01:16
Change comment: There is no comment for this version
To version 4.1
edited by Pascal Robert
on 2011/05/08 01:16
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,4 +1,4 @@
1 -{{toc}}{{/toc}}
1 +{{toc/}}
2 2  
3 3  = Introduction =
4 4  
... ... @@ -18,12 +18,36 @@
18 18  
19 19  = Bindings =
20 20  
21 -| src | URL containing the image data. Use this attribute for complete URLs; for relative URLs use filename instead.
22 -| filename | Path to the image relative to the WebServerResources directory.
23 -| framework | Framework that contains the image file. This attribute is only necessary if the image file is in a different location from the component. That is, if the component and the image file are both in the application or if the component and the image file are both in the same framework, this attribute isn't necessary. If the image file is in a framework and the component is in an application, specify the framework's name here (minus the .framework extension). If the image file should be in the application but the component is in a framework, specify the "app" keyword in place of the framework name.
24 -| data | Specifies any resource in the form of an NSData object; this data can come from a database, a file, or memory. If you specify resource data, you must specify a MIME type.
25 -| mimeType | A string designating a MIME resource type, such as "image/gif"; this type tells the client what to do with data. If you provide data but no MIME type, WebObjects throws an exception.
26 -| key | A string that functions as a key for caching the data specified in data. If you do not provide a key, the data object must be fetched each time it is needed. For further information, see the reference documentation for the WOResourceManager class (pay particular attention to the flushDataCache method).
21 +|(((
22 +src
23 +)))|(((
24 +URL containing the image data. Use this attribute for complete URLs; for relative URLs use filename instead.
25 +)))
26 +|(((
27 +filename
28 +)))|(((
29 +Path to the image relative to the WebServerResources directory.
30 +)))
31 +|(((
32 +framework
33 +)))|(((
34 +Framework that contains the image file. This attribute is only necessary if the image file is in a different location from the component. That is, if the component and the image file are both in the application or if the component and the image file are both in the same framework, this attribute isn't necessary. If the image file is in a framework and the component is in an application, specify the framework's name here (minus the .framework extension). If the image file should be in the application but the component is in a framework, specify the "app" keyword in place of the framework name.
35 +)))
36 +|(((
37 +data
38 +)))|(((
39 +Specifies any resource in the form of an NSData object; this data can come from a database, a file, or memory. If you specify resource data, you must specify a MIME type.
40 +)))
41 +|(((
42 +mimeType
43 +)))|(((
44 +A string designating a MIME resource type, such as "image/gif"; this type tells the client what to do with data. If you provide data but no MIME type, WebObjects throws an exception.
45 +)))
46 +|(((
47 +key
48 +)))|(((
49 +A string that functions as a key for caching the data specified in data. If you do not provide a key, the data object must be fetched each time it is needed. For further information, see the reference documentation for the WOResourceManager class (pay particular attention to the flushDataCache method).
50 +)))
27 27  
28 28  = Examples =
29 29  
... ... @@ -31,16 +31,10 @@
31 31  
32 32  == WOD-style ==
33 33  
34 -{{code}}
58 +{{code/}}
35 35  
36 -
37 -{{/code}}
38 -
39 39  == Inline bindings (WOOGNL) ==
40 40  
41 -{{code}}
62 +{{code/}}
42 42  
43 -
44 -{{/code}}
45 -
46 46  = Related documents =