Changes for page WOActionURL
Last modified by Pascal Robert on 2011/10/18 06:06
From version 3.1
edited by Pascal Robert
on 2011/04/26 23:17
on 2011/04/26 23:17
Change comment:
There is no comment for this version
To version 4.1
edited by Pascal Robert
on 2011/04/26 23:17
on 2011/04/26 23:17
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,4 +1,4 @@ 1 -{{toc }}{{/toc}}1 +{{toc/}} 2 2 3 3 = Introduction = 4 4 ... ... @@ -14,14 +14,46 @@ 14 14 15 15 = Bindings = 16 16 17 -| action | Action method to invoke when the URL is accessed. This method must return a an object that conforms to the WOActionResults interface such as WOComponent or WOResponse. 18 -| pageName | The name of a WebObjects page to display when the URL is accessed. 19 -| directActionName | The direct action method to invoke when the URL is accessed (minus the "Action" suffix). Defaults to "default". 20 -| actionClass | The name of the class in which the directActionName can be found. Defaults to "DirectAction". 21 -| fragmentIdentifier | Named location to display in the destination page (that is, an anchor in the destination page). 22 -| queryDictionary | Takes a dictionary that should be appended to the hyperlink's URL after a question mark character. The dictionary must be correctly encoded and will be merged with any existing query dictionary for a particular session ID. 23 -| ?key | Adds a key-value pair to the specified queryDictionary (or replaces an existing key) by prefixing the key with a "?". For example: ?x = y; puts the key "x" into the query dictionary with the value of the keypath y. 24 -| secure | Changes the URL prefix from http to https when WebObjects generates URLs for component actions and direct actions for this element. For this attribute to have any effect, you must provide bindings either for the action, directAction, actionClass, or pageName attribute (respecting the valid combinations). 17 +|((( 18 +action 19 +)))|((( 20 +Action method to invoke when the URL is accessed. This method must return a an object that conforms to the WOActionResults interface such as WOComponent or WOResponse. 21 +))) 22 +|((( 23 +pageName 24 +)))|((( 25 +The name of a WebObjects page to display when the URL is accessed. 26 +))) 27 +|((( 28 +directActionName 29 +)))|((( 30 +The direct action method to invoke when the URL is accessed (minus the "Action" suffix). Defaults to "default". 31 +))) 32 +|((( 33 +actionClass 34 +)))|((( 35 +The name of the class in which the directActionName can be found. Defaults to "DirectAction". 36 +))) 37 +|((( 38 +fragmentIdentifier 39 +)))|((( 40 +Named location to display in the destination page (that is, an anchor in the destination page). 41 +))) 42 +|((( 43 +queryDictionary 44 +)))|((( 45 +Takes a dictionary that should be appended to the hyperlink's URL after a question mark character. The dictionary must be correctly encoded and will be merged with any existing query dictionary for a particular session ID. 46 +))) 47 +|((( 48 +?key 49 +)))|((( 50 +Adds a key-value pair to the specified queryDictionary (or replaces an existing key) by prefixing the key with a "?". For example: ?x = y; puts the key "x" into the query dictionary with the value of the keypath y. 51 +))) 52 +|((( 53 +secure 54 +)))|((( 55 +Changes the URL prefix from http to https when WebObjects generates URLs for component actions and direct actions for this element. For this attribute to have any effect, you must provide bindings either for the action, directAction, actionClass, or pageName attribute (respecting the valid combinations). 56 +))) 25 25 26 26 = Examples = 27 27 ... ... @@ -29,16 +29,10 @@ 29 29 30 30 == WOD-style == 31 31 32 -{{code}} 64 +{{code/}} 33 33 34 - 35 -{{/code}} 36 - 37 37 == Inline bindings (WOOGNL) == 38 38 39 -{{code}} 68 +{{code/}} 40 40 41 - 42 -{{/code}} 43 - 44 44 = Related documents =