Author: rahul
Date: Sat Aug  6 11:11:38 2005
New Revision: 230562

URL: http://svn.apache.org/viewcvs?rev=230562&view=rev
Log:
1) Brush up documentation
2) Add graceful exit attributes to newer components

Modified:
    jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardAmount.rdc
    jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardAmount.tag
    jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardExpiry.rdc
    jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardExpiry.tag
    jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardInfo.rdc
    jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardInfo.tag
    jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardNumber.rdc
    jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardNumber.tag
    jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/date.rdc
    jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/digits.rdc
    jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/mortgage.rdc
    jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/mortgage.tag
    jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/mortgageType.rdc
    jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/percent.rdc
    jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/select1.rdc
    jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/template.rdc
    jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/usMajorCity.rdc
    jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/usState.rdc
    jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/zipCode.rdc

Modified: 
jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardAmount.rdc
URL: 
http://svn.apache.org/viewcvs/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardAmount.rdc?rev=230562&r1=230561&r2=230562&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardAmount.rdc 
(original)
+++ jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardAmount.rdc 
Sat Aug  6 11:11:38 2005
@@ -31,29 +31,45 @@
                considered while validating a user input.
                </param>
                <param name="locale" value="[language](-[country])?" 
required="false" rtexprvalue="true" visible="2" description="RDC Locale">
-        The Locale to which the grammar(s) and default configuration chosen 
for this component will belong to.
-        Default is en-US.
-        </param>
+               The Locale to which the grammar(s) and default configuration 
chosen for this component will belong to.
+               Default is en-US.
+               </param>
                <param name="minConfidence" value="[0-9][0-9].[0-9]*F" 
required="false" rtexprvalue="true" description="Minimum confidence value of 
the recognised output">
                This specifies the minimum score of a utterance for it to be 
                considered in the NBest list. 
                </param>
+               <param name="balance" required="false" value="[0-9]*.[0-9]{2}" 
rtexprvalue="true" description="Balance for this payment">
+               This specifies the balance for the account on which this 
payment is being made. 
+               </param>
+               <param name="minAmount" required="false" 
value="[0-9]*.[0-9]{2}" rtexprvalue="true" description="Minimum amount due">
+               This specifies the minimum amount due for the account on which 
this payment is being made. 
+               </param>
+               <param name="maxAmount" required="false" 
value="[0-9]*.[0-9]{2}" rtexprvalue="true" description="Maximum payment that 
can be made">
+               This specifies the maximum amount payable for the account on 
which this payment is being made. 
+               </param>
+               <param name="maxDenials" required="false" value="[0-9]*" 
rtexprvalue="true" description="Maximum denied confirmations that will cause 
this RDC to exit">
+               This specifies the maximum number of denied confirmations (from 
the user) that will cause this RDC to exit.
+               </param>
+               <param name="currencyCode" value="[A-Za-z][A-Za-z][A-Za-z]"  
required="false" rtexprvalue="true" visible="2" description="ISO 4217 currency 
code">
+               The ISO 4217 currency code. If specified only the currency 
represented by this
+               code will be accepted.
+               </param>
                <param name="echo" value="true/false" required="false" 
rtexprvalue="true" description="Playback options">
                If echo is true, the value is played back to the user, else
                it is not. Default is no echo.
                </param>
                <param name="maxNoInput" value="[0-9]*" required="false" 
rtexprvalue="true" visible="2" description="Graceful exit on noinput">
-        Maximum number of client side &lt;noinput&gt; events before this RDC 
gracefully exits with MAX_NOINPUT exitStatus.
-        Never exit by default.
-        </param>
-        <param name="maxNoMatch" value="[0-9]*" required="false" 
rtexprvalue="true" visible="2" description="Graceful exit on nomatch">
-        Maximum number of client side &lt;nomatch&gt; events before this RDC 
gracefully exits with MAX_NOMATCH exitStatus.
-        Never exit by default.
-        </param>
+               Maximum number of client side &lt;noinput&gt; events before 
this RDC gracefully exits with MAX_NOINPUT exitStatus.
+               Never exit by default.
+               </param>
+               <param name="maxNoMatch" value="[0-9]*" required="false" 
rtexprvalue="true" visible="2" description="Graceful exit on nomatch">
+               Maximum number of client side &lt;nomatch&gt; events before 
this RDC gracefully exits with MAX_NOMATCH exitStatus.
+               Never exit by default.
+               </param>
                <param name="initial" value="creditcard amount" 
required="false" rtexprvalue="true" description="Default value for the credit 
card amount">
                This specifies the initial default value of the credit card 
bill payment amount. If 
                a user says initial or default, this value is selected.
-       If not specified, the user will not be able to select a default value.
+               If not specified, the user will not be able to select a default 
value.
                </param>
                <param name="confirm" value="true/false" required="false" 
rtexprvalue="true" description="Confirmation option">
                If confirm is true, it asks a user for confirmation of the 

