Преглед на файлове

HPCC-12621 Edits based upon review

Signed-off-by: Jim DeFabia <jamesdefabia@lexisnexis.com>
Jim DeFabia преди 10 години
родител
ревизия
7284b09873
променени са 2 файла, в които са добавени 40 реда и са изтрити 11 реда
  1. 4 4
      docs/ECLLanguageReference/ECLR_mods/Templ-WEBSERVICE.xml
  2. 36 7
      docs/ECLLanguageReference/ECLR_mods/WkFlo-STORED.xml

+ 4 - 4
docs/ECLLanguageReference/ECLR_mods/Templ-WEBSERVICE.xml

@@ -66,16 +66,16 @@
     </informaltable></para>
     </informaltable></para>
 
 
   <para>The <emphasis role="bold">#WEBSERVICE</emphasis>statement sets options
   <para>The <emphasis role="bold">#WEBSERVICE</emphasis>statement sets options
-  for the WsECL Web form for a published query. </para>
+  for the input parameters on a WsECL Web form for a published query.</para>
 
 
   <para>Example:</para>
   <para>Example:</para>
 
 
   <programlisting>#WEBSERVICE(FIELDS('Field1','AddThem','Field2'),
   <programlisting>#WEBSERVICE(FIELDS('Field1','AddThem','Field2'),
             HELP('Enter Integer Values'),
             HELP('Enter Integer Values'),
             DESCRIPTION('If AddThem is TRUE, this adds the two integers')); 
             DESCRIPTION('If AddThem is TRUE, this adds the two integers')); 
-Field1 := 1 ;//: Stored('Field1');
-Field2 := 2 ;//:Stored('Field2');
-AddThem := TRUE ;//:STORED ('AddThem');
+Field1 := 1 : Stored('Field1');
+Field2 := 2 :Stored('Field2');
+AddThem := TRUE :STORED ('AddThem');
 IF(AddThem,OUTPUT(Field1+Field2),OUTPUT('Not Added'));
 IF(AddThem,OUTPUT(Field1+Field2),OUTPUT('Not Added'));
 </programlisting>
 </programlisting>
 
 

+ 36 - 7
docs/ECLLanguageReference/ECLR_mods/WkFlo-STORED.xml

@@ -14,8 +14,11 @@
     </indexterm> ][</emphasis>, <emphasis
     </indexterm> ][</emphasis>, <emphasis
   role="bold">FORMAT</emphasis>(<emphasis
   role="bold">FORMAT</emphasis>(<emphasis
   role="bold">[FIELDWIDTH(</emphasis><emphasis>widthvalue</emphasis>)<emphasis
   role="bold">[FIELDWIDTH(</emphasis><emphasis>widthvalue</emphasis>)<emphasis
-  role="bold">][,SEQUENCE</emphasis>(<emphasis>sequencevalue</emphasis>)<emphasis
-  role="bold">])] )</emphasis> <indexterm>
+  role="bold">]<emphasis
+  role="bold">[,FIELDHEIGHT(</emphasis><emphasis>heightvalue</emphasis>)][,SEQUENCE</emphasis>(<emphasis>sequencevalue</emphasis>)<emphasis
+  role="bold">]<emphasis
+  role="bold">[,NOINPUT</emphasis><emphasis></emphasis>)<emphasis
+  role="bold">]</emphasis>] )</emphasis> <indexterm>
       <primary>STORED workflow service</primary>
       <primary>STORED workflow service</primary>
     </indexterm>;</para>
     </indexterm>;</para>
 
 
@@ -74,7 +77,21 @@
             <entry><emphasis>widthvalue</emphasis></entry>
             <entry><emphasis>widthvalue</emphasis></entry>
 
 
             <entry>An integer expression defining the width (number of
             <entry>An integer expression defining the width (number of
-            characters) of the input box </entry>
+            characters) of the input box</entry>
+          </row>
+
+          <row>
+            <entry><emphasis role="bold">FIELDHEIGHT</emphasis></entry>
+
+            <entry>Optional. FIELDHEIGHT specifies the height of the input box
+            on a Web form in WsECL.</entry>
+          </row>
+
+          <row>
+            <entry><emphasis>heightvalue</emphasis></entry>
+
+            <entry>An integer expression defining the height (number of rows)
+            of the input box</entry>
           </row>
           </row>
 
 
           <row>
           <row>
@@ -88,7 +105,15 @@
             <entry><emphasis>sequencevalue</emphasis></entry>
             <entry><emphasis>sequencevalue</emphasis></entry>
 
 
             <entry>An integer expression defining the sequential location of
             <entry>An integer expression defining the sequential location of
-            the input box.</entry>
+            the input box. These can be sparse values (e.g., 100, 200, 300) to
+            allow insertion of new inputs in the future. </entry>
+          </row>
+
+          <row>
+            <entry><emphasis role="bold">NOINPUT</emphasis></entry>
+
+            <entry>Optional. If NOINPUT is specified, the field is not
+            displayed on the Web form in WsECL. </entry>
           </row>
           </row>
         </tbody>
         </tbody>
       </tgroup>
       </tgroup>
@@ -116,11 +141,15 @@
   fred := COUNT(person) : STORED('mindy');
   fred := COUNT(person) : STORED('mindy');
      // Name in work unit is mindy
      // Name in work unit is mindy
 
 
-//FORMAT options
-
+//FORMAT options for WsECL form
+  
   Field1 := 1 : Stored('Field1',FORMAT(SEQUENCE(10)));
   Field1 := 1 : Stored('Field1',FORMAT(SEQUENCE(10)));
-  Field2 := 2 :Stored('Field2',FORMAT(FIELDWIDTH(25),SEQUENCE(20))); //Creates 25 character input box
+  Field2 := 2 : Stored('Field2',FORMAT(SEQUENCE(20)));
   AddThem := TRUE :STORED ('AddThem',FORMAT(SEQUENCE(15))); // places field in between Field1 and Field2
   AddThem := TRUE :STORED ('AddThem',FORMAT(SEQUENCE(15))); // places field in between Field1 and Field2
+  HiddenValue := 12 :STORED ('HiddenValue',FORMAT(NOINPUT)); // not on form
+  TextField1 :='Fill in description' :Stored('Description',
+                                      FORMAT(FIELDWIDTH(25),FIELDHEIGHT(2),
+                                      SEQUENCE(5))); //Creates 25 character wide, 2 row high input box
 </programlisting>
 </programlisting>
 
 
   <para>See Also: <link linkend="STORED">STORED function</link>, <link
   <para>See Also: <link linkend="STORED">STORED function</link>, <link