... |
... |
@@ -34,7
+34,7 @@ |
34 |
34 |
http(s):~/~/<server>/formcycle/datenquellecsv?mandantName=<Mandant-Name>&name=<Datenquellen-Name> |
35 |
35 |
{{/info}} |
36 |
36 |
|
37 |
|
-At an access of the {{designer/}} always use the global variables object //XFC_METADATA//, see also [[global designer variables>>doc:Formcycle.FormDesigner.CodingPanel.ScriptTab.FormMetadata]]. For example it can be accessed as follows: {{code}}XFC_METADATA.urls.datasource_csv{{/code}}. |
|
37 |
+At an access of the {{designer/}} always use the global variables object //XFC_METADATA//, see also [[global designer variables>>doc:Formular-Metadaten]]. For example it can be accessed as follows: {{code}}XFC_METADATA.urls.datasource_csv{{/code}}. |
38 |
38 |
|
39 |
39 |
The following parameters are possible: |
40 |
40 |
|
... |
... |
@@ -63,7
+63,7 @@ |
63 |
63 |
|
64 |
64 |
|
65 |
65 |
|
66 |
|
-In the {{designer/}} the following script is used in the [[script area>>doc:Formcycle.FormDesigner.CodingPanel.ScriptTab.WebHome]]. |
|
66 |
+In the {{designer/}} the following script is used in the [[script area>>doc:TAB - Script]]. |
67 |
67 |
|
68 |
68 |
{{code language="javascript"}} |
69 |
69 |
$.getJSON( XFC_METADATA.urls.datasource_csv + "?name=Demo&mandantName=xima.de", function(json) { |
... |
... |
@@ -87,15
+87,15 @@ |
87 |
87 |
The connection of a data source to a selection element takes place directly in the {{designer/}} |
88 |
88 |
{{/figure}} |
89 |
89 |
|
90 |
|
-If the //CSV// data source has to be loaded directly in a [[selection element>>doc:Formcycle.FormDesigner.FormElements.Selection]], this happens via through the properties of the selection element in the {{designer/}}. |
|
90 |
+If the //CSV// data source has to be loaded directly in a [[selection element>>doc:Auswahl]], this happens via through the properties of the selection element in the {{designer/}}. |
91 |
91 |
|
92 |
|
-The content of the CSV data source is processed in a [[selection element>>doc:Formcycle.FormDesigner.FormElements.Selection]]. |
|
92 |
+The content of the CSV data source is processed in a [[selection element>>doc:Auswahlelement]]. |
93 |
93 |
|
94 |
94 |
{{code}} |
95 |
95 |
visible value, assigned value, optional value, optional valuesichtbarer wert, ... |
96 |
96 |
{{/code}} |
97 |
97 |
|
98 |
|
-If more than the visible and the assigned value are indicated, so optional values, the can be invoked in JavaScript through the following jQuery selector. |
|
98 |
+If more than the visible and the assigned value are indicated, so optional values, the can be invoked in Javascript through the following jQuery selector. |
99 |
99 |
|
100 |
100 |
{{code language="javascript"}} |
101 |
101 |
$('[name=sel2]').find('option:selected').attr('col0'); |
... |
... |
@@ -105,7
+105,7 @@ |
105 |
105 |
|
106 |
106 |
== XML == |
107 |
107 |
|
108 |
|
-The XML data source acts analogously to the //CSV// data source, but cannot be bound to a [[selection element>>doc:Formcycle.FormDesigner.FormElements.Selection]]. |
|
108 |
+The XML data source acts analogously to the //CSV// data source, but cannot be bound to a [[selection element>>doc:Auswahl]]. |
109 |
109 |
|
110 |
110 |
{{figure image="datenquelle_xml.png" width="300"}} |
111 |
111 |
The JSON structure of the XML data source. To this JSON structure can than be accessed to {{code}}XFC_METADATA.urls.datasource_[csv|json|xml]{{/code}} via Javascript. |
... |
... |
@@ -148,7
+148,7 @@ |
148 |
148 |
http(s):~/~/<server>/formcycle/datenquellexml?mandantName=<Mandant-Name>&name=<Datenquellen-Name> |
149 |
149 |
{{/info}} |
150 |
150 |
|
151 |
|
-If you access from the {{designer/}}, always use the global variable object //XFC_METADATA//, see also [[global designer variables>>doc:Formcycle.FormDesigner.CodingPanel.ScriptTab.FormMetadata]]. For example it can be accessed as follows: {{code language="javascript"}}XFC_METADATA.urls.datasource_xml{{/code}}. |
|
151 |
+If you access from the {{designer/}}, always use the global variable object //XFC_METADATA//, see also [[global designer variables>>doc:Formular-Metadaten]]. For example it can be accessed as follows: {{code language="javascript"}}XFC_METADATA.urls.datasource_xml{{/code}}. |
152 |
152 |
|
153 |
153 |
The following parameter are possible: |
154 |
154 |
|
... |
... |
@@ -158,7
+158,7 @@ |
158 |
158 |
|
159 |
159 |
== JSON == |
160 |
160 |
|
161 |
|
-The //JSON// data source acts analogously to the //CSV// data source, but cannot be bound to a [[selection element>>doc:Formcycle.FormDesigner.FormElements.Selection]] directly. |
|
161 |
+The //JSON// data source acts analogously to the //CSV// data source, but cannot be bound to a [[selection element>>doc:Auswahl]] directly. |
162 |
162 |
|
163 |
163 |
{{figure image="datenquelle_json.png" width="300"}} |
164 |
164 |
The JSON structure of the JSON data source. It is identically equal to the JSON data source. This JSON structure can be accessed via Javascript through {{code}}XFC_METADATA.urls.datasource_[csv|json|xml]{{/code}}. |
... |
... |
@@ -188,7
+188,7 @@ |
188 |
188 |
http(s):~/~/<server>/formcycle/datenquellejson?mandantName=<Mandant-Name>&name=<Datenquellen-Name> |
189 |
189 |
{{/info}} |
190 |
190 |
|
191 |
|
-At an access from the {{designer/}} always use the global variable object //XFC_METADATA//, see also [[global designer variables>>doc:Formcycle.FormDesigner.CodingPanel.ScriptTab.FormMetadata]]. For example you can access as follows: {{code language="javascript"}}XFC_METADATA.urls.datasource_json{{/code}}. |
|
191 |
+At an access from the {{designer/}} always use the global variable object //XFC_METADATA//, see also [[global designer variables>>doc:Formular-Metadaten]]. For example you can access as follows: {{code language="javascript"}}XFC_METADATA.urls.datasource_json{{/code}}. |
192 |
192 |
|
193 |
193 |
The following parameter are possible: |
194 |
194 |
|