Changes for page Zähler


From version 1.25
edited by gru
on 31.08.2021, 10:47
Change comment: There is no comment for this version
To version 1.21
edited by gru
on 31.08.2021, 10:43
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -61,9 +61,9 @@
61 61  
62 62  The value of the counters can be determined within forms via a servlet call. It is possible to select the counter by its name or UUID. The corresponding {{smallcaps}}URL{{/smallcaps}}s for calling the values could look like the following, for example:
63 63  
64 -{{code language="none"}}https://<server address>/formcycle/form/clientcounter/?frid=<Valid frid>&name=<name of the counter>{{/code}}
65 -and
66 -{{code language="none"}}https://<server address>/formcycle/form/clientcounter/?frid=<Valid frid>&uuid=<UUID of the counter>{{/code}}
64 +{{code language="none"}}https://<Server address>/formcycle/form/clientcounter/?frid=<Valid frid>&name=<Name of the counter>{{/code}}
65 +und
66 +{{code language="none"}}https://<Server address>/formcycle/form/clientcounter/?frid=<Valid frid>&uuid=<UUID of the counter>{{/code}}
67 67  
68 68  
69 69  In both cases a valid //form request id// (frid) is required, which can be found in the form via JavaScript under {{code language="none"}}XFC_METADATA.currentSessionFRID{{/code}}. In the same way, the {{smallcaps}}URL{{/smallcaps}} of the servlet can be read via JavaScript under {{code language="none"}}XFC_METADATA.urls.counter_client{{/code}}. This is important because the {{smallcaps}}URL{{/smallcaps}} differs when called from frontend and master servers.
... ... @@ -90,7 +90,7 @@
90 90  
91 91  === Example of an AJAX request in a form ===
92 92  
93 -An example AJAX request that writes the current counter value of the //sample counter// to the //tf1// field might look like the following:
93 +So, an example AJAX request that writes the current counter value of the //sample counter// to the //tf1// field might look like the following:
94 94  
95 95  {{code language="javascript"}}
96 96  $.ajax({