Changes for page Development-UrlCreation

Last modified by Pascal Robert on 2010/09/12 00:56

From version 26.1
edited by Andrew Lindesay
on 2008/07/05 01:19
Change comment: There is no comment for this version
To version 24.1
edited by Andrew Lindesay
on 2008/07/05 01:32
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -10,16 +10,22 @@
10 10  
11 11  This is the case where the application is being developed in, for example, Eclipse;
12 12  
13 -|Method|completeURLWithRequestHandlerKey(
13 +{{code}}
14 +completeURLWithRequestHandlerKey(
14 14   WOApplication.application().directActionRequestHandlerKey(),
15 15   "default",
16 16   "a=b",
17 17   context().request().isSecure(),
18 18   0);
19 -|Session|##http:~/~/hebe.local:54791/cgi-bin/WebObjects/TestUrlCreation.woa/wa/default?a=b##
20 -|No Session|##http:~/~/hebe.local:54791/cgi-bin/WebObjects/TestUrlCreation.woa/wa/default?a=b##
21 21  
22 -|Method|completeURLWithRequestHandlerKey(
21 +{{/code}}
22 +
23 +|=Session|=Deployment|=URL
24 +|Y|Dev|##http:~/~/hebe.local:54791/cgi-bin/WebObjects/TestUrlCreation.woa/wa/default?a=b##
25 +|N|Dev|##http:~/~/hebe.local:54791/cgi-bin/WebObjects/TestUrlCreation.woa/wa/default?a=b##
26 +
27 +{{code}}
28 +completeURLWithRequestHandlerKey(
23 23   "123",
24 24   WOApplication.application().directActionRequestHandlerKey(),
25 25   "default",
... ... @@ -26,9 +26,13 @@
26 26   "a=b",
27 27   context().request().isSecure(),
28 28   0);
29 -|Session|##http:~/~/hebe.local:54791/cgi-bin/WebObjects/TestUrlCreation.woa/123/wa/default?a=b##
30 -|No Session|##http:~/~/hebe.local:54791/cgi-bin/WebObjects/TestUrlCreation.woa/123/wa/default?a=b##
31 31  
36 +{{/code}}
37 +
38 +|=Session|=Deployment|=URL
39 +|Y|Dev|##http:~/~/hebe.local:54791/cgi-bin/WebObjects/TestUrlCreation.woa/123/wa/default?a=b##
40 +|N|Dev|##http:~/~/hebe.local:54791/cgi-bin/WebObjects/TestUrlCreation.woa/123/wa/default?a=b##
41 +
32 32  |Method|context().componentActionURL()
33 33  |Session|##/cgi-bin/WebObjects/TestUrlCreation.woa/wo/V4N99Ub2Zjavh6V3tvcEQM/0.15##
34 34  |No Session|##/cgi-bin/WebObjects/TestUrlCreation.woa/wo/zBXy58rwSW6aU1mTXVk9uw/0.11##
... ... @@ -42,3 +42,24 @@
42 42   context().request().isSecure())
43 43  |Session|##/cgi-bin/WebObjects/TestUrlCreation.woa/ja/V4N99Ub2Zjavh6V3tvcEQM/0.13##
44 44  |No Session|##/cgi-bin/WebObjects/TestUrlCreation.woa/ja/zBXy58rwSW6aU1mTXVk9uw/0.15##
55 +
56 +|Method|directActionURLForActionNamed(
57 + "default",
58 + new NSDictionary<String,Object>(new Object[[]] {"b"}, new String[[]] {"a"}),
59 + context().request().isSecure(),
60 + true);
61 +|Session|##/cgi-bin/WebObjects/TestUrlCreation.woa/wa/default?a=b&amp;wosid=V4N99Ub2Zjavh6V3tvcEQM##
62 +|No Session|##/cgi-bin/WebObjects/TestUrlCreation.woa/wa/default?a=b##
63 +
64 +|Method|directActionURLForActionNamed(
65 + "default",
66 + new NSDictionary<String,Object>(new Object[[]] {"b"}, new String[[]] {"a"}))
67 +|Session|##/cgi-bin/WebObjects/TestUrlCreation.woa/wa/default?a=b&wosid=V4N99Ub2Zjavh6V3tvcEQM##
68 +|No Session|##/cgi-bin/WebObjects/TestUrlCreation.woa/wa/default?a=b##
69 +
70 +|Method|urlWithRequestHandlerKey(
71 + WOApplication.application().ajaxRequestHandlerKey(),
72 + "default",
73 + "a=b")
74 +|Session|##/cgi-bin/WebObjects/TestUrlCreation.woa/ja/default?a=b##
75 +|No Session|##/cgi-bin/WebObjects/TestUrlCreation.woa/ja/default?a=b##