Modified: 
jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardAmount.tag
URL: 
http://svn.apache.org/viewcvs/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardAmount.tag?rev=230562&r1=230561&r2=230562&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardAmount.tag 
(original)
+++ jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardAmount.tag 
Sat Aug  6 11:11:38 2005
@@ -33,6 +33,8 @@
 <%@ attribute name="currencyCode" required="false" %>
 <%@ attribute name="minConfidence" required="false" %>
 <%@ attribute name="numNBest" required="false" %>
+<%@ attribute name="maxNoInput" required="false" %>
+<%@ attribute name="maxNoMatch" required="false" %>
 <%@ variable name-from-attribute="id" alias="retVal" scope="AT_END"%>
 -->
 
@@ -79,7 +81,8 @@
       <rdc:configure model="${model}" config="${config}"
        defaultConfig="${defaultConfig}" />
       <rdc:setup-results model="${model}" submit="${submit}" 
-        minConfidence="${minConfidence}" numNBest="${numNBest}" />
+        minConfidence="${minConfidence}" numNBest="${numNBest}"
+        maxNoInput="${maxNoInput}" maxNoMatch="${maxNoMatch}" />
       <c:if test="${not empty maxDenials}">
         <c:set target="${model}" property="maxDenials" value="${maxDenials}"/>
       </c:if>

Modified: 
jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardExpiry.rdc
URL: 
http://svn.apache.org/viewcvs/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardExpiry.rdc?rev=230562&r1=230561&r2=230562&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardExpiry.rdc 
(original)
+++ jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardExpiry.rdc 
Sat Aug  6 11:11:38 2005
@@ -31,9 +31,9 @@
                considered while validating a user input.
                </param>
                <param name="locale" value="[language](-[country])?" 
required="false" rtexprvalue="true" visible="2" description="RDC Locale">
-        The Locale to which the grammar(s) and default configuration chosen 
for this component will belong to.
-        Default is en-US.
-        </param>
+               The Locale to which the grammar(s) and default configuration 
chosen for this component will belong to.
+               Default is en-US.
+               </param>
                <param name="minConfidence" value="[0-9][0-9].[0-9]*F" 
required="false" rtexprvalue="true" description="Minimum confidence value of 
the recognised output">
                This specifies the minimum score of a utterance for it to be 
                considered in the NBest list. 
@@ -43,17 +43,20 @@
                it is not. Default is no echo.
                </param>
                <param name="maxNoInput" value="[0-9]*" required="false" 
rtexprvalue="true" visible="2" description="Graceful exit on noinput">
-        Maximum number of client side &lt;noinput&gt; events before this RDC 
gracefully exits with MAX_NOINPUT exitStatus.
-        Never exit by default.
-        </param>
-        <param name="maxNoMatch" value="[0-9]*" required="false" 
rtexprvalue="true" visible="2" description="Graceful exit on nomatch">
-        Maximum number of client side &lt;nomatch&gt; events before this RDC 
gracefully exits with MAX_NOMATCH exitStatus.
-        Never exit by default.
-        </param>
+               Maximum number of client side &lt;noinput&gt; events before 
this RDC gracefully exits with MAX_NOINPUT exitStatus.
+               Never exit by default.
+               </param>
+               <param name="maxNoMatch" value="[0-9]*" required="false" 
rtexprvalue="true" visible="2" description="Graceful exit on nomatch">
+               Maximum number of client side &lt;nomatch&gt; events before 
this RDC gracefully exits with MAX_NOMATCH exitStatus.
+               Never exit by default.
+               </param>
                <param name="initial" value="creditcard expiry date" 
required="false" rtexprvalue="true" description="Default value for the credit 
card expiry">
                This specifies the initial default value of the credit card 
expiry date. If 
                a user says initial or default, this value is selected.
-       If not specified, the user will not be able to select a default value.
+               If not specified, the user will not be able to select a default 
value.
+               </param>
+               <param name="maxDenials" required="false" value="[0-9]*" 
rtexprvalue="true" description="Maximum denied confirmations that will cause 
this RDC to exit">
+               This specifies the maximum number of denied confirmations (from 
the user) that will cause this RDC to exit.
                </param>
                <param name="confirm" value="true/false" required="false" 
rtexprvalue="true" description="Confirmation option">
                If confirm is true, it asks a user for confirmation of the 

Modified: 
jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardExpiry.tag
URL: 
http://svn.apache.org/viewcvs/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardExpiry.tag?rev=230562&r1=230561&r2=230562&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardExpiry.tag 
(original)
+++ jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardExpiry.tag 
Sat Aug  6 11:11:38 2005
@@ -29,6 +29,8 @@
 <%@ attribute name="maxDenials" required="false" %>
 <%@ attribute name="minConfidence" required="false" %>
 <%@ attribute name="numNBest" required="false" %>
+<%@ attribute name="maxNoInput" required="false" %>
+<%@ attribute name="maxNoMatch" required="false" %>
 <%@ variable name-from-attribute="id" alias="retVal" scope="AT_END"%>
 -->
 
@@ -55,7 +57,8 @@
       <rdc:configure model="${model}" config="${config}"
        defaultConfig="${defaultConfig}" />
       <rdc:setup-results model="${model}" submit="${submit}" 
