Changes for page WOImageButton
Last modified by Pascal Robert on 2011/09/27 05:25
From version 3.1
edited by Pascal Robert
on 2011/05/08 01:50
on 2011/05/08 01:50
Change comment:
There is no comment for this version
To version 5.1
edited by Pascal Robert
on 2011/05/08 01:50
on 2011/05/08 01:50
Change comment:
Migrated to Confluence 5.3
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,0 +1,1 @@ 1 +Dynamic Elements - Content
-
... ... @@ -1,4 +1,4 @@ 1 -{{toc }}{{/toc}}1 +{{toc/}} 2 2 3 3 = Introduction = 4 4 ... ... @@ -21,18 +21,66 @@ 21 21 22 22 = Bindings = 23 23 24 -| filename | Path to the image relative to the WebServerResources directory. 25 -| 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. 26 -| src | URL containing the image data. Use this attribute for complete URLs; for relative URLs use filename instead. 27 -| value | Image data in the form of a WOElement object. This data can come from a database, a file, or memory. 28 -| action | Action method to invoke when this element is clicked. 29 -| data | Specifies an image resource in the form of an NSData; this data can come from a database, a file, or memory. If you specify resource data, you must specify a MIME type. 30 -| mimeType | A string designating a MIME resource type, such as "image/gif", to be put in the content-type header; this type tells the client what to do with data. If you provide data but no MIME type, WebObjects throws an exception. 31 -| key | A string that the application uses as a key for caching the data specified in data. If you do not provide a key, the data object must be reloaded each time it is needed. For further information, see the reference documentation for the WOResourceManager class, particularly that for the flushDataCache method. 32 -| imageMapFile | Name of the image map file. See the WOActiveImage description for more information. 33 -| name | Name that uniquely identifies this element within the form. You may specify a name or let WebObjects automatically assign one at runtime. 34 -| x, y | If specified, returns the coordinates of the user's click within the image. 35 -| disabled | If disabled evaluates to true , the element generates a static image (<IMG>) instead of an active image. 24 +|((( 25 +filename 26 +)))|((( 27 +Path to the image relative to the WebServerResources directory. 28 +))) 29 +|((( 30 +framework 31 +)))|((( 32 +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. 33 +))) 34 +|((( 35 +src 36 +)))|((( 37 +URL containing the image data. Use this attribute for complete URLs; for relative URLs use filename instead. 38 +))) 39 +|((( 40 +value 41 +)))|((( 42 +Image data in the form of a WOElement object. This data can come from a database, a file, or memory. 43 +))) 44 +|((( 45 +action 46 +)))|((( 47 +Action method to invoke when this element is clicked. 48 +))) 49 +|((( 50 +data 51 +)))|((( 52 +Specifies an image resource in the form of an NSData; this data can come from a database, a file, or memory. If you specify resource data, you must specify a MIME type. 53 +))) 54 +|((( 55 +mimeType 56 +)))|((( 57 +A string designating a MIME resource type, such as "image/gif", to be put in the content-type header; this type tells the client what to do with data. If you provide data but no MIME type, WebObjects throws an exception. 58 +))) 59 +|((( 60 +key 61 +)))|((( 62 +A string that the application uses as a key for caching the data specified in data. If you do not provide a key, the data object must be reloaded each time it is needed. For further information, see the reference documentation for the WOResourceManager class, particularly that for the flushDataCache method. 63 +))) 64 +|((( 65 +imageMapFile 66 +)))|((( 67 +Name of the image map file. See the WOActiveImage description for more information. 68 +))) 69 +|((( 70 +name 71 +)))|((( 72 +Name that uniquely identifies this element within the form. You may specify a name or let WebObjects automatically assign one at runtime. 73 +))) 74 +|((( 75 +x, y 76 +)))|((( 77 +If specified, returns the coordinates of the user's click within the image. 78 +))) 79 +|((( 80 +disabled 81 +)))|((( 82 +If disabled evaluates to true , the element generates a static image (<IMG>) instead of an active image. 83 +))) 36 36 37 37 = Examples = 38 38 ... ... @@ -40,16 +40,10 @@ 40 40 41 41 == WOD-style == 42 42 43 -{{code}} 91 +{{code/}} 44 44 45 - 46 -{{/code}} 47 - 48 48 == Inline bindings (WOOGNL) == 49 49 50 -{{code}} 95 +{{code/}} 51 51 52 - 53 -{{/code}} 54 - 55 55 = Related documents =