Wiki source code of Weiterleitung
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{figure image="redirect_en.png" clear="h1"}} | ||
2 | User interface for actions of type //Redirect//. | ||
3 | {{/figure}} | ||
4 | |||
5 | The //Redirect// action allows redirecting to another external or internal web page. | ||
6 | |||
7 | == Parameters == | ||
8 | |||
9 | ; URL template | ||
10 | : An already stored [[URL-Template>>Formcycle.UserInterface.FilesAndTemplates.Link]] or the direct input of the URL can be selected. | ||
11 | ; URL | ||
12 | : Input of a URL, if //Direct input of URL// was selected as URL template. The use of [[Variables>>Formcycle.UserInterface.Variables]] is possible. | ||
13 | ; Additional URL parameters | ||
14 | : URL parameters can be set for this URL to be used to call the action. | ||
15 | |||
16 | {{info}} | ||
17 | The redirection happens only after all actions have been processed. If after this action still other actions were executed, which execute a forwarding, then only the last forwarding is executed. | ||
18 | |||
19 | For example, if another action of type [[HTML response page>>Formcycle.Designer.Workflow.Actions.HtmlResponsePage]] was set after this action that redirects to the selected final page, the user will be redirected to this final page at the end of the action processing. | ||
20 | {{/info}} | ||
21 | |||
22 | == Action variables == | ||
23 | |||
24 | Actions of type //Redirect// provide [[Action variables>>Formcycle.UserInterface.Variables||anchor="HActionvariables"]] which can be used in subsequent actions. | ||
25 | |||
26 | === Standard action variables === | ||
27 | |||
28 | ; [%$<action name>.SUCCESS%] | ||
29 | : Return whether action was successfully executed. Returns Boolean (true/false). | ||
30 | ; [%$<action name>.RESULT%] | ||
31 | : Return all results provided by the action in structured form. | ||
32 | |||
33 | ; [%$<action name>.ERROR_CODE%] | ||
34 | : The error code thrown in case of an error in the action. Empty if no error occurred. | ||
35 | ; [%$<action name>.ERROR_MESSAGE%] | ||
36 | : The thrown error message in the action's error case. Empty if no error occurred. | ||
37 | |||
38 | === Action specific action variables === | ||
39 | |||
40 | ; [%$<action_name>.RESULT.host%] | ||
41 | : The hostname of the returned URL. | ||
42 | ; [%$<actionname>.RESULT.path%] | ||
43 | : The path of the returned URL. | ||
44 | ; [%$<action name>.RESULT.port%] | ||
45 | : The port number of the returned URL, or -1 if unspecified. | ||
46 | ; [%$<actionname>.RESULT.protocol%] | ||
47 | : The protocol of the returned URL. | ||
48 | ; [%$<actionname>.RESULT.host%] | ||
49 | : The URL parameters of the returned URL. | ||
50 | ; [%$<actionname>.ERROR.message%] | ||
51 | : Error message returned if the specified URL does not match a valid format or if no URL template could be supplied to perform the action. |