-        minConfidence="${minConfidence}" numNBest="${numNBest}" />
+        minConfidence="${minConfidence}" numNBest="${numNBest}"
+        maxNoInput="${maxNoInput}" maxNoMatch="${maxNoMatch}" />
       <c:if test="${not empty maxDenials}">
         <c:set target="${model}" property="maxDenials" value="${maxDenials}"/>
       </c:if>

Modified: 
jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardInfo.rdc
URL: 
http://svn.apache.org/viewcvs/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardInfo.rdc?rev=230562&r1=230561&r2=230562&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardInfo.rdc 
(original)
+++ jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardInfo.rdc 
Sat Aug  6 11:11:38 2005
@@ -27,18 +27,33 @@
           </param>
          <param name="subdialog" value="true/false" required="false" 
rtexprvalue="true" visible="0" description="Whether this RDC is invoked as a 
subdialog">
             Defines whether this RDC is defined as a subdialog, which affects 
who the value it collects
-           will be returned. Default value is Boolean.FALSE
-          </param>
+         will be returned. Default value is Boolean.FALSE
+         </param>
          <param name="mode" value="FULL" required="false" rtexprvalue="true" 
visible="0" description="The mode under which this credit card information 
composite will operate">
             Mode decides which child components will execute. FULL gives 
(type, number, expiry, securityCode) SHORT gives (number, expiry) and
-           TYPE, NUMBER, EXPIRY and SECURITY each gives only those.
-          </param>
+         TYPE, NUMBER, EXPIRY and SECURITY each gives only those.
+         </param>
+         <param name="locale" value="[language](-[country])?" required="false" 
rtexprvalue="true" visible="2" description="RDC Locale">
+        The Locale to which the grammars and default configurations chosen for 
this composite's children will belong to.
+        Default is en-US.
+      </param>
+         <param name="initial" value="CreditCardData" required="false" 
rtexprvalue="true" visible="2" description="Default credit card data">
+               This specifies the initial default value, which is an instance 
of CreditCardData. 
+               If a user says initial or default, this value is selected. 
+               If not specified, the user will not be able to select a default 
value.
+         </param>
+         <param name="config" value="xxx-cfg.xml" required="false" 
rtexprvalue="true" visible="1" description="Configuration file for this 
composite">
+               This specifies the location of the configuration file used to 
customize interaction behavior of this instance. 
+               Being a composite, the configuration file merely contains 
pointers to the configuration files to be used
+               to customize the children. Customizations include prompts, 
properties etc (see configuration section for details).
+               By default, the composite uses each child's pre-packaged 
configuration.
+         </param>
     </input-params>
     <output-params>
           <param name="id of this component" description="Variable that holds 
the credit card information">
                Variable that holds the credit card information.
                Thus, if the component is invoked with an id value of "start", 
then variable $start holds the value collected by the component. 
-         </param>
-      </output-params>
+       </param>
+    </output-params>
    </component>
   </ui-config>

Modified: 
jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardInfo.tag
URL: 
http://svn.apache.org/viewcvs/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardInfo.tag?rev=230562&r1=230561&r2=230562&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardInfo.tag 
(original)
+++ jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardInfo.tag 
Sat Aug  6 11:11:38 2005
@@ -25,11 +25,10 @@
 <%@ attribute name="confirm" required="false" %>
 <%@ attribute name="echo" required="false" %>
 <%@ attribute name="locale" required="false" %>
-<%@ attribute name="mode" required="false" %>
 <%@ attribute name="subdialog" required="false" %>
+<%@ attribute name="mode" required="false" %>
 <%@ variable name-from-attribute="id" alias="retVal" scope="AT_END"%>
 
-
 <jsp:useBean id="constants" class="org.apache.taglibs.rdc.core.Constants" />
 
 <rdc:peek var="stateMap" stack="${requestScope.rdcStack}"/>
@@ -73,20 +72,20 @@
          <rdc:group id="ccInfoGrp" 
strategy="org.apache.taglibs.rdc.dm.RuleBasedDirectedDialog"
        config="META-INF/tags/rdc/config/cardinfo-rules.xml" 
submit="${model.submit}">
 
-           <rdc:creditcardType id="ccType" confirm="true" echo="true" 
locale="${model.locale}"
-             config="${model.configMap.creditcardType}" />
+           <rdc:creditcardType id="ccType" confirm="true" echo="true" 
+            locale="${model.locale}" 
config="${model.configMap.creditcardType}" />
 
-           <rdc:creditcardNumber id="ccNumber" confirm="true" echo="true" 
locale="${model.locale}" 
-             config="${model.configMap.creditcardNumber}" />
+           <rdc:creditcardNumber id="ccNumber" confirm="true" echo="true" 
+            locale="${model.locale}" 
config="${model.configMap.creditcardNumber}" />
 
