rmobio 1.1.14 → 1.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/rmobio/doc/classes/Rmobio/Cas/Client.html +15 -15
- data/lib/rmobio/doc/classes/Rmobio/Cas/Client.src/M000059.html +33 -0
- data/lib/rmobio/doc/classes/Rmobio/Cas/Client.src/M000060.html +33 -0
- data/lib/rmobio/doc/classes/Rmobio/Cas/Client.src/M000061.html +27 -0
- data/lib/rmobio/doc/classes/Rmobio/Cas/MobioCasFilter.html +12 -12
- data/lib/rmobio/doc/classes/Rmobio/Cas/MobioCasFilter.src/M000064.html +21 -0
- data/lib/rmobio/doc/classes/Rmobio/Cas/MobioCasFilter.src/M000065.html +50 -0
- data/lib/rmobio/doc/classes/Rmobio/Cas/MobioValidationResponse.html +10 -10
- data/lib/rmobio/doc/classes/Rmobio/Cas/MobioValidationResponse.src/M000062.html +19 -0
- data/lib/rmobio/doc/classes/Rmobio/Cas/MobioValidationResponse.src/M000063.html +31 -0
- data/lib/rmobio/doc/classes/Rmobio/ConfigManager.html +5 -0
- data/lib/rmobio/doc/classes/Rmobio/ConfigManager.src/M000001.html +11 -8
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.html +45 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000056.html +17 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000057.html +17 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000058.html +17 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.html +174 -111
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000016.html +3 -3
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000017.html +5 -5
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000018.html +5 -5
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000019.html +6 -6
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000020.html +5 -11
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000021.html +6 -13
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000022.html +9 -18
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000023.html +12 -19
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000024.html +21 -4
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000025.html +20 -9
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000026.html +4 -4
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000027.html +9 -4
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000028.html +4 -38
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000029.html +4 -38
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000030.html +38 -4
- data/lib/rmobio/doc/classes/Rmobio/Utils.html +41 -41
- data/lib/rmobio/doc/classes/Rmobio/Utils.src/M000031.html +19 -0
- data/lib/rmobio/doc/classes/Rmobio/Utils.src/M000032.html +61 -0
- data/lib/rmobio/doc/classes/Rmobio/Utils.src/M000033.html +43 -0
- data/lib/rmobio/doc/classes/Rmobio/Utils.src/M000034.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Utils.src/M000035.html +28 -0
- data/lib/rmobio/doc/classes/Rmobio/Utils.src/M000036.html +22 -0
- data/lib/rmobio/doc/classes/Rmobio/Utils.src/M000037.html +26 -0
- data/lib/rmobio/doc/classes/Rmobio.html +5 -0
- data/lib/rmobio/doc/created.rid +1 -1
- data/lib/rmobio/doc/files/cas_rb.html +1 -1
- data/lib/rmobio/doc/files/config_manager_rb.html +10 -10
- data/lib/rmobio/doc/files/rxml/base_transformer_rb.html +1 -1
- data/lib/rmobio/doc/files/rxml/xforms_transformer_rb.html +1 -1
- data/lib/rmobio/doc/files/utils_rb.html +1 -1
- data/lib/rmobio/doc/fr_class_index.html +1 -0
- data/lib/rmobio/doc/fr_file_index.html +1 -0
- data/lib/rmobio/doc/fr_method_index.html +21 -12
- data/lib/rmobio/rxml/base_transformer.rb +18 -6
- data/lib/rmobio/rxml/xforms_transformer.rb +59 -141
- metadata +19 -2
@@ -0,0 +1,17 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>back_tag (Rmobio::Rxml::BaseTransformer)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File rxml/base_transformer.rb, line 341</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">back_tag</span>(<span class="ruby-identifier">doc</span>)
|
15
|
+
<span class="ruby-keyword kw">end</span></pre>
|
16
|
+
</body>
|
17
|
+
</html>
|
@@ -141,34 +141,36 @@ will be displayed on Mobio runner when you load the rxml page.
|
|
141
141
|
<h3 class="section-bar">Methods</h3>
|
142
142
|
|
143
143
|
<div class="name-list">
|
144
|
-
<a href="#
|
144
|
+
<a href="#M000029">back_tag</a>
|
145
145
|
<a href="#M000002">body</a>
|
146
146
|
<a href="#M000009">button</a>
|
147
147
|
<a href="#M000001">doctype</a>
|
148
|
-
<a href="#
|
148
|
+
<a href="#M000028">exit_tag</a>
|
149
149
|
<a href="#M000007">form</a>
|
150
150
|
<a href="#M000013">image</a>
|
151
151
|
<a href="#M000005">input</a>
|
152
152
|
<a href="#M000014">instance_tag</a>
|
153
153
|
<a href="#M000008">link</a>
|
154
|
-
<a href="#
|
155
|
-
<a href="#
|
156
|
-
<a href="#
|
157
|
-
<a href="#
|
154
|
+
<a href="#M000019">list</a>
|
155
|
+
<a href="#M000026">load_tag</a>
|
156
|
+
<a href="#M000025">menu</a>
|
157
|
+
<a href="#M000024">menus</a>
|
158
|
+
<a href="#M000030">method_missing</a>
|
158
159
|
<a href="#M000010">model_tag</a>
|
159
160
|
<a href="#M000012">softBr</a>
|
160
|
-
<a href="#
|
161
|
+
<a href="#M000023">softkey</a>
|
161
162
|
<a href="#M000006">submit_tag</a>
|
162
|
-
<a href="#
|
163
|
-
<a href="#
|
164
|
-
<a href="#
|
163
|
+
<a href="#M000021">switch</a>
|
164
|
+
<a href="#M000027">syscall</a>
|
165
|
+
<a href="#M000020">tab</a>
|
165
166
|
<a href="#M000015">table</a>
|
166
|
-
<a href="#
|
167
|
+
<a href="#M000018">table_cell</a>
|
167
168
|
<a href="#M000016">table_row</a>
|
169
|
+
<a href="#M000017">table_row_list</a>
|
168
170
|
<a href="#M000003">text</a>
|
169
171
|
<a href="#M000004">textarea</a>
|
170
172
|
<a href="#M000011">view_tag</a>
|
171
|
-
<a href="#
|
173
|
+
<a href="#M000022">xcase</a>
|
172
174
|
</div>
|
173
175
|
</div>
|
174
176
|
|
@@ -197,21 +199,36 @@ will be displayed on Mobio runner when you load the rxml page.
|
|
197
199
|
<div id="methods">
|
198
200
|
<h3 class="section-bar">Public Instance methods</h3>
|
199
201
|
|
200
|
-
<div id="method-
|
201
|
-
<a name="
|
202
|
+
<div id="method-M000029" class="method-detail">
|
203
|
+
<a name="M000029"></a>
|
202
204
|
|
203
205
|
<div class="method-heading">
|
204
|
-
<a href="XformsTransformer.src/
|
205
|
-
onclick="popupCode('XformsTransformer.src/
|
206
|
+
<a href="XformsTransformer.src/M000029.html" target="Code" class="method-signature"
|
207
|
+
onclick="popupCode('XformsTransformer.src/M000029.html');return false;">
|
206
208
|
<span class="method-name">back_tag</span><span class="method-args">(doc)</span>
|
207
209
|
</a>
|
208
210
|
</div>
|
209
211
|
|
210
212
|
<div class="method-description">
|
211
213
|
<p>
|
212
|
-
Create back control to go back to previous page
|
214
|
+
Create back control to go back to previous page.
|
213
215
|
</p>
|
214
216
|
<h4>Examples</h4>
|
217
|
+
<pre>
|
218
|
+
@xml.softkey(body, "3", "back") do |soft1|
|
219
|
+
@xml.back_tag(soft1)
|
220
|
+
end
|
221
|
+
</pre>
|
222
|
+
<p>
|
223
|
+
generates a right <a href="XformsTransformer.html#M000023">softkey</a> that
|
224
|
+
go back to previous page:
|
225
|
+
</p>
|
226
|
+
<pre>
|
227
|
+
<m:softkey position="3">
|
228
|
+
<m:label>back</m:label>
|
229
|
+
<m:back ev:event="DOMActivate"/>
|
230
|
+
</m:softkey>
|
231
|
+
</pre>
|
215
232
|
</div>
|
216
233
|
</div>
|
217
234
|
|
@@ -361,21 +378,36 @@ the final document.
|
|
361
378
|
</div>
|
362
379
|
</div>
|
363
380
|
|
364
|
-
<div id="method-
|
365
|
-
<a name="
|
381
|
+
<div id="method-M000028" class="method-detail">
|
382
|
+
<a name="M000028"></a>
|
366
383
|
|
367
384
|
<div class="method-heading">
|
368
|
-
<a href="XformsTransformer.src/
|
369
|
-
onclick="popupCode('XformsTransformer.src/
|
385
|
+
<a href="XformsTransformer.src/M000028.html" target="Code" class="method-signature"
|
386
|
+
onclick="popupCode('XformsTransformer.src/M000028.html');return false;">
|
370
387
|
<span class="method-name">exit_tag</span><span class="method-args">(doc)</span>
|
371
388
|
</a>
|
372
389
|
</div>
|
373
390
|
|
374
391
|
<div class="method-description">
|
375
392
|
<p>
|
376
|
-
Create exit control to exit the client
|
393
|
+
Create exit control to exit the client.
|
377
394
|
</p>
|
378
395
|
<h4>Examples</h4>
|
396
|
+
<pre>
|
397
|
+
@xml.softkey(body, "1", "exit") do |soft1|
|
398
|
+
@xml.exit_tag(soft1)
|
399
|
+
end
|
400
|
+
</pre>
|
401
|
+
<p>
|
402
|
+
generates a left <a href="XformsTransformer.html#M000023">softkey</a> that
|
403
|
+
exits the client:
|
404
|
+
</p>
|
405
|
+
<pre>
|
406
|
+
<m:softkey position="1">
|
407
|
+
<m:label>exit</m:label>
|
408
|
+
<m:exit ev:event="DOMActivate"/>
|
409
|
+
</m:softkey>
|
410
|
+
</pre>
|
379
411
|
</div>
|
380
412
|
</div>
|
381
413
|
|
@@ -784,12 +816,29 @@ generates the following xforms:
|
|
784
816
|
</div>
|
785
817
|
</div>
|
786
818
|
|
787
|
-
<div id="method-
|
788
|
-
<a name="
|
819
|
+
<div id="method-M000019" class="method-detail">
|
820
|
+
<a name="M000019"></a>
|
789
821
|
|
790
822
|
<div class="method-heading">
|
791
|
-
<a href="XformsTransformer.src/
|
792
|
-
onclick="popupCode('XformsTransformer.src/
|
823
|
+
<a href="XformsTransformer.src/M000019.html" target="Code" class="method-signature"
|
824
|
+
onclick="popupCode('XformsTransformer.src/M000019.html');return false;">
|
825
|
+
<span class="method-name">list</span><span class="method-args">(doc, style="", xstyle="") {|doc| ...}</span>
|
826
|
+
</a>
|
827
|
+
</div>
|
828
|
+
|
829
|
+
<div class="method-description">
|
830
|
+
<p>
|
831
|
+
Create slist control. To be implemented
|
832
|
+
</p>
|
833
|
+
</div>
|
834
|
+
</div>
|
835
|
+
|
836
|
+
<div id="method-M000026" class="method-detail">
|
837
|
+
<a name="M000026"></a>
|
838
|
+
|
839
|
+
<div class="method-heading">
|
840
|
+
<a href="XformsTransformer.src/M000026.html" target="Code" class="method-signature"
|
841
|
+
onclick="popupCode('XformsTransformer.src/M000026.html');return false;">
|
793
842
|
<span class="method-name">load_tag</span><span class="method-args">(doc, resource)</span>
|
794
843
|
</a>
|
795
844
|
</div>
|
@@ -823,12 +872,12 @@ generates the following:
|
|
823
872
|
</div>
|
824
873
|
</div>
|
825
874
|
|
826
|
-
<div id="method-
|
827
|
-
<a name="
|
875
|
+
<div id="method-M000025" class="method-detail">
|
876
|
+
<a name="M000025"></a>
|
828
877
|
|
829
878
|
<div class="method-heading">
|
830
|
-
<a href="XformsTransformer.src/
|
831
|
-
onclick="popupCode('XformsTransformer.src/
|
879
|
+
<a href="XformsTransformer.src/M000025.html" target="Code" class="method-signature"
|
880
|
+
onclick="popupCode('XformsTransformer.src/M000025.html');return false;">
|
832
881
|
<span class="method-name">menu</span><span class="method-args">(doc, label, accesskey=nil, xstyle=nil) {|doc| ...}</span>
|
833
882
|
</a>
|
834
883
|
</div>
|
@@ -836,7 +885,7 @@ generates the following:
|
|
836
885
|
<div class="method-description">
|
837
886
|
<p>
|
838
887
|
Create an action item in a popup <a
|
839
|
-
href="XformsTransformer.html#
|
888
|
+
href="XformsTransformer.html#M000025">menu</a>.
|
840
889
|
</p>
|
841
890
|
<ol>
|
842
891
|
<li>label: what is displayed on the title of the popup window. Default label is
|
@@ -844,12 +893,12 @@ href="XformsTransformer.html#M000023">menu</a>.
|
|
844
893
|
|
845
894
|
</li>
|
846
895
|
<li>accesskey: A short cut key (0-9) that is assigned to this <a
|
847
|
-
href="XformsTransformer.html#
|
896
|
+
href="XformsTransformer.html#M000025">menu</a> item. If not specified, it
|
848
897
|
is asssinged a number sequentially.
|
849
898
|
|
850
899
|
</li>
|
851
900
|
<li>xstyle: the xforms style string for the <a
|
852
|
-
href="XformsTransformer.html#
|
901
|
+
href="XformsTransformer.html#M000025">menu</a> item. If xstyle is not
|
853
902
|
specified, default style string "style=‘optionmenu’"
|
854
903
|
is used.
|
855
904
|
|
@@ -857,28 +906,28 @@ is used.
|
|
857
906
|
</ol>
|
858
907
|
<h4>Examples</h4>
|
859
908
|
<p>
|
860
|
-
Refer to <a href="XformsTransformer.html#
|
909
|
+
Refer to <a href="XformsTransformer.html#M000023">softkey</a> examples
|
861
910
|
</p>
|
862
911
|
</div>
|
863
912
|
</div>
|
864
913
|
|
865
|
-
<div id="method-
|
866
|
-
<a name="
|
914
|
+
<div id="method-M000024" class="method-detail">
|
915
|
+
<a name="M000024"></a>
|
867
916
|
|
868
917
|
<div class="method-heading">
|
869
|
-
<a href="XformsTransformer.src/
|
870
|
-
onclick="popupCode('XformsTransformer.src/
|
918
|
+
<a href="XformsTransformer.src/M000024.html" target="Code" class="method-signature"
|
919
|
+
onclick="popupCode('XformsTransformer.src/M000024.html');return false;">
|
871
920
|
<span class="method-name">menus</span><span class="method-args">(doc, id, label="Options", xstyle=nil) {|doc| ...}</span>
|
872
921
|
</a>
|
873
922
|
</div>
|
874
923
|
|
875
924
|
<div class="method-description">
|
876
925
|
<p>
|
877
|
-
A holders for a popup <a href="XformsTransformer.html#
|
926
|
+
A holders for a popup <a href="XformsTransformer.html#M000025">menu</a>.
|
878
927
|
</p>
|
879
928
|
<ol>
|
880
929
|
<li>id: the widget‘s reference id. The id is used by <a
|
881
|
-
href="XformsTransformer.html#
|
930
|
+
href="XformsTransformer.html#M000023">softkey</a> to trigger the popup
|
882
931
|
action.
|
883
932
|
|
884
933
|
</li>
|
@@ -889,23 +938,23 @@ action.
|
|
889
938
|
<li>xstyle: the xforms style string for the popup window. If xstyle is not
|
890
939
|
specified, default style string "width=‘40%’
|
891
940
|
style=‘popup-<a
|
892
|
-
href="XformsTransformer.html#
|
941
|
+
href="XformsTransformer.html#M000025">menu</a>’" is used.
|
893
942
|
|
894
943
|
</li>
|
895
944
|
</ol>
|
896
945
|
<h4>Examples</h4>
|
897
946
|
<p>
|
898
|
-
Refer to <a href="XformsTransformer.html#
|
947
|
+
Refer to <a href="XformsTransformer.html#M000023">softkey</a> examples
|
899
948
|
</p>
|
900
949
|
</div>
|
901
950
|
</div>
|
902
951
|
|
903
|
-
<div id="method-
|
904
|
-
<a name="
|
952
|
+
<div id="method-M000030" class="method-detail">
|
953
|
+
<a name="M000030"></a>
|
905
954
|
|
906
955
|
<div class="method-heading">
|
907
|
-
<a href="XformsTransformer.src/
|
908
|
-
onclick="popupCode('XformsTransformer.src/
|
956
|
+
<a href="XformsTransformer.src/M000030.html" target="Code" class="method-signature"
|
957
|
+
onclick="popupCode('XformsTransformer.src/M000030.html');return false;">
|
909
958
|
<span class="method-name">method_missing</span><span class="method-args">(sym, *options, &block)</span>
|
910
959
|
</a>
|
911
960
|
</div>
|
@@ -913,7 +962,7 @@ Refer to <a href="XformsTransformer.html#M000021">softkey</a> examples
|
|
913
962
|
<div class="method-description">
|
914
963
|
<p>
|
915
964
|
Override builder <a
|
916
|
-
href="XformsTransformer.html#
|
965
|
+
href="XformsTransformer.html#M000030">method_missing</a> method to send
|
917
966
|
output to model buffer so we can create arbitrary xml tags in the model.
|
918
967
|
Typically combine with <a
|
919
968
|
href="XformsTransformer.html#M000014">instance_tag</a> to create model
|
@@ -979,43 +1028,43 @@ Line break
|
|
979
1028
|
</div>
|
980
1029
|
</div>
|
981
1030
|
|
982
|
-
<div id="method-
|
983
|
-
<a name="
|
1031
|
+
<div id="method-M000023" class="method-detail">
|
1032
|
+
<a name="M000023"></a>
|
984
1033
|
|
985
1034
|
<div class="method-heading">
|
986
|
-
<a href="XformsTransformer.src/
|
987
|
-
onclick="popupCode('XformsTransformer.src/
|
1035
|
+
<a href="XformsTransformer.src/M000023.html" target="Code" class="method-signature"
|
1036
|
+
onclick="popupCode('XformsTransformer.src/M000023.html');return false;">
|
988
1037
|
<span class="method-name">softkey</span><span class="method-args">(doc, position="1", label="", refid=nil) {|doc| ...}</span>
|
989
1038
|
</a>
|
990
1039
|
</div>
|
991
1040
|
|
992
1041
|
<div class="method-description">
|
993
1042
|
<p>
|
994
|
-
Create a <a href="XformsTransformer.html#
|
995
|
-
href="XformsTransformer.html#
|
1043
|
+
Create a <a href="XformsTransformer.html#M000023">softkey</a> <a
|
1044
|
+
href="XformsTransformer.html#M000025">menu</a>.
|
996
1045
|
</p>
|
997
1046
|
<ol>
|
998
1047
|
<li>position: "1" for left <a
|
999
|
-
href="XformsTransformer.html#
|
1000
|
-
right <a href="XformsTransformer.html#
|
1048
|
+
href="XformsTransformer.html#M000023">softkey</a> and "3" for
|
1049
|
+
right <a href="XformsTransformer.html#M000023">softkey</a>
|
1001
1050
|
|
1002
1051
|
</li>
|
1003
1052
|
<li>label: what is displayed in the <a
|
1004
|
-
href="XformsTransformer.html#
|
1005
|
-
href="XformsTransformer.html#
|
1053
|
+
href="XformsTransformer.html#M000020">tab</a> header (only needed in <a
|
1054
|
+
href="XformsTransformer.html#M000020">tab</a> case)
|
1006
1055
|
|
1007
1056
|
</li>
|
1008
1057
|
<li>xstyle: the xforms style string for the case (only needed in <a
|
1009
|
-
href="XformsTransformer.html#
|
1058
|
+
href="XformsTransformer.html#M000020">tab</a> case)
|
1010
1059
|
|
1011
1060
|
</li>
|
1012
1061
|
</ol>
|
1013
1062
|
<h4>Examples</h4>
|
1014
1063
|
<ul>
|
1015
1064
|
<li>Softkey with a load action. The left <a
|
1016
|
-
href="XformsTransformer.html#
|
1065
|
+
href="XformsTransformer.html#M000023">softkey</a> is created with label
|
1017
1066
|
"GO" and will load page foo2.xml when the <a
|
1018
|
-
href="XformsTransformer.html#
|
1067
|
+
href="XformsTransformer.html#M000023">softkey</a> is pressed.
|
1019
1068
|
|
1020
1069
|
</li>
|
1021
1070
|
</ul>
|
@@ -1035,13 +1084,13 @@ generates the following:
|
|
1035
1084
|
</pre>
|
1036
1085
|
<ul>
|
1037
1086
|
<li>Softkey that pops up an Options <a
|
1038
|
-
href="XformsTransformer.html#
|
1039
|
-
href="XformsTransformer.html#
|
1040
|
-
href="XformsTransformer.html#
|
1041
|
-
display 4 <a href="XformsTransformer.html#
|
1042
|
-
first 3 <a href="XformsTransformer.html#
|
1087
|
+
href="XformsTransformer.html#M000025">menu</a>. When right <a
|
1088
|
+
href="XformsTransformer.html#M000023">softkey</a> is pressed, a popup <a
|
1089
|
+
href="XformsTransformer.html#M000025">menu</a> "Options" will
|
1090
|
+
display 4 <a href="XformsTransformer.html#M000025">menu</a> items. The
|
1091
|
+
first 3 <a href="XformsTransformer.html#M000025">menu</a> items are
|
1043
1092
|
assigned a default accesskey. The last <a
|
1044
|
-
href="XformsTransformer.html#
|
1093
|
+
href="XformsTransformer.html#M000025">menu</a> item defines its own access
|
1045
1094
|
key "0" which is reserved for exit action.
|
1046
1095
|
|
1047
1096
|
</li>
|
@@ -1124,7 +1173,7 @@ href="XformsTransformer.html#M000006">submit_tag</a> can not act along, it
|
|
1124
1173
|
has to be associated with a tag with UI (like <a
|
1125
1174
|
href="XformsTransformer.html#M000008">link</a> tag, <a
|
1126
1175
|
href="XformsTransformer.html#M000009">button</a> or <a
|
1127
|
-
href="XformsTransformer.html#
|
1176
|
+
href="XformsTransformer.html#M000025">menu</a> item where user can click
|
1128
1177
|
on).
|
1129
1178
|
</p>
|
1130
1179
|
<ol>
|
@@ -1241,12 +1290,12 @@ href="XformsTransformer.html#M000009">button</a> to work.
|
|
1241
1290
|
</div>
|
1242
1291
|
</div>
|
1243
1292
|
|
1244
|
-
<div id="method-
|
1245
|
-
<a name="
|
1293
|
+
<div id="method-M000021" class="method-detail">
|
1294
|
+
<a name="M000021"></a>
|
1246
1295
|
|
1247
1296
|
<div class="method-heading">
|
1248
|
-
<a href="XformsTransformer.src/
|
1249
|
-
onclick="popupCode('XformsTransformer.src/
|
1297
|
+
<a href="XformsTransformer.src/M000021.html" target="Code" class="method-signature"
|
1298
|
+
onclick="popupCode('XformsTransformer.src/M000021.html');return false;">
|
1250
1299
|
<span class="method-name">switch</span><span class="method-args">(doc) {|doc| ...}</span>
|
1251
1300
|
</a>
|
1252
1301
|
</div>
|
@@ -1254,9 +1303,9 @@ href="XformsTransformer.html#M000009">button</a> to work.
|
|
1254
1303
|
<div class="method-description">
|
1255
1304
|
<p>
|
1256
1305
|
Create swtich case control, similar to Tab control but without the <a
|
1257
|
-
href="XformsTransformer.html#
|
1258
|
-
href="XformsTransformer.html#
|
1259
|
-
href="XformsTransformer.html#
|
1306
|
+
href="XformsTransformer.html#M000020">tab</a> UI. This tag and <a
|
1307
|
+
href="XformsTransformer.html#M000022">xcase</a> tag can create muliple <a
|
1308
|
+
href="XformsTransformer.html#M000021">switch</a> case for xforms client to
|
1260
1309
|
provide multiple UIs in a <a href="XformsTransformer.html#M000007">form</a>
|
1261
1310
|
that can be toggled back and forth using the xf:toggle command. Refer to
|
1262
1311
|
client user manual for the usage.
|
@@ -1288,23 +1337,23 @@ generates the following:
|
|
1288
1337
|
</div>
|
1289
1338
|
</div>
|
1290
1339
|
|
1291
|
-
<div id="method-
|
1292
|
-
<a name="
|
1340
|
+
<div id="method-M000027" class="method-detail">
|
1341
|
+
<a name="M000027"></a>
|
1293
1342
|
|
1294
1343
|
<div class="method-heading">
|
1295
|
-
<a href="XformsTransformer.src/
|
1296
|
-
onclick="popupCode('XformsTransformer.src/
|
1344
|
+
<a href="XformsTransformer.src/M000027.html" target="Code" class="method-signature"
|
1345
|
+
onclick="popupCode('XformsTransformer.src/M000027.html');return false;">
|
1297
1346
|
<span class="method-name">syscall</span><span class="method-args">(doc, name, address=nil, address_ref=nil, message=nil, message_ref=nil)</span>
|
1298
1347
|
</a>
|
1299
1348
|
</div>
|
1300
1349
|
|
1301
1350
|
<div class="method-description">
|
1302
1351
|
<p>
|
1303
|
-
Create <a href="XformsTransformer.html#
|
1352
|
+
Create <a href="XformsTransformer.html#M000027">syscall</a> control. Refer
|
1304
1353
|
to mobio client user manual for details usage of sysacll.
|
1305
1354
|
</p>
|
1306
1355
|
<ol>
|
1307
|
-
<li>name: the name of the <a href="XformsTransformer.html#
|
1356
|
+
<li>name: the name of the <a href="XformsTransformer.html#M000027">syscall</a>
|
1308
1357
|
function. The client supports "click2call",
|
1309
1358
|
|
1310
1359
|
</li>
|
@@ -1315,19 +1364,19 @@ function. The client supports "click2call",
|
|
1315
1364
|
</p>
|
1316
1365
|
<ol>
|
1317
1366
|
<li>address: specifify the value for param tag in <a
|
1318
|
-
href="XformsTransformer.html#
|
1367
|
+
href="XformsTransformer.html#M000027">syscall</a>
|
1319
1368
|
|
1320
1369
|
</li>
|
1321
1370
|
<li>address_ref: specify the xpath for the address param tag in <a
|
1322
|
-
href="XformsTransformer.html#
|
1371
|
+
href="XformsTransformer.html#M000027">syscall</a>
|
1323
1372
|
|
1324
1373
|
</li>
|
1325
1374
|
<li>message: specifify the value for param tag in <a
|
1326
|
-
href="XformsTransformer.html#
|
1375
|
+
href="XformsTransformer.html#M000027">syscall</a>
|
1327
1376
|
|
1328
1377
|
</li>
|
1329
1378
|
<li>message_ref: specifify the xpath for the message param tag in <a
|
1330
|
-
href="XformsTransformer.html#
|
1379
|
+
href="XformsTransformer.html#M000027">syscall</a>
|
1331
1380
|
|
1332
1381
|
</li>
|
1333
1382
|
</ol>
|
@@ -1396,13 +1445,13 @@ In view
|
|
1396
1445
|
<pre>
|
1397
1446
|
<m:button height="1ex">
|
1398
1447
|
<m:label>btn1</m:label>
|
1399
|
-
<m:syscall name="click2call"
|
1448
|
+
<m:syscall name="click2call" ev:event="DOMActivate">
|
1400
1449
|
<m:param name="address" ref="instance('phone')/number"/>
|
1401
1450
|
</m:syscall>
|
1402
1451
|
</m:button>
|
1403
1452
|
<m:button height="1ex">
|
1404
1453
|
<m:label>btn2</m:label>
|
1405
|
-
<m:syscall name="click2call"
|
1454
|
+
<m:syscall name="click2call" ev:event="DOMActivate">
|
1406
1455
|
<m:param name="address">tel:5551212</m:param>
|
1407
1456
|
</m:syscall>
|
1408
1457
|
</m:button>
|
@@ -1410,18 +1459,18 @@ In view
|
|
1410
1459
|
<p>
|
1411
1460
|
When user selects the <a href="XformsTransformer.html#M000009">button</a>
|
1412
1461
|
"btn1" or "btn2", it places a phone call to the number.
|
1413
|
-
The <a href="XformsTransformer.html#
|
1462
|
+
The <a href="XformsTransformer.html#M000027">syscall</a> for btn1 uses the
|
1414
1463
|
phone number from instance data.
|
1415
1464
|
</p>
|
1416
1465
|
</div>
|
1417
1466
|
</div>
|
1418
1467
|
|
1419
|
-
<div id="method-
|
1420
|
-
<a name="
|
1468
|
+
<div id="method-M000020" class="method-detail">
|
1469
|
+
<a name="M000020"></a>
|
1421
1470
|
|
1422
1471
|
<div class="method-heading">
|
1423
|
-
<a href="XformsTransformer.src/
|
1424
|
-
onclick="popupCode('XformsTransformer.src/
|
1472
|
+
<a href="XformsTransformer.src/M000020.html" target="Code" class="method-signature"
|
1473
|
+
onclick="popupCode('XformsTransformer.src/M000020.html');return false;">
|
1425
1474
|
<span class="method-name">tab</span><span class="method-args">(doc, xstyle='width="100%" height="100%" style="tabbody"') {|doc| ...}</span>
|
1426
1475
|
</a>
|
1427
1476
|
</div>
|
@@ -1436,15 +1485,15 @@ value ‘height="100% width="100%
|
|
1436
1485
|
style="tabbody"’ will be used. You need to # define a style
|
1437
1486
|
class "tabbody" if you want to style the widget. # The tag is
|
1438
1487
|
always followed by several <a
|
1439
|
-
href="XformsTransformer.html#
|
1488
|
+
href="XformsTransformer.html#M000022">xcase</a> tags to create a complete
|
1440
1489
|
UI # for Tabs.
|
1441
1490
|
|
1442
1491
|
</li>
|
1443
1492
|
</ol>
|
1444
1493
|
<h4>Examples</h4>
|
1445
1494
|
<p>
|
1446
|
-
Create a <a href="XformsTransformer.html#
|
1447
|
-
contains 2 case in the <a href="XformsTransformer.html#
|
1495
|
+
Create a <a href="XformsTransformer.html#M000020">tab</a> control that
|
1496
|
+
contains 2 case in the <a href="XformsTransformer.html#M000020">tab</a> <a
|
1448
1497
|
href="XformsTransformer.html#M000002">body</a> and header:
|
1449
1498
|
</p>
|
1450
1499
|
<pre>
|
@@ -1499,12 +1548,12 @@ href="XformsTransformer.html#M000015">table</a> in html
|
|
1499
1548
|
</div>
|
1500
1549
|
</div>
|
1501
1550
|
|
1502
|
-
<div id="method-
|
1503
|
-
<a name="
|
1551
|
+
<div id="method-M000018" class="method-detail">
|
1552
|
+
<a name="M000018"></a>
|
1504
1553
|
|
1505
1554
|
<div class="method-heading">
|
1506
|
-
<a href="XformsTransformer.src/
|
1507
|
-
onclick="popupCode('XformsTransformer.src/
|
1555
|
+
<a href="XformsTransformer.src/M000018.html" target="Code" class="method-signature"
|
1556
|
+
onclick="popupCode('XformsTransformer.src/M000018.html');return false;">
|
1508
1557
|
<span class="method-name">table_cell</span><span class="method-args">(doc, style="", xstyle="") {|doc| ...}</span>
|
1509
1558
|
</a>
|
1510
1559
|
</div>
|
@@ -1519,7 +1568,21 @@ href="XformsTransformer.html#M000015">table</a> in html
|
|
1519
1568
|
<div class="method-heading">
|
1520
1569
|
<a href="XformsTransformer.src/M000016.html" target="Code" class="method-signature"
|
1521
1570
|
onclick="popupCode('XformsTransformer.src/M000016.html');return false;">
|
1522
|
-
<span class="method-name">table_row</span><span class="method-args">(doc, style="", xstyle="") {|doc| ...}</span>
|
1571
|
+
<span class="method-name">table_row</span><span class="method-args">(doc, id, nodeset, style="", xstyle="") {|doc| ...}</span>
|
1572
|
+
</a>
|
1573
|
+
</div>
|
1574
|
+
|
1575
|
+
<div class="method-description">
|
1576
|
+
</div>
|
1577
|
+
</div>
|
1578
|
+
|
1579
|
+
<div id="method-M000017" class="method-detail">
|
1580
|
+
<a name="M000017"></a>
|
1581
|
+
|
1582
|
+
<div class="method-heading">
|
1583
|
+
<a href="XformsTransformer.src/M000017.html" target="Code" class="method-signature"
|
1584
|
+
onclick="popupCode('XformsTransformer.src/M000017.html');return false;">
|
1585
|
+
<span class="method-name">table_row_list</span><span class="method-args">(doc, id, style="", xstyle="") {|doc| ...}</span>
|
1523
1586
|
</a>
|
1524
1587
|
</div>
|
1525
1588
|
|
@@ -1762,12 +1825,12 @@ xforms tags that are not supported yet in the transformer.
|
|
1762
1825
|
</div>
|
1763
1826
|
</div>
|
1764
1827
|
|
1765
|
-
<div id="method-
|
1766
|
-
<a name="
|
1828
|
+
<div id="method-M000022" class="method-detail">
|
1829
|
+
<a name="M000022"></a>
|
1767
1830
|
|
1768
1831
|
<div class="method-heading">
|
1769
|
-
<a href="XformsTransformer.src/
|
1770
|
-
onclick="popupCode('XformsTransformer.src/
|
1832
|
+
<a href="XformsTransformer.src/M000022.html" target="Code" class="method-signature"
|
1833
|
+
onclick="popupCode('XformsTransformer.src/M000022.html');return false;">
|
1771
1834
|
<span class="method-name">xcase</span><span class="method-args">(doc, id, label=nil, xstyle=nil) {|doc| ...}</span>
|
1772
1835
|
</a>
|
1773
1836
|
</div>
|
@@ -1775,24 +1838,24 @@ xforms tags that are not supported yet in the transformer.
|
|
1775
1838
|
<div class="method-description">
|
1776
1839
|
<p>
|
1777
1840
|
Create a case control. This tag cannot act along. It has to be wrapped in
|
1778
|
-
either a "<a href="XformsTransformer.html#
|
1779
|
-
tag or a "<a href="XformsTransformer.html#
|
1841
|
+
either a "<a href="XformsTransformer.html#M000021">switch</a>"
|
1842
|
+
tag or a "<a href="XformsTransformer.html#M000020">tab</a>" tag.
|
1780
1843
|
See the document and examples in <a
|
1781
|
-
href="XformsTransformer.html#
|
1782
|
-
href="XformsTransformer.html#
|
1844
|
+
href="XformsTransformer.html#M000020">tab</a> and <a
|
1845
|
+
href="XformsTransformer.html#M000021">switch</a> tag.
|
1783
1846
|
</p>
|
1784
1847
|
<ol>
|
1785
1848
|
<li>id: the case reference id
|
1786
1849
|
|
1787
1850
|
</li>
|
1788
1851
|
<li>label: what is displayed in the <a
|
1789
|
-
href="XformsTransformer.html#
|
1790
|
-
href="XformsTransformer.html#
|
1852
|
+
href="XformsTransformer.html#M000020">tab</a> header (only needed in <a
|
1853
|
+
href="XformsTransformer.html#M000020">tab</a> case)
|
1791
1854
|
|
1792
1855
|
</li>
|
1793
1856
|
<li>xstyle: the xforms style string for the case (only needed in <a
|
1794
|
-
href="XformsTransformer.html#
|
1795
|
-
default style="<a href="XformsTransformer.html#
|
1857
|
+
href="XformsTransformer.html#M000020">tab</a> case). if not defined,
|
1858
|
+
default style="<a href="XformsTransformer.html#M000020">tab</a>"
|
1796
1859
|
will be applied.
|
1797
1860
|
|
1798
1861
|
</li>
|
@@ -11,10 +11,10 @@
|
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
13
|
<pre><span class="ruby-comment cmt"># File rxml/xforms_transformer.rb, line 629</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">table_row</span>(<span class="ruby-identifier">doc</span>, <span class="ruby-identifier">style</span>=<span class="ruby-value str">""</span>, <span class="ruby-identifier">xstyle</span>=<span class="ruby-value str">""</span>)
|
15
|
-
<span class="ruby-ivar">@view_buffer</span> <span class="ruby-operator"><<</span> <span class="ruby-
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">table_row</span>(<span class="ruby-identifier">doc</span>, <span class="ruby-identifier">id</span>, <span class="ruby-identifier">nodeset</span>, <span class="ruby-identifier">style</span>=<span class="ruby-value str">""</span>, <span class="ruby-identifier">xstyle</span>=<span class="ruby-value str">""</span>)
|
15
|
+
<span class="ruby-ivar">@view_buffer</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"\n<m:rowset id=\"#{id}\" nodeset=\"#{nodeset}\" col=\"auto\">"</span>
|
16
16
|
<span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">doc</span>
|
17
|
-
<span class="ruby-ivar">@view_buffer</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">'</m:
|
17
|
+
<span class="ruby-ivar">@view_buffer</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">'</m:rowset>'</span>
|
18
18
|
<span class="ruby-keyword kw">end</span></pre>
|
19
19
|
</body>
|
20
20
|
</html>
|