-           <rdc:creditcardExpiry id="ccExpiry" confirm="true" echo="true" 
locale="${model.locale}" 
-             config="${model.configMap.creditcardExpiry}" />
+           <rdc:creditcardExpiry id="ccExpiry" confirm="true" echo="true" 
+            locale="${model.locale}" 
config="${model.configMap.creditcardExpiry}" />
 
            <rdc:digits id="ccSecurityCode" minLength="3" maxLength="7"
-             confirm="true" echo="true" locale="${model.locale}"
-             config="${not empty model.configMap.creditcardSecurityCode ?
-             model.configMap.creditcardSecurityCode :
-             'META-INF/tags/rdc/config/cardsecuritycode.xml' }" />
+         locale="${model.locale}" confirm="true" echo="true" 
+         config="${not empty model.configMap.creditcardSecurityCode ?
+         model.configMap.creditcardSecurityCode :
+         'META-INF/tags/rdc/config/cardsecuritycode.xml' }" />
 
          </rdc:group>          
        </c:when>

Modified: 
jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardNumber.rdc
URL: 
http://svn.apache.org/viewcvs/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardNumber.rdc?rev=230562&r1=230561&r2=230562&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardNumber.rdc 
(original)
+++ jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardNumber.rdc 
Sat Aug  6 11:11:38 2005
@@ -31,9 +31,9 @@
                considered while validating a user input.
                </param>
                <param name="locale" value="[language](-[country])?" 
required="false" rtexprvalue="true" visible="2" description="RDC Locale">
-        The Locale to which the grammar(s) and default configuration chosen 
for this component will belong to.
-        Default is en-US.
-        </param>
+               The Locale to which the grammar(s) and default configuration 
chosen for this component will belong to.
+               Default is en-US.
+               </param>
                <param name="minConfidence" value="[0-9][0-9].[0-9]*F" 
required="false" rtexprvalue="true" description="Minimum confidence value of 
the recognised output">
                This specifies the minimum score of a utterance for it to be 
                considered in the NBest list. 
@@ -43,17 +43,20 @@
                it is not. Default is no echo.
                </param>
                <param name="maxNoInput" value="[0-9]*" required="false" 
rtexprvalue="true" visible="2" description="Graceful exit on noinput">
-        Maximum number of client side &lt;noinput&gt; events before this RDC 
gracefully exits with MAX_NOINPUT exitStatus.
-        Never exit by default.
-        </param>
-        <param name="maxNoMatch" value="[0-9]*" required="false" 
rtexprvalue="true" visible="2" description="Graceful exit on nomatch">
-        Maximum number of client side &lt;nomatch&gt; events before this RDC 
gracefully exits with MAX_NOMATCH exitStatus.
-        Never exit by default.
-        </param>
+               Maximum number of client side &lt;noinput&gt; events before 
this RDC gracefully exits with MAX_NOINPUT exitStatus.
+               Never exit by default.
+               </param>
+               <param name="maxNoMatch" value="[0-9]*" required="false" 
rtexprvalue="true" visible="2" description="Graceful exit on nomatch">
+               Maximum number of client side &lt;nomatch&gt; events before 
this RDC gracefully exits with MAX_NOMATCH exitStatus.
+               Never exit by default.
+               </param>
                <param name="initial" value="creditcard number" 
required="false" rtexprvalue="true" description="Default value for the credit 
card number">
                This specifies the initial default value of the credit card 
number. If 
                a user says initial or default, this value is selected.
-       If not specified, the user will not be able to select a default value.
+               If not specified, the user will not be able to select a default 
value.
+               </param>
+               <param name="maxDenials" required="false" value="[0-9]*" 
rtexprvalue="true" description="Maximum denied confirmations that will cause 
this RDC to exit">
+               This specifies the maximum number of denied confirmations (from 
the user) that will cause this RDC to exit.
                </param>
                <param name="confirm" value="true/false" required="false" 
rtexprvalue="true" description="Confirmation option">
                If confirm is true, it asks a user for confirmation of the 

Modified: 
jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardNumber.tag
URL: 
http://svn.apache.org/viewcvs/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardNumber.tag?rev=230562&r1=230561&r2=230562&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardNumber.tag 
(original)
+++ jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardNumber.tag 
Sat Aug  6 11:11:38 2005
@@ -29,6 +29,8 @@
 <%@ attribute name="maxDenials" required="false" %>
 <%@ attribute name="minConfidence" required="false" %>
 <%@ attribute name="numNBest" required="false" %>
+<%@ attribute name="maxNoInput" required="false" %>
+<%@ attribute name="maxNoMatch" required="false" %>
 <%@ variable name-from-attribute="id" alias="retVal" scope="AT_END"%>
 -->
 
@@ -56,7 +58,8 @@
       <rdc:configure model="${model}" config="${config}"
        defaultConfig="${defaultConfig}" />
       <rdc:setup-results model="${model}" submit="${submit}" 
-        minConfidence="${minConfidence}" numNBest="${numNBest}" />
+        minConfidence="${minConfidence}" numNBest="${numNBest}"
+        maxNoInput="${maxNoInput}" maxNoMatch="${maxNoMatch}" />
       <c:if test="${not empty maxDenials}">
         <c:set target="${model}" property="maxDenials" value="${maxDenials}"/>
       </c:if>

Modified: jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/date.rdc
URL: 
http://svn.apache.org/viewcvs/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/date.rdc?rev=230562&r1=230561&r2=230562&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/date.rdc (original)
+++ jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/date.rdc Sat Aug  6 
11:11:38 2005
@@ -73,6 +73,10 @@
                This specifies the URL to which the component should submit its 
results.
                The default is to submit to the originating page that 
instantiated the component.
        </param>
+       <param name="format" value="date-format" required="false" 
rtexprvalue="true" visible="0" description="The format in which the date string 
is returned">
+               This format in which the date collected is returned as a String.
+               The default is MMddyyyy.
+       </param>
    </input-params>
    <output-params>
        <param name="id of this component" description="Variable that holds  
the date specified by the user">

Modified: jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/digits.rdc
URL: 
http://svn.apache.org/viewcvs/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/digits.rdc?rev=230562&r1=230561&r2=230562&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/digits.rdc (original)
+++ jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/digits.rdc Sat Aug  
6 11:11:38 2005
@@ -14,18 +14,18 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-<component name="digit" summary="Specify the digits"
+<component name="digits" summary="Specify the digits"
            path="META-INF/tags/rdc/digits.tag">
            
        <input-params>
            <param name="id" value="some-name" required="true" 
rtexprvalue="false" visible="1" description="Component ID">
               This specifies the id of the rdc component. 
            </param>
-           <param name="minDigit" value="[0-9]*" required="false" 
rtexprvalue="true" visible="1" description="Minimum acceptable digit length">
+           <param name="minLength" value="[0-9]*" required="false" 
rtexprvalue="true" visible="1" description="Minimum acceptable digit length">
                The minimum digit length constraint. Any digit length lesser 
than this length will be treated as invalid and
                will be rejected.Value is a number like 3.
            </param>
-           <param name="maxDigit" value="[0-9]*" required="false" 
rtexprvalue="true" visible="1" description="Maximum acceptable digit length">
+           <param name="maxLength" value="[0-9]*" required="false" 
rtexprvalue="true" visible="1" description="Maximum acceptable digit length">
                The maximum digit length constraint. Any length greater than 
this length will be treated as invalid and
                will be rejected.Value is a number like 3 . 
            </param>
@@ -69,7 +69,7 @@
             </param>
             <param name="submit" value="self-URI" required="false" 
rtexprvalue="true" visible="0" description="Location where results are 
submitted">
               This specifies the URL to which the component should submit its 
results.
-               The default is to submit to the originating page that 
instantiated the component.
+           The default is to submit to the originating page that instantiated 
the component.
             </param>
         </input-params>
         <output-params>

Modified: jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/mortgage.rdc
URL: 
http://svn.apache.org/viewcvs/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/mortgage.rdc?rev=230562&r1=230561&r2=230562&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/mortgage.rdc 
(original)
+++ jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/mortgage.rdc Sat Aug 
 6 11:11:38 2005
@@ -27,14 +27,29 @@
           </param>
          <param name="subdialog" value="true/false" required="false" 
rtexprvalue="true" visible="0" description="Whether this RDC is invoked as a 
subdialog">
             Defines whether this RDC is defined as a subdialog, which affects 
who the value it collects
-           will be returned. Default value is Boolean.FALSE
-          </param>
+         will be returned. Default value is Boolean.FALSE
+         </param>
+         <param name="initial" value="MortgageData" required="false" 
rtexprvalue="true" visible="2" description="Default mortgage data">
+               This specifies the initial default value, which is an instance 
of MortgageData. 
+               If a user says initial or default, this value is selected. 
+               If not specified, the user will not be able to select a default 
value.
+         </param>
+         <param name="config" value="xxx-cfg.xml" required="false" 
rtexprvalue="true" visible="1" description="Configuration file for this 
composite">
+               This specifies the location of the configuration file used to 
customize interaction behavior of this instance. 
+               Being a composite, the configuration file merely contains 
pointers to the configuration files to be used
+               to customize the children. Customizations include prompts, 
properties etc (see configuration section for details).
+               By default, the composite uses each child's pre-packaged 
configuration.
+         </param>
+         <param name="locale" value="[language](-[country])?" required="false" 
rtexprvalue="true" visible="2" description="RDC Locale">
+        The Locale to which the grammars and default configurations chosen for 
this composite's children will belong to.
+        Default is en-US.
+      </param>
     </input-params>
     <output-params>
           <param name="id of this component" description="Variable that holds 
the mortgage data">
                Variable that holds the mortgage data.
                Thus, if the component is invoked with an id value of "start", 
then variable $start holds the value collected by the component. 
-         </param>
-      </output-params>
+       </param>
+    </output-params>
    </component>
   </ui-config>

Modified: jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/mortgage.tag
URL: 
http://svn.apache.org/viewcvs/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/mortgage.tag?rev=230562&r1=230561&r2=230562&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/mortgage.tag 
(original)
+++ jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/mortgage.tag Sat Aug 
 6 11:11:38 2005
@@ -24,10 +24,10 @@
 <%@ attribute name="initial" required="false" %>
 <%@ attribute name="confirm" required="false" %>
 <%@ attribute name="echo" required="false" %>
+<%@ attribute name="locale" required="false" %>
 <%@ attribute name="subdialog" required="false" %>
 <%@ variable name-from-attribute="id" alias="retVal" scope="AT_END"%>
 
-
 <jsp:useBean id="constants" class="org.apache.taglibs.rdc.core.Constants" />
 
 <rdc:peek var="stateMap" stack="${requestScope.rdcStack}"/>
@@ -67,12 +67,12 @@
   
        <c:when test="${model.state == constants.FSM_INPUT}">
          <rdc:group id="mortgage" 
strategy="org.apache.taglibs.rdc.dm.SimpleDirectedDialog" 
submit="${model.submit}" >
-           <rdc:mortgageType id="mortgageType" minTerm="10Yfixed" 
maxTerm="50Yfixed" initial="20Yfixed"
-            confirm="true"  echo="true" minConfidence="0.4F" numNBest="5" 
-             config="${model.configMap.mortgageType}" />
+           <rdc:mortgageType id="mortgageType" minTerm="10Yfixed" 
maxTerm="50Yfixed"
+            initial="20Yfixed" confirm="true"  echo="true" 
minConfidence="0.4F" numNBest="5" 
+         locale="${model.locale}" config="${model.configMap.mortgageType}" />
            <rdc:percent id="percent" minPercent="5" maxPercent="55" 
initial="10"
             confirm="true" echo="true" minConfidence="0.4F" numNBest="5" 
-             config="${model.configMap.percent}" />
+         locale="${model.locale}" config="${model.configMap.percent}" />
          </rdc:group>          
        </c:when>
 </c:choose>

Modified: 
jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/mortgageType.rdc
URL: 
http://svn.apache.org/viewcvs/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/mortgageType.rdc?rev=230562&r1=230561&r2=230562&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/mortgageType.rdc 
(original)
+++ jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/mortgageType.rdc Sat 
Aug  6 11:11:38 2005
@@ -52,25 +52,25 @@
            <param name="echo" value="true/false" required="false" 
rtexprvalue="true" visible="1" description="Playback options">
                  If echo is true, the value is played back to the user, else 
it is not.
                  Default is no echo.
-            </param>
+       </param>
            <param name="config" value="xxx-cfg.xml" required="true" 
rtexprvalue="true" visible="1" description="Configuration file for the 
component">
               This specifies the location of the  configuration file 
               used to customize interaction beahvior of this instance. 
Customizations include prompts, properties etc
-              (see configuration section for details).
+           (see configuration section for details).
              Default is to use a  pre-packaged configuration.
            </param>
            <param name="numNBest" value="[0-9]*" required="false" 
rtexprvalue="true" visible="2" description="Maximum number of N-best values 
requested">
              This specifies the maximum number of N-Best mortgage type values 
requested.
              Default is 1 value.
-           </param>
-          <param name="minConfidence" value="[0-9][0-9].[0-9]*F" visible="2" 
required="false" rtexprvalue="true" description="Minimum confidence value of 
the recognised output">
-           This specifies the minimum confidence score of an utterance for it 
to be considered in the NBest list.
-           Default is 40.0F.
-          </param>
-          <param name="submit" value="self-URI" required="false" 
rtexprvalue="true" visible="0" description="Location where results are 
submitted">
-           This specifies the URL to which the component should submit its 
results.
-            The default is to submit to the originating page that instantiated 
the component.
-        </param>
+        </param>
+           <param name="minConfidence" value="[0-9][0-9].[0-9]*F" visible="2" 
required="false" rtexprvalue="true" description="Minimum confidence value of 
the recognised output">
+             This specifies the minimum confidence score of an utterance for 
it to be considered in the NBest list.
+             Default is 40.0F.
+           </param>
+           <param name="submit" value="self-URI" required="false" 
rtexprvalue="true" visible="0" description="Location where results are 
submitted">
+             This specifies the URL to which the component should submit its 
results.
+          The default is to submit to the originating page that instantiated 
the component.
+           </param>
        </input-params>
        <output-params>
           <param name="id of this component" description="Variable that holds  
the mortgage type specified by the user">

Modified: jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/percent.rdc
URL: 
http://svn.apache.org/viewcvs/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/percent.rdc?rev=230562&r1=230561&r2=230562&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/percent.rdc 
(original)
+++ jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/percent.rdc Sat Aug  
6 11:11:38 2005
@@ -21,11 +21,11 @@
            <param name="id" value="some-name" required="true" 
rtexprvalue="false" visible="1" description="Component ID">
              This specifies the id of the rdc component. 
            </param>
-           <param name="minValue" value="[0-9]{1,2}" required="false" 
rtexprvalue="true" visible="1" description="Minimum acceptable percentage">
+           <param name="minPercent" value="[0-9]{1,2}" required="false" 
rtexprvalue="true" visible="1" description="Minimum acceptable percentage">
                  The minimum percentage constraint. Any percentage lesser than 
this percentage will be treated as invalid and
                  will be rejected.Value is a number like 10%.
            </param>
-           <param name="maxValue" value="[0-9]{1,2}" required="false" 
rtexprvalue="true" visible="1" description="Maximum acceptable percentage">
+           <param name="maxPercent" value="[0-9]{1,2}" required="false" 
rtexprvalue="true" visible="1" description="Maximum acceptable percentage">
                  The maximum percentage constraint. Any percentage greater 
than this percentage will be treated as invalid and
                  will be rejected.Value is a number like 30% . 
            </param>
@@ -55,28 +55,28 @@
         </param>
            <param name="config" value="xxx-cfg.xml" required="false" 
rtexprvalue="true" visible="1" description="Configuration file for the 
component">
              This specifies the location of the  configuration file 
-              used to customize interaction beahvior of this instance. 
Customizations include prompts, properties etc
-              (see configuration section for details).
+          used to customize interaction beahvior of this instance. 
Customizations include prompts, properties etc
+          (see configuration section for details).
              Default is to use a  pre-packaged configuration.
            </param>
            <param name="numNBest" value="[0-9]*" required="false" 
rtexprvalue="true" visible="2" description="Maximum number of N-best values 
requested">
              This specifies the maximum number of N-Best digit values 
requested.
              Default is 1 value.
-            </param>
+        </param>
            <param name="minConfidence" value="[0-9][0-9].[0-9]*F" 
rtexprvalue="true" visible="2" required="false" description="Minimum confidence 
value of the recognised output">
              This specifies the minimum confidence score of an utterance for 
it to be considered in the NBest list.
              Default is 40.0F.
-            </param>
+           </param>
             <param name="submit" value="self-URI" required="false" 
rtexprvalue="true" visible="0" description="Location where results are 
submitted">
               This specifies the URL to which the component should submit its 
results.
-               The default is to submit to the originating page that 
instantiated the component.
+           The default is to submit to the originating page that instantiated 
the component.
             </param>
         </input-params>
         <output-params>
             <param name="id of this component" description="Variable that 
holds  the percentage specified by the user">
               Variable that holds the percentage specified by the user.
               Thus, if the component is invoked with an id value of "start", 
then variable $start holds the value collected by the component. 
-             </param>
+         </param>
         </output-params>
        </component>
        <config>

Modified: jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/select1.rdc
URL: 
http://svn.apache.org/viewcvs/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/select1.rdc?rev=230562&r1=230561&r2=230562&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/select1.rdc 
(original)
+++ jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/select1.rdc Sat Aug  
6 11:11:38 2005
@@ -14,7 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
- <component name="list" summary="Make a choice for a set of options"
+ <component name="select1" summary="Make a selection for a set of options"
            path="META-INF/tags/rdc/selectOne.tag">
 
     <input-params>

Modified: jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/template.rdc
URL: 
http://svn.apache.org/viewcvs/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/template.rdc?rev=230562&r1=230561&r2=230562&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/template.rdc 
(original)
+++ jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/template.rdc Sat Aug 
 6 11:11:38 2005
@@ -37,6 +37,10 @@
       <param name="data" value="instance specific object" required="false" 
rtexprvalue="true" visible="2" description="External data needed by this 
instance">
         Some data that is template instance and data model specific
       </param>
+      <param name="fsmFragment" value="URI to FSM fragment" required="false" 
rtexprvalue="true" visible="2" description="Custom FSM for this component">
+        This specifies the URI to the JSP containing the custom FSM for this 
template instance.
+        Defaults to default FSM in RDC distribution.
+      </param>
       <param name="initial" value="instance specific" required="false" 
rtexprvalue="true" visible="2" description="Default value of this instance">
         This specifies the initial instance specific default value.
         If not specified, the user will not be able to select a default value.

Modified: jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/usMajorCity.rdc
URL: 
http://svn.apache.org/viewcvs/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/usMajorCity.rdc?rev=230562&r1=230561&r2=230562&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/usMajorCity.rdc 
(original)
+++ jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/usMajorCity.rdc Sat 
Aug  6 11:11:38 2005
@@ -17,7 +17,7 @@
 <component name="usMajorCity" summary="Collect a US City input from the user"
            path="META-INF/tags/rdc/usMajorCity.tag">
 
-              <input-params>
+        <input-params>
                <param name="id" value="a-name" required="true" 
rtexprvalue="false" visible="1" description="Component ID">
                This specifies the id of the rdc component. 
                </param>
@@ -49,20 +49,25 @@
         Maximum number of client side &lt;nomatch&gt; events before this RDC 
gracefully exits with MAX_NOMATCH exitStatus.
         Never exit by default.
         </param>
+        <param name="initial" value="US major city" required="false" 
rtexprvalue="true" description="Default value for the city">
+               This specifies the initial default value of the city. If 
+               a user says initial or default, this value is selected.
+               If not specified, the user will not be able to select a default 
value.
+               </param>
                <param name="confirm" value="true/false" required="false" 
rtexprvalue="true" visible="1" description="Confirmation option">
                If confirm is true, it asks a user for confirmation of the 
                value, else it does not. Default is no confirmation.
                </param>
-                <param name="submit" value="submit-uri" required="false" 
rtexprvalue="true" visible="0" description="URI of the jsp page">
-               This specifies the URI where the component should submit the 
values.
-                </param>
-              </input-params>
+        <param name="submit" value="submit-uri" required="false" 
rtexprvalue="true" visible="0" description="URI of the jsp page">
+        This specifies the URI where the component should submit the values.
+        </param>
+        </input-params>
 
-              <output-params>
+        <output-params>
                <param name="id of this component" description="The city 
collected by the component">
                This has the city name that was said by the user.
                </param>
-              </output-params>
+        </output-params>
    </component>
 
 <config>

Modified: jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/usState.rdc
URL: 
http://svn.apache.org/viewcvs/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/usState.rdc?rev=230562&r1=230561&r2=230562&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/usState.rdc 
(original)
+++ jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/usState.rdc Sat Aug  
6 11:11:38 2005
@@ -17,7 +17,7 @@
 <component name="usState" summary="Collect a US State input from the user"
            path="META-INF/tags/rdc/usState.tag">
 
-              <input-params>
+        <input-params>
                <param name="id" value="a-name" required="true" 
rtexprvalue="false" visible="1" description="Component ID">
                This specifies the id of the rdc component. 
                </param>
@@ -49,20 +49,25 @@
         Maximum number of client side &lt;nomatch&gt; events before this RDC 
gracefully exits with MAX_NOMATCH exitStatus.
         Never exit by default.
         </param>
+        <param name="initial" value="US state" required="false" 
rtexprvalue="true" description="Default value for the state">
+               This specifies the initial default value of the state. If 
+               a user says initial or default, this value is selected.
+               If not specified, the user will not be able to select a default 
value.
+               </param>
                <param name="confirm" value="true/false" required="false" 
rtexprvalue="true" visible="1" description="Confirmation option">
                If confirm is true, it asks a user for confirmation of the 
                value, else it does not. Default is no confirmation.
                </param>
-                <param name="submit" value="submit-uri" required="false" 
rtexprvalue="true" visible="0" description="URI of the jsp page">
+        <param name="submit" value="submit-uri" required="false" 
rtexprvalue="true" visible="0" description="URI of the jsp page">
         This specifies the URI where the component should submit the values.
-                </param>
-              </input-params>
+        </param>
+        </input-params>
 
-              <output-params>
+        <output-params>
                <param name="id of this component" description="State value 
collected by the component">
                This has the state name that was said by the user.
                </param>
-              </output-params>
+        </output-params>
    </component>
 
    <config>

Modified: jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/zipCode.rdc
URL: 
http://svn.apache.org/viewcvs/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/zipCode.rdc?rev=230562&r1=230561&r2=230562&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/zipCode.rdc 
(original)
+++ jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/zipCode.rdc Sat Aug  
6 11:11:38 2005
@@ -17,7 +17,7 @@
 <component name="zipCode" summary="Collect a Zip Code input from the user"
            path="META-INF/tags/rdc/zipCode.tag">
 
-              <input-params>
+        <input-params>
                <param name="id" value="a-name" required="true" 
rtexprvalue="false" visible="1" description="Component ID">
                This specifies the id of the rdc component. 
                </param>
@@ -53,22 +53,27 @@
                If confirm is true, it asks a user for confirmation of the 
                value, else it does not. Default is no confirmation.
                </param>
+               <param name="initial" value="Zip code" required="false" 
rtexprvalue="true" description="Default value for the zipcode">
+               This specifies the initial default value of the zipcode. If 
+               a user says initial or default, this value is selected.
+               If not specified, the user will not be able to select a default 
value.
+               </param>
                <param name="length" value="a-positive-integer" 
required="false" rtexprvalue="true" visible="1" description="Number of digits 
in the zip code">
-                The input should be of this length. 
+               The input should be of this length. 
                </param>
                <param name="pattern" value="a-regular-expression" 
required="false" rtexprvalue="true" visible="1" description="A regular 
expression representing the set of valid zip codes">
-                       When the pattern is specified, it is used to validate 
the input received by the RDC. 
+               When the pattern is specified, it is used to validate the input 
received by the RDC. 
                </param>
-                <param name="submit" value="submit-uri" required="false" 
rtexprvalue="true" visible="0" description="URI of the jsp page">
-               This specifies the URI where the component should submit the 
values.
-                </param>
-              </input-params>
+        <param name="submit" value="submit-uri" required="false" 
rtexprvalue="true" visible="0" description="URI of the jsp page">
+        This specifies the URI where the component should submit the values.
+        </param>
+        </input-params>
 
-              <output-params>
+        <output-params>
                <param name="id of this component" description="The zipcode 
value collected by the component">
                This has the zipcode value that was said by the user.
                </param>
-              </output-params>
+        </output-params>
    </component>
 <config>
   <input>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to