From taglibs-user-returngthompson@example.net Thu Feb 02 05:54:52 2006 Return-Path: <taglibs-user-returngthompson@example.net> Delivered-To: gthompson@example.net Received: (qmail 2083 invoked from network); 2 Feb 2006 05:54:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Feb 2006 05:54:52 -0000 Received: (qmail 2001 invoked by uid 500); 2 Feb 2006 05:54:51 -0000 Delivered-To: gthompson@example.net Received: (qmail 1588 invoked by uid 500); 2 Feb 2006 05:54:49 -0000 Mailing-List: contact gthompson@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:gthompson@example.net> List-Help: <mailto:gthompson@example.net> List-Post: <mailto:gthompson@example.net> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <gthompson@example.net> Delivered-To: mailing list gthompson@example.net Received: (qmail 1577 invoked by uid 99); 2 Feb 2006 05:54:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2006 21:54:49 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of gthompson@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO xproxy.gmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2006 21:54:48 -0800 Received: by xproxy.gmail.com with SMTP id s9so219871wxc for <gthompson@example.net>; Wed, 01 Feb 2006 21:54:28 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=HfjF5/9z08QTRVjHlpv5l/F4Bn5AAkqqhZUXtUf0TQokd/zjtFwC2PDGGSf5pWZe7NJtv0hjN2uryL5r7Q9SYFlfCu+qkWtiWJ7aFc//W7Upo5ECcQwHvQEfWCtepuJpT9FAqQvvdMEOZTRgGZJIyYJy+Zsq8u+QEwU1t5EPfpY= Received: by 83.161.120.155 with SMTP id c12mr480947wxc; Wed, 01 Feb 2006 21:54:28 -0800 (PST) Received: by 83.161.120.155 with HTTP; Wed, 1 Feb 2006 21:54:28 -0800 (PST) Message-ID: <gthompson@example.net> Date: Thu, 2 Feb 2006 11:24:28 +0530 From: Vani Ampavathina <gthompson@example.net> To: gthompson@example.net Subject: Regarding RDC MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_8158_16426303.1138859668005" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_8158_16426303.1138859668005 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi I am evaluating the RDC Tag libraries to use in our speech applications.Ihave a small difficulty in using these tags. can you help me in briefing a solution for the following problem. 1) When I use,say for example "alpha" tag, I would like to have my own logi= c in the "filled" block rather having the default submit and the namelist formed from the Nbest.js. From the provided document , I understand that we can use the submit attribute to submit to any other JSP, but what about the variables i wish to pass on to the next JSP? Say to have something like <filled> <submit next=3D"UseCollectedAlpha.jsp" namelist=3D"alphacollected var1 var= 2 var3"/> </filled> instead of <filled> <script src=3D"/rdc-examples/.grammar/nbest.js"/> <var name=3D"alphaResultNBest" expr=3D"serializeNBest()"/> <submit next=3D"/rdc-examples/alpha.jsp;jsessionid=3DCD6603360BFF6C0D33417D414A2D20= 5C" method=3D"post" namelist=3D"alphaResultNBest"/> </filled> is it possible to implement this? whats the reason to send the confidence, utterance and the interpretation as a serialized object from the nbest.js? by default the maxNBest is set to 5 and all the values are concatenated and returned. is there any special reason of such implementation, when i can directly take up the "application.lastresult$.utterance" for the most probable value, the asr recognized. 2) how is a simple JSP with 4 lines of code getting translated to few tens lines of code? The tutorials and wikis doesn't help in understanding the concept.The only vxml tag I can see in the Tag library is <form> in " task.tag". The config file gives the prompts list, this part is understood. But how are the attributes like minLength and maxLength of "alpha" tag, for example, used to limit the grammar as I notice there is no direct correspondence to these attributes, and where is the input entered b= y the user getting validated? Regards Vani ------=_Part_8158_16426303.1138859668005-- From taglibs-user-returngthompson@example.net Thu Feb 02 06:39:02 2006 Return-Path: <taglibs-user-returngthompson@example.net> Delivered-To: gthompson@example.net Received: (qmail 19106 invoked from network); 2 Feb 2006 06:39:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Feb 2006 06:39:02 -0000 Received: (qmail 48577 invoked by uid 500); 2 Feb 2006 06:38:55 -0000 Delivered-To: gthompson@example.net Received: (qmail 48539 invoked by uid 500); 2 Feb 2006 06:38:55 -0000 Mailing-List: contact gthompson@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:gthompson@example.net> List-Help: <mailto:gthompson@example.net> List-Post: <mailto:gthompson@example.net> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <gthompson@example.net> Delivered-To: mailing list gthompson@example.net Received: (qmail 48526 invoked by uid 99); 2 Feb 2006 06:38:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2006 22:38:55 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO sonussf1.sonusnet.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2006 22:38:54 -0800 Received: from sonusmail02.sonusnet.com (sonusmail02.sonusnet.com [83.161.120.155]) by sonussf1.sonusnet.com (8.13.3/8.13.3) with ESMTP id k126cV04000570; Thu, 2 Feb 2006 01:38:31 -0500 Received: from SONUSINMAIL01.sonusnet.com ([83.161.120.155]) by sonusmail02.sonusnet.com with Microsoft SMTPSVC(5.0.2195.6713); Thu, 2 Feb 2006 01:38:31 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C627C3.45F7AFC9" Subject: RE: Regarding RDC Date: Thu, 2 Feb 2006 12:08:27 +0530 Message-ID: <gthompson@example.net> X-MS-Has-Attach: yes X-MS-TNEF-Correlator: Thread-Topic: Regarding RDC Thread-Index: AcYnvTH6puaWpNyoQ/iNZnEtrbcD3AABVXjQ From: "Rao, Aravilli Srinivasa" <gthompson@example.net> To: "Tag Libraries Users List" <gthompson@example.net> Cc: "Rahul Akolkar" <gthompson@example.net> X-OriginalArrivalTime: 02 Feb 2006 06:38:31.0025 (UTC) FILETIME=[48361E10:01C627C3] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C627C3.45F7AFC9 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Vani, I have attached two mails which describes about solution to questions. But this solution is not fully accepted by the RDC Team. Rahul, I think, we have to support passing "namelist" to the component since people are finding difficulty to implement the same. Regards Aravilli -----Original Message----- From: Vani Ampavathina [mailto:gthompson@example.net]=20 Sent: Thursday, February 02, 2006 11:24 AM To: gthompson@example.net Subject: Regarding RDC Hi I am evaluating the RDC Tag libraries to use in our speech applications.Ihave a small difficulty in using these tags. can you help me in briefing a solution for the following problem. 1) When I use,say for example "alpha" tag, I would like to have my own logic in the "filled" block rather having the default submit and the namelist formed from the Nbest.js. From the provided document , I understand that we can use the submit attribute to submit to any other JSP, but what about the variables i wish to pass on to the next JSP? Say to have something like <filled> <submit next=3D"UseCollectedAlpha.jsp" namelist=3D"alphacollected var1 = var2 var3"/> </filled> instead of <filled> <script src=3D"/rdc-examples/.grammar/nbest.js"/> <var name=3D"alphaResultNBest" expr=3D"serializeNBest()"/> <submit next=3D"/rdc-examples/alpha.jsp;jsessionid=3DCD6603360BFF6C0D33417D414A2D= 205 C" method=3D"post" namelist=3D"alphaResultNBest"/> </filled> is it possible to implement this? whats the reason to send the confidence, utterance and the interpretation as a serialized object from the nbest.js? by default the maxNBest is set to 5 and all the values are concatenated and returned. is there any special reason of such implementation, when i can directly take up the "application.lastresult$.utterance" for the most probable value, the asr recognized. 2) how is a simple JSP with 4 lines of code getting translated to few tens lines of code? The tutorials and wikis doesn't help in understanding the concept.The only vxml tag I can see in the Tag library is <form> in " task.tag". The config file gives the prompts list, this part is understood. But how are the attributes like minLength and maxLength of "alpha" tag, for example, used to limit the grammar as I notice there is no direct correspondence to these attributes, and where is the input entered by the user getting validated? Regards Vani ------_=_NextPart_001_01C627C3.45F7AFC9 Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Received: from sonusmail01.sonusnet.com ([83.161.120.155]) by SONUSINMAIL01.sonusnet.com with Microsoft SMTPSVC(5.0.2195.6713); Wed, 11 Jan 2006 18:37:25 +0530 Received: from sonussf1.sonusnet.com ([83.161.120.155]) by sonusmail01.sonusnet.com with Microsoft SMTPSVC(5.0.2195.6713); Wed, 11 Jan 2006 08:07:22 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Received: from mail.apache.org (hermes.apache.org [83.161.120.155]) by sonussf1.sonusnet.com (8.13.3/8.13.3) with SMTP id k0BD7LGx020100 for <gthompson@example.net>; Wed, 11 Jan 2006 08:07:21 -0500 Received: (qmail 42203 invoked by uid 500); 11 Jan 2006 13:07:19 -0000 Received: (qmail 42190 invoked by uid 99); 11 Jan 2006 13:07:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jan 2006 05:07:19 -0800 Received: from [83.161.120.155] (HELO sonussf1.sonusnet.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jan 2006 05:07:17 -0800 Received: from sonusmail02.sonusnet.com (sonusmail02.sonusnet.com [83.161.120.155]) by sonussf1.sonusnet.com (8.13.3/8.13.3) with ESMTP id k0BD6suF019849; Wed, 11 Jan 2006 08:06:54 -0500 Received: from SONUSINMAIL01.sonusnet.com ([83.161.120.155]) by sonusmail02.sonusnet.com with Microsoft SMTPSVC(5.0.2195.6713); Wed, 11 Jan 2006 08:06:53 -0500 content-class: urn:content-classes:message Subject: RDC Date: Wed, 11 Jan 2006 18:36:50 +0530 Message-ID: <gthompson@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: RDC Thread-Index: AcYWr+Gm9qetqrF2QbqtWZccHnmgTA== List-Help: <mailto:gthompson@example.net> List-Unsubscribe: <mailto:gthompson@example.net> From: "Rao, Aravilli Srinivasa" <gthompson@example.net> To: "Tag Libraries Users List" <gthompson@example.net> Cc: "Rahul Akolkar" <gthompson@example.net> Reply-To: "Tag Libraries Users List" <gthompson@example.net> =20 Rahul, =20 I have some issues with current RDC =20 1) Some Media Servers may not support the Java scripts so it is good to provide a configuration file to generate script element or not. =20 Currently "fsm-input.tag" uses the following piece to generate the script element. =20 =20 <filled> <c:if test=3D"${!model.skipSubmit}"> <script = src=3D"${pageContext.request.contextPath}/.grammar/nbest.js"/> <var name=3D"${model.id}ResultNBest" expr=3D"serializeNBest()"/> <submit next=3D"${model.submit}" method=3D"post" namelist=3D"${model.id}ResultNBest"/> =20 </c:if> </filled> =20 =20 2) Most of the RDC components provides submit location to specify =20 <rdc:builtinGrammar id=3D"testAb" submit=3D"http://host:8080/rdc/exit.do" config=3D"/config/test.xml /> =20 But there is no option specify the namelist along with submit location. In some forms struts-submit may not be required. =20 =20 =20 3) Similarly some Media Servers may not support the following properties which are in fsm-input.tag =20 <property name=3D"maxnbest" value=3D"${model.numNBest}"/> <property name=3D"confidencelevel" value=3D"${model.minConfidence}"/> =20 =20 So in order to overcome the above issues, I have used the following solution =20 1) Remove the property elements in fsm-input.tag [best option would be move these properties to the config file rather than hard coding in the fsm-input.tag and change the config schema such that it supports one more element "property" . In this way we can specify several property element which are supported by VoiceXML specification and Media Servers] =20 2) commented the script and modified the submit element in fsm-input.tag =20 <filled> <c:if test=3D"${!model.skipSubmit}"> <!-- <script = src=3D"${pageContext.request.contextPath}/.grammar/nbest.js"/> <var name=3D"${model.id}ResultNBest" expr=3D"serializeNBest()"/> <submit next=3D"${model.submit}" method=3D"post" namelist=3D"${model.id}ResultNBest"/> --> <submit next=3D"${model.submit}" namelist=3D"${model.namelist}" />=20 </c:if> </filled> =20 3) Added "namelist" property in the BaseModel.java and modified the builtinGrammar.tag such it takes this attribute also. I have added in the BaseModel because it can be used in other tags like digits, date etc also. =20 <rdc: builtinGrammar id=3D"testAb" = submit=3D"http://host:8080/rdc/exit.do" config=3D"/config/test.xml" namelist=3D"testAbInput true" /> =20 =20 Please provide your views/ideas in order to achieve the same? =20 =20 Regards Aravilli =20 ------_=_NextPart_001_01C627C3.45F7AFC9 Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Received: from sonusmail01.sonusnet.com ([83.161.120.155]) by SONUSINMAIL01.sonusnet.com with Microsoft SMTPSVC(5.0.2195.6713); Fri, 13 Jan 2006 03:31:17 +0530 Received: from sonussf1.sonusnet.com ([83.161.120.155]) by sonusmail01.sonusnet.com with Microsoft SMTPSVC(5.0.2195.6713); Thu, 12 Jan 2006 17:01:14 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Received: from zproxy.gmail.com (zproxy.gmail.com [83.161.120.155]) by sonussf1.sonusnet.com (8.13.3/8.13.3) with ESMTP id k0CM1DNT024019 for <gthompson@example.net>; Thu, 12 Jan 2006 17:01:13 -0500 Received: by zproxy.gmail.com with SMTP id 4so517614nzn for <gthompson@example.net>; Thu, 12 Jan 2006 14:01:13 -0800 (PST) Received: by 83.161.120.155 with SMTP id o3mr2287676nza; Thu, 12 Jan 2006 14:01:12 -0800 (PST) Received: by 83.161.120.155 with HTTP; Thu, 12 Jan 2006 14:01:12 -0800 (PST) content-class: urn:content-classes:message Subject: Re: RDC Date: Fri, 13 Jan 2006 03:31:12 +0530 Message-ID: <gthompson@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: RDC Thread-Index: AcYXw7a0AOiRn2H/RpimWW110/XkEA== From: "Rahul Akolkar" <gthompson@example.net> To: <gthompson@example.net> Cc: "Rao, Aravilli Srinivasa" <gthompson@example.net> Aravilli - For starters, what platform are you deploying on? Do you have a link or pointer to the documentation for this platform? I've never used such a stripped down platform, so it'd be good to know. Thanks. Now on to your questions ... On 1/11/06, Rao, Aravilli Srinivasa <gthompson@example.net> wrote: > > Rahul, > > I have some issues with current RDC > <snip-descriptions/> > > > > So in order to overcome the above issues, I have used the following = solution > > 1) Remove the property elements in fsm-input.tag [best > option would be move these properties to the config file rather than = hard > coding in the fsm-input.tag and change the config schema such that it > supports one more element "property" . In this way we can specify = several > property element which are supported by VoiceXML specification and = Media > Servers] > <snip/> You can specify properties in the config file. You cannot, however, suppress the ones in fsm-input.tag, thats true. See overall comments below. > > > 2) Commented the script and modified the submit element in > fsm-input.tag > > > <filled> > > <c:if test=3D"${!model.skipSubmit}"> > > <!-- > > <script = src=3D"${pageContext.request.contextPath}/.grammar/nbest.js"/> > > <var name=3D"${model.id}ResultNBest" expr=3D"serializeNBest()"/> > > <submit next=3D"${model.submit}" method=3D"post" > namelist=3D"${model.id}ResultNBest"/> > > --> > > <submit next=3D"${model.submit}" namelist=3D"${model.namelist}" /> > > </c:if> > > </filled> > > > 3) Added "namelist" property in the BaseModel.java and > modified the builtinGrammar.tag such it takes this attribute also. I = have > added in the BaseModel because it can be used in other tags like = digits, > date etc also. > > > <rdc: builtinGrammar id=3D"testAb" = submit=3D"http://host:8080/rdc/exit.do" > config=3D"/config/test.xml" namelist=3D"testAbInput true" /> > > > Please provide your views/ideas in order to achieve the same? > <snap/> So, to summarize: These issues are observed in using a platform where the available support is lesser than the minimum anticipated by the RDC taglib, i.e. * There is no ECMAScript (for the casual observer, this is quite different as compared to say, graphical browsers, where the user can just "turn it off") * Some VoiceXML 2.0 properties are not supported. Now, as notes about the constraints we should work under, a couple of "sweeping" comments - 1) We cannot break the fundamental premises in componentization. 2) We cannot break backwards compatibility (well, not drastically till RDC 2.0 atleast) Due to (1), it won't be prudent to have an arbitrary "namelist" on a component and use it to return a set of values that may have nothing to do with the internals of the component itself. However, it is quite easy to achieve what you desire using an external VoiceXML submit tag in your JSP, i.e. to say - <rdc:someRDC id=3D"myRDC" ... /> <c:if test=3D"${not empty myRDC}"> <submit next=3D"url/of/choice" namelist=3D"myRDC foo bar" /> </c:if> where foo and bar are variables unrelated to the myRDC component. Due to (2), we cannot change the fsm-input tag unless we can demonstrate backwards compatibility. One way to achieve that, would be to introduce a "minimal" RDC configuration, which caters to platforms that don't support scripting and/or any VoiceXML properties, and direct the input state through a fsm-input-minimal tag instead, if that configuration is chosen. The difference can then be illustrated as: <rdc:date id=3D"myDate1" /> <rdc:date id=3D"myDate2" platform=3D"minimal" /> (or some such well thought out attribute name and values, ones used here for illustration only) This approach will ensure that the changes propogate across all RDCs. So, I would approach this by: 1) Authoring a "minimal" fsm-input 2) Modifying fsm-run to branch if "minimal" 3) Not adding a namelist, since that should be handled outside the component boundary If you're interested in tackling this, please file an enhancement request in Bugzilla. I am inclined to mark it to LATER (which means it will not be applied any time in the immediate future), but it may be helpful to others, and it'll be nice to have this issue on file as well. I'm inclined to mark it LATER because: a) There are some minimal platform requirements for any project, and those for RDCs do imply full VoiceXML 2.0 support. At some point, trying to support every platform just becomes code bloat. b) You're the first to ask for this support. If indeed many users ask for this support in the future, we can revisit this if its on file. Finally, thanks for the rdc:builtin component you've submitted via Bugzilla. I've looked at it, and it looks good, but I need to make a couple of changes: I) "type" property doesn't belong in BaseModel II) The config file you've attached is fictitious and cannot be used I'll make the necessary changes before adding the new component, that'll probably be a few more days. -Rahul > > Regards > > Aravilli > > ------_=_NextPart_001_01C627C3.45F7AFC9 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: gthompson@example.net For additional commands, e-mail: gthompson@example.net ------_=_NextPart_001_01C627C3.45F7AFC9-- From taglibs-user-returngthompson@example.net Thu Feb 02 06:50:37 2006 Return-Path: <taglibs-user-returngthompson@example.net> Delivered-To: gthompson@example.net Received: (qmail 22299 invoked from network); 2 Feb 2006 06:50:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Feb 2006 06:50:37 -0000 Received: (qmail 58442 invoked by uid 500); 2 Feb 2006 06:50:25 -0000 Delivered-To: gthompson@example.net Received: (qmail 58406 invoked by uid 500); 2 Feb 2006 06:50:25 -0000 Mailing-List: contact gthompson@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:gthompson@example.net> List-Help: <mailto:gthompson@example.net> List-Post: <mailto:gthompson@example.net> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <gthompson@example.net> Delivered-To: mailing list gthompson@example.net Received: (qmail 58395 invoked by uid 99); 2 Feb 2006 06:50:25 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2006 22:50:25 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO sonussf1.sonusnet.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2006 22:50:24 -0800 Received: from sonusmail01.sonusnet.com (sonusmail01.sonusnet.com [83.161.120.155]) by sonussf1.sonusnet.com (8.13.3/8.13.3) with ESMTP id k126o22m004338; Thu, 2 Feb 2006 01:50:02 -0500 Received: from SONUSINMAIL01.sonusnet.com ([83.161.120.155]) by sonusmail01.sonusnet.com with Microsoft SMTPSVC(5.0.2195.6713); Thu, 2 Feb 2006 01:50:02 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Regarding RDC Date: Thu, 2 Feb 2006 12:19:58 +0530 Message-ID: <gthompson@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Regarding RDC Thread-Index: AcYnvTH6puaWpNyoQ/iNZnEtrbcD3AABVXjQAAB5ZTA= From: "Rao, Aravilli Srinivasa" <gthompson@example.net> To: "Tag Libraries Users List" <gthompson@example.net>, <gthompson@example.net> Cc: "Rahul Akolkar" <gthompson@example.net> X-OriginalArrivalTime: 02 Feb 2006 06:50:02.0057 (UTC) FILETIME=[E4193B90:01C627C4] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Vani, If you have any problems to access the previously attached mails then see the following threads for the same.=20 http://mail-archives.apache.org/mod_mbox/jakarta-taglibs-user/200601.mbo gthompson@example.net%3 e http://mail-archives.apache.org/mod_mbox/jakarta-taglibs-user/200601.mbo gthompson@example.net%3e regards Aravilli -----Original Message----- From: Rao, Aravilli Srinivasa=20 Sent: Thursday, February 02, 2006 12:08 PM To: Tag Libraries Users List Cc: Rahul Akolkar Subject: RE: Regarding RDC Vani, I have attached two mails which describes about solution to questions. But this solution is not fully accepted by the RDC Team. Rahul, I think, we have to support passing "namelist" to the component since people are finding difficulty to implement the same. Regards Aravilli -----Original Message----- From: Vani Ampavathina [mailto:gthompson@example.net]=20 Sent: Thursday, February 02, 2006 11:24 AM To: gthompson@example.net Subject: Regarding RDC Hi I am evaluating the RDC Tag libraries to use in our speech applications.Ihave a small difficulty in using these tags. can you help me in briefing a solution for the following problem. 1) When I use,say for example "alpha" tag, I would like to have my own logic in the "filled" block rather having the default submit and the namelist formed from the Nbest.js. From the provided document , I understand that we can use the submit attribute to submit to any other JSP, but what about the variables i wish to pass on to the next JSP? Say to have something like <filled> <submit next=3D"UseCollectedAlpha.jsp" namelist=3D"alphacollected var1 = var2 var3"/> </filled> instead of <filled> <script src=3D"/rdc-examples/.grammar/nbest.js"/> <var name=3D"alphaResultNBest" expr=3D"serializeNBest()"/> <submit next=3D"/rdc-examples/alpha.jsp;jsessionid=3DCD6603360BFF6C0D33417D414A2D= 205 C" method=3D"post" namelist=3D"alphaResultNBest"/> </filled> is it possible to implement this? whats the reason to send the confidence, utterance and the interpretation as a serialized object from the nbest.js? by default the maxNBest is set to 5 and all the values are concatenated and returned. is there any special reason of such implementation, when i can directly take up the "application.lastresult$.utterance" for the most probable value, the asr recognized. 2) how is a simple JSP with 4 lines of code getting translated to few tens lines of code? The tutorials and wikis doesn't help in understanding the concept.The only vxml tag I can see in the Tag library is <form> in " task.tag". The config file gives the prompts list, this part is understood. But how are the attributes like minLength and maxLength of "alpha" tag, for example, used to limit the grammar as I notice there is no direct correspondence to these attributes, and where is the input entered by the user getting validated? Regards Vani --------------------------------------------------------------------- To unsubscribe, e-mail: gthompson@example.net For additional commands, e-mail: gthompson@example.net From taglibs-user-returngthompson@example.net Thu Feb 02 22:02:14 2006 Return-Path: <taglibs-user-returngthompson@example.net> Delivered-To: gthompson@example.net Received: (qmail 36903 invoked from network); 2 Feb 2006 22:02:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Feb 2006 22:02:14 -0000 Received: (qmail 21780 invoked by uid 500); 2 Feb 2006 22:02:10 -0000 Delivered-To: gthompson@example.net Received: (qmail 21678 invoked by uid 500); 2 Feb 2006 22:02:09 -0000 Mailing-List: contact gthompson@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:gthompson@example.net> List-Help: <mailto:gthompson@example.net> List-Post: <mailto:gthompson@example.net> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <gthompson@example.net> Delivered-To: mailing list gthompson@example.net Received: (qmail 21632 invoked by uid 99); 2 Feb 2006 22:02:09 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2006 14:02:09 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=FORGED_HOTMAIL_RCVD2,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of gthompson@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ciao.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2006 14:02:08 -0800 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1F4mWJ-0007DT-Is for gthompson@example.net; Thu, 02 Feb 2006 23:01:40 +0100 Received: from 600.371.2730.dsl.clear.net.nz ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <gthompson@example.net>; Thu, 02 Feb 2006 23:01:39 +0100 Received: from sounie by 600.371.2730.dsl.clear.net.nz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <gthompson@example.net>; Thu, 02 Feb 2006 23:01:39 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gthompson@example.net From: Stephen Souness <gthompson@example.net> Subject: fmt:formatNumber not formatting on first page load Date: Fri, 03 Feb 2006 10:52:07 +1300 Lines: 19 Message-ID: <gthompson@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: gthompson@example.net X-Gmane-NNTP-Posting-Host: 600.371.2730.dsl.clear.net.nz User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en Sender: news <gthompson@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, Is it a known issue that the following JSTL will not format the provided value on the first loading of the JSP? <fmt:formatNumber value="${someBean.price}" type="currency" currencySymbol="$" maxFractionDigits="0" /> Subsequent page refreshes seem to work fine. Server is Tomcat 5.5.12 Java version is 1.5.0_06-b05 I think that I have had a client complain about something similar involving JSTL's fmt:formatDate under Tomcat 5.0, Java 1.4.2 -- Stephen --------------------------------------------------------------------- To unsubscribe, e-mail: gthompson@example.net For additional commands, e-mail: gthompson@example.net From taglibs-user-returngthompson@example.net Fri Feb 03 01:54:26 2006 Return-Path: <taglibs-user-returngthompson@example.net> Delivered-To: gthompson@example.net Received: (qmail 15558 invoked from network); 3 Feb 2006 01:54:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Feb 2006 01:54:26 -0000 Received: (qmail 87722 invoked by uid 500); 3 Feb 2006 01:54:23 -0000 Delivered-To: gthompson@example.net Received: (qmail 87680 invoked by uid 500); 3 Feb 2006 01:54:23 -0000 Mailing-List: contact gthompson@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:gthompson@example.net> List-Help: <mailto:gthompson@example.net> List-Post: <mailto:gthompson@example.net> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <gthompson@example.net> Delivered-To: mailing list gthompson@example.net Received: (qmail 87669 invoked by uid 99); 3 Feb 2006 01:54:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2006 17:54:23 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of gthompson@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO zproxy.gmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2006 17:54:22 -0800 Received: by zproxy.gmail.com with SMTP id 8so534092nzo for <gthompson@example.net>; Thu, 02 Feb 2006 17:54:02 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Sb1oExROI9rv2qvbeEH4hPWodb3tp4+mFIh2sSWaCkEuVO3wziPuVJP1EEi3FAkoqWn9LAkV47EyPzrFDBMleP38AtdwXshn94w4ZKgo0j2r41Pw+Ud/LGAZcjYog21PB69LXdNjXezzn3ya7oUQEvgNyoGOMC0TCq8VJrGKQII= Received: by 83.161.120.155 with SMTP id y46mr237682nzh; Thu, 02 Feb 2006 17:54:01 -0800 (PST) Received: by 83.161.120.155 with HTTP; Thu, 2 Feb 2006 17:54:01 -0800 (PST) Message-ID: <gthompson@example.net> Date: Thu, 2 Feb 2006 20:54:01 -0500 From: Rahul Akolkar <gthompson@example.net> To: Tag Libraries Users List <gthompson@example.net> Subject: Re: Regarding RDC In-Reply-To: <gthompson@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <gthompson@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 2/2/06, Vani Ampavathina <gthompson@example.net> wrote: > Hi > > I am evaluating the RDC Tag libraries to use in our speech > applications.Ihave a small difficulty in using these tags. can you > help me in briefing a > solution for the following problem. > > 1) When I use,say for example "alpha" tag, I would like to have my own lo= gic > in the "filled" block rather having the default submit and the namelist > formed from the Nbest.js. From the provided document , I understand that = we > can use the submit attribute to submit to any other JSP, but what about t= he > variables i wish to pass on to the next JSP? > <snip/> I would consider the use of the submit attribute to cover only corner cases, and on a case-by-case basis. It is generally recommended to leave it unspecified, so the component submits back to itself which is its default behavior (and thus, allows its state machine to run to completion). The RDC framework in itself, does nothing for cross-page navigation. There are multiple web application frameworks that provide such controllers (such as Struts), and we encourage you to pick one of those while authoring your applications. To illustrate the point, the RDC distribution does provide tags to submit to Struts actions, and echo the errors from these actions as prompts. More on that here: http://wiki.apache.org/jakarta-taglibs/ReusableDialogComponents/Tutorials/S= trutsInterface If you want to directly submit to another JSP (without using Struts), that is quite easy as well, see my other note that Aravilli referenced earlier in this message thread. These two approaches maintain component boundaries and responsibilities appropriately. > Say to have something like > > <filled> > <submit next=3D"UseCollectedAlpha.jsp" namelist=3D"alphacollected var1 v= ar2 > var3"/> > </filled> > > instead of > > <filled> > <script src=3D"/rdc-examples/.grammar/nbest.js"/> > <var name=3D"alphaResultNBest" expr=3D"serializeNBest()"/> > <submit > next=3D"/rdc-examples/alpha.jsp;jsessionid=3DCD6603360BFF6C0D33417D414A2D= 205C" > method=3D"post" namelist=3D"alphaResultNBest"/> > </filled> > > is it possible to implement this? <snap/> Yes, as mentioned above. > whats the reason to send the confidence, > utterance and the interpretation as a serialized object from the nbest.js= ? > by default the maxNBest is set to 5 and all the values are concatenated a= nd > returned. is there any special reason of such implementation, when i can > directly take up the "application.lastresult$.utterance" for the most > probable value, the asr recognized. > <snip/> A RDC component is a JSP tag, and exists server-side. The information you quote is only available on the client. The framework makes sure application.lastresult$ can be examined by the component's private data model (see Building Blocks for what that means): http://wiki.apache.org/jakarta-taglibs/ReusableDialogComponents/Tutorials/B= uildingBlocks > 2) how is a simple JSP with 4 lines of code getting translated to few ten= s > lines of code? The tutorials and wikis doesn't help in understanding the > concept.The only vxml tag I can see in the Tag library is <form> in " > task.tag". <snap/> Its no magic, I assure you ;-) Look at the fsm-*.tag files in this director= y: http://svn.apache.org/repos/asf/jakarta/taglibs/proper/rdc/trunk/src/META-I= NF/tags/rdc/ Those do most of the VoiceXML generation. Each component maintains an internal finite state machine, which determines what output is generated at any given turn. > The config file gives the prompts list, this part is > understood. But how are the attributes like minLength and maxLength of > "alpha" tag, for example, used to limit the grammar as I notice there is = no > direct correspondence to these attributes, and where is the input entered= by > the user getting validated? > <snip/> Those are used by the validate() method of the private data model to decide whether the input received is valid or not. The private data models are here: http://svn.apache.org/repos/asf/jakarta/taglibs/proper/rdc/trunk/src/org/ap= ache/taglibs/rdc/ The methods of importance are validate() and canonicalize(). Please let me know if you have other questions. -Rahul > > Regards > Vani > > --------------------------------------------------------------------- To unsubscribe, e-mail: gthompson@example.net For additional commands, e-mail: gthompson@example.net From taglibs-user-returngthompson@example.net Fri Feb 03 02:10:11 2006 Return-Path: <taglibs-user-returngthompson@example.net> Delivered-To: gthompson@example.net Received: (qmail 19337 invoked from network); 3 Feb 2006 02:10:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Feb 2006 02:10:11 -0000 Received: (qmail 1931 invoked by uid 500); 3 Feb 2006 02:10:08 -0000 Delivered-To: gthompson@example.net Received: (qmail 1892 invoked by uid 500); 3 Feb 2006 02:10:08 -0000 Mailing-List: contact gthompson@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:gthompson@example.net> List-Help: <mailto:gthompson@example.net> List-Post: <mailto:gthompson@example.net> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <gthompson@example.net> Delivered-To: mailing list gthompson@example.net Received: (qmail 1878 invoked by uid 99); 3 Feb 2006 02:10:08 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2006 18:10:08 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of gthompson@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO zproxy.gmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2006 18:10:06 -0800 Received: by zproxy.gmail.com with SMTP id 8so536205nzo for <gthompson@example.net>; Thu, 02 Feb 2006 18:09:45 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=aBYcXrBT8B1U9f6S/xSxNxcfTlb07nIaAHPpWa4t9SeZkVPVjE88OJ7ojWcQppOcpptSeO/gSHmsOuHYjG+FmMr7A32UkDTDB74cCI3HT0hvJkLHNAPJmr5CcYWOrrt+HM2JE+iUKuGCfm6lB6CK/IDaxl62GnUQy4FPt35Rfok= Received: by 83.161.120.155 with SMTP id e70mr1196545nzi; Thu, 02 Feb 2006 18:09:45 -0800 (PST) Received: by 83.161.120.155 with HTTP; Thu, 2 Feb 2006 18:09:45 -0800 (PST) Message-ID: <gthompson@example.net> Date: Thu, 2 Feb 2006 21:09:45 -0500 From: Rahul Akolkar <gthompson@example.net> To: Tag Libraries Users List <gthompson@example.net> Subject: Re: fmt:formatNumber not formatting on first page load In-Reply-To: <gthompson@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <gthompson@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 2/2/06, Stephen Souness <gthompson@example.net> wrote: > Hi, > > Is it a known issue that the following JSTL will not format the provided > value on the first loading of the JSP? > <snip/> No. This shouldn't happen, I've used the format tags on similar setups. -Rahul > <fmt:formatNumber value=3D"${someBean.price}" type=3D"currency" > currencySymbol=3D"$" maxFractionDigits=3D"0" /> > > Subsequent page refreshes seem to work fine. > > Server is Tomcat 5.5.12 > Java version is 1.5.0_06-b05 > > I think that I have had a client complain about something similar > involving JSTL's fmt:formatDate under Tomcat 5.0, Java 1.4.2 > > > -- > Stephen > --------------------------------------------------------------------- To unsubscribe, e-mail: gthompson@example.net For additional commands, e-mail: gthompson@example.net From taglibs-user-returngthompson@example.net Fri Feb 03 02:37:59 2006 Return-Path: <taglibs-user-returngthompson@example.net> Delivered-To: gthompson@example.net Received: (qmail 33173 invoked from network); 3 Feb 2006 02:37:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Feb 2006 02:37:59 -0000 Received: (qmail 21926 invoked by uid 500); 3 Feb 2006 02:37:57 -0000 Delivered-To: gthompson@example.net Received: (qmail 21886 invoked by uid 500); 3 Feb 2006 02:37:57 -0000 Mailing-List: contact gthompson@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:gthompson@example.net> List-Help: <mailto:gthompson@example.net> List-Post: <mailto:gthompson@example.net> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <gthompson@example.net> Delivered-To: mailing list gthompson@example.net Received: (qmail 21875 invoked by uid 99); 3 Feb 2006 02:37:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2006 18:37:57 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=FORGED_HOTMAIL_RCVD2,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of gthompson@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ciao.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2006 18:37:56 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1F4qpI-0008SR-Nx for gthompson@example.net; Fri, 03 Feb 2006 03:37:32 +0100 Received: from 600.371.2730.dsl.clear.net.nz ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <gthompson@example.net>; Fri, 03 Feb 2006 03:37:32 +0100 Received: from sounie by 600.371.2730.dsl.clear.net.nz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <gthompson@example.net>; Fri, 03 Feb 2006 03:37:32 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gthompson@example.net From: Stephen Souness <gthompson@example.net> Subject: Re: fmt:formatNumber not formatting on first page load Date: Fri, 03 Feb 2006 15:42:57 +1300 Lines: 56 Message-ID: <gthompson@example.net> References: <gthompson@example.net> <gthompson@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: gthompson@example.net X-Gmane-NNTP-Posting-Host: 600.371.2730.dsl.clear.net.nz User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en In-Reply-To: <gthompson@example.net> Sender: news <gthompson@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N More info: - the value is a string along the lines of : 165000.0 So what I would expect to happen is: - the decimal point and fractional 0 to be truncated - a '$' symbol to be pre-pended - a ',' between the '5' and the first '0' indicating thousands Each time Tomcat is restarted, the first load of the page shows: 165000.0 subsequent page loads give the correct: $165,000 -- Stephen Rahul Akolkar wrote: > On 2/2/06, Stephen Souness <gthompson@example.net> wrote: > >>Hi, >> >>Is it a known issue that the following JSTL will not format the provided >>value on the first loading of the JSP? >> > > <snip/> > > No. This shouldn't happen, I've used the format tags on similar setups. > > -Rahul > > > >><fmt:formatNumber value="${someBean.price}" type="currency" >>currencySymbol="$" maxFractionDigits="0" /> >> >>Subsequent page refreshes seem to work fine. >> >>Server is Tomcat 5.5.12 >>Java version is 1.5.0_06-b05 >> >>I think that I have had a client complain about something similar >>involving JSTL's fmt:formatDate under Tomcat 5.0, Java 1.4.2 >> >> >>-- >>Stephen >> --------------------------------------------------------------------- To unsubscribe, e-mail: gthompson@example.net For additional commands, e-mail: gthompson@example.net From taglibs-user-returngthompson@example.net Fri Feb 03 02:55:39 2006 Return-Path: <taglibs-user-returngthompson@example.net> Delivered-To: gthompson@example.net Received: (qmail 38222 invoked from network); 3 Feb 2006 02:55:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Feb 2006 02:55:39 -0000 Received: (qmail 35796 invoked by uid 500); 3 Feb 2006 02:55:32 -0000 Delivered-To: gthompson@example.net Received: (qmail 35757 invoked by uid 500); 3 Feb 2006 02:55:32 -0000 Mailing-List: contact gthompson@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:gthompson@example.net> List-Help: <mailto:gthompson@example.net> List-Post: <mailto:gthompson@example.net> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <gthompson@example.net> Delivered-To: mailing list gthompson@example.net Received: (qmail 35745 invoked by uid 99); 3 Feb 2006 02:55:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2006 18:55:32 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of gthompson@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO zproxy.gmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2006 18:55:31 -0800 Received: by zproxy.gmail.com with SMTP id 8so542185nzo for <gthompson@example.net>; Thu, 02 Feb 2006 18:55:11 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QY7Sp/LA1Rfk2F6YCdpSKiG3QyoDJVce+gge6WhMSp+rxXKwkwlnF20maNTmQMXCbdB7ESval+4WSvKlQM670+DdaxrNMje8RK8hKESSHQACRmZYmqgvXt4VD/VDu3xcDL/RkO1cKeVvVQytFo1MVXIcEhQJFl2FcgKE+MGHIgY= Received: by 83.161.120.155 with SMTP id e70mr1219181nzi; Thu, 02 Feb 2006 18:55:10 -0800 (PST) Received: by 83.161.120.155 with HTTP; Thu, 2 Feb 2006 18:55:10 -0800 (PST) Message-ID: <gthompson@example.net> Date: Thu, 2 Feb 2006 21:55:10 -0500 From: Rahul Akolkar <gthompson@example.net> To: Tag Libraries Users List <gthompson@example.net> Subject: Re: fmt:formatNumber not formatting on first page load In-Reply-To: <gthompson@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <gthompson@example.net> <gthompson@example.net> <gthompson@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 2/2/06, Stephen Souness <gthompson@example.net> wrote: > More info: > > - the value is a string along the lines of : > 165000.0 > > So what I would expect to happen is: > - the decimal point and fractional 0 to be truncated > - a '$' symbol to be pre-pended > - a ',' between the '5' and the first '0' indicating thousands > > Each time Tomcat is restarted, the first load of the page shows: > > 165000.0 > > subsequent page loads give the correct: > > $165,000 > <snip/> On Tomcat 5.0.28, JDK 1.4.2, JSTL 1.1, this JSP: <%@ taglib prefix=3D"fmt" uri=3D"http://java.sun.com/jsp/jstl/fmt"%> <fmt:formatNumber value=3D"165000.0" type=3D"currency" currencySymbol=3D"$" maxFractionDigits=3D"0" /> give me this output: $165,000 The first time, and every time beyond that. There's something else going on in your setup. I can't say based on the information we have. -Rahul > > -- > Stephen > <snap/> --------------------------------------------------------------------- To unsubscribe, e-mail: gthompson@example.net For additional commands, e-mail: gthompson@example.net From taglibs-user-returngthompson@example.net Sat Feb 04 02:51:28 2006 Return-Path: <taglibs-user-returngthompson@example.net> Delivered-To: gthompson@example.net Received: (qmail 99668 invoked from network); 4 Feb 2006 02:51:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Feb 2006 02:51:28 -0000 Received: (qmail 98813 invoked by uid 500); 4 Feb 2006 02:51:16 -0000 Delivered-To: gthompson@example.net Received: (qmail 98772 invoked by uid 500); 4 Feb 2006 02:51:16 -0000 Mailing-List: contact gthompson@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:gthompson@example.net> List-Help: <mailto:gthompson@example.net> List-Post: <mailto:gthompson@example.net> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <gthompson@example.net> Delivered-To: mailing list gthompson@example.net Received: (qmail 98760 invoked by uid 99); 4 Feb 2006 02:51:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Feb 2006 18:51:16 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=FORGED_HOTMAIL_RCVD2,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of gthompson@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ciao.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Feb 2006 18:51:15 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1F5DVQ-0002Lk-Vo for gthompson@example.net; Sat, 04 Feb 2006 03:50:36 +0100 Received: from 600.371.2730.dsl.clear.net.nz ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <gthompson@example.net>; Sat, 04 Feb 2006 03:50:32 +0100 Received: from sounie by 600.371.2730.dsl.clear.net.nz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <gthompson@example.net>; Sat, 04 Feb 2006 03:50:32 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gthompson@example.net From: Stephen Souness <gthompson@example.net> Subject: Re: fmt:formatNumber not formatting on first page load Date: Sat, 04 Feb 2006 15:55:31 +1300 Lines: 59 Message-ID: <gthompson@example.net> References: <gthompson@example.net> <gthompson@example.net> <gthompson@example.net> <gthompson@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: gthompson@example.net X-Gmane-NNTP-Posting-Host: 600.371.2730.dsl.clear.net.nz User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en In-Reply-To: <gthompson@example.net> Sender: news <gthompson@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Windows XP Professional is the OS that this app has encountered this issue on. We'll be deploying it to a Linux box when it goes live, and my tests today indicate that everything goes fine first time under Linux (for that particular aspect at least - let's not tempt Murphy to invoke the law). -- Stephen Rahul Akolkar wrote: > On 2/2/06, Stephen Souness <gthompson@example.net> wrote: > >>More info: >> >>- the value is a string along the lines of : >>165000.0 >> >>So what I would expect to happen is: >> - the decimal point and fractional 0 to be truncated >> - a '$' symbol to be pre-pended >> - a ',' between the '5' and the first '0' indicating thousands >> >>Each time Tomcat is restarted, the first load of the page shows: >> >>165000.0 >> >>subsequent page loads give the correct: >> >>$165,000 >> > > <snip/> > > On Tomcat 5.0.28, JDK 1.4.2, JSTL 1.1, this JSP: > > <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> > <fmt:formatNumber value="165000.0" type="currency" > currencySymbol="$" maxFractionDigits="0" /> > > give me this output: > > $165,000 > > The first time, and every time beyond that. There's something else > going on in your setup. I can't say based on the information we have. > > -Rahul > > > >>-- >>Stephen >> > > <snap/> --------------------------------------------------------------------- To unsubscribe, e-mail: gthompson@example.net For additional commands, e-mail: gthompson@example.net From taglibs-user-returngthompson@example.net Sat Feb 04 03:07:31 2006 Return-Path: <taglibs-user-returngthompson@example.net> Delivered-To: gthompson@example.net Received: (qmail 4245 invoked from network); 4 Feb 2006 03:07:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Feb 2006 03:07:31 -0000 Received: (qmail 5320 invoked by uid 500); 4 Feb 2006 03:07:19 -0000 Delivered-To: gthompson@example.net Received: (qmail 5281 invoked by uid 500); 4 Feb 2006 03:07:19 -0000 Mailing-List: contact gthompson@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:gthompson@example.net> List-Help: <mailto:gthompson@example.net> List-Post: <mailto:gthompson@example.net> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <gthompson@example.net> Delivered-To: mailing list gthompson@example.net Received: (qmail 5270 invoked by uid 99); 4 Feb 2006 03:07:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Feb 2006 19:07:19 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=FORGED_HOTMAIL_RCVD2,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of gthompson@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ciao.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Feb 2006 19:07:18 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1F5DlC-0006bG-Le for gthompson@example.net; Sat, 04 Feb 2006 04:06:50 +0100 Received: from 600.371.2730.dsl.clear.net.nz ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <gthompson@example.net>; Sat, 04 Feb 2006 04:06:50 +0100 Received: from sounie by 600.371.2730.dsl.clear.net.nz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <gthompson@example.net>; Sat, 04 Feb 2006 04:06:50 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gthompson@example.net From: Stephen Souness <gthompson@example.net> Subject: Re: fmt:formatNumber not formatting on first page load Date: Sat, 04 Feb 2006 16:11:54 +1300 Lines: 97 Message-ID: <gthompson@example.net> References: <gthompson@example.net> <gthompson@example.net> <gthompson@example.net> <gthompson@example.net> <gthompson@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: gthompson@example.net X-Gmane-NNTP-Posting-Host: 600.371.2730.dsl.clear.net.nz User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en In-Reply-To: <gthompson@example.net> Sender: news <gthompson@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Looks like I posted too soon. Re-starting Tomcat on the Linux server, and then reloading the page containing the JSTL produces our old friend the conspicuously non-formatted number. Here's a snippet from my server.xml, in case anyone can find a glaring issue to explain what I have been observing: <Host name="www.mystuffgoeshere.com" debug="9" appBase="/usr/local/webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false" reloadable="true" tcpListenAddress="83.161.120.155"> <Realm className="org.apache.catalina.realm.JDBCRealm" debug="99" driverName="net.sourceforge.jtds.jdbc.Driver" connectionName="NotTelling" connectionPassword="ASecret" connectionURL="jdbc:jtds:sqlserver://83.161.120.155/NotTelling userTable="LOGIN" userNameCol="USERNAME" userCredCol="PASSWORD" userRoleTable="LOGIN" roleNameCol="ROLE"/> </Host> Other aspects of my application: - Using Tomcat's built-in security (hence JDBC Realm defined above) - Using Struts 1.2.8 - Using Tiles -- Stephen Stephen Souness wrote: > Windows XP Professional is the OS that this app has encountered this > issue on. > > We'll be deploying it to a Linux box when it goes live, and my tests > today indicate that everything goes fine first time under Linux (for > that particular aspect at least - let's not tempt Murphy to invoke the > law). > > > -- > Stephen > > > > Rahul Akolkar wrote: > >> On 2/2/06, Stephen Souness <gthompson@example.net> wrote: >> >>> More info: >>> >>> - the value is a string along the lines of : >>> 165000.0 >>> >>> So what I would expect to happen is: >>> - the decimal point and fractional 0 to be truncated >>> - a '$' symbol to be pre-pended >>> - a ',' between the '5' and the first '0' indicating thousands >>> >>> Each time Tomcat is restarted, the first load of the page shows: >>> >>> 165000.0 >>> >>> subsequent page loads give the correct: >>> >>> $165,000 >>> >> >> <snip/> >> >> On Tomcat 5.0.28, JDK 1.4.2, JSTL 1.1, this JSP: >> >> <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> >> <fmt:formatNumber value="165000.0" type="currency" >> currencySymbol="$" maxFractionDigits="0" /> >> >> give me this output: >> >> $165,000 >> >> The first time, and every time beyond that. There's something else >> going on in your setup. I can't say based on the information we have. >> >> -Rahul >> >> >> >>> -- >>> Stephen >>> >> >> <snap/> --------------------------------------------------------------------- To unsubscribe, e-mail: gthompson@example.net For additional commands, e-mail: gthompson@example.net From taglibs-user-returngthompson@example.net Mon Feb 06 08:04:08 2006 Return-Path: <taglibs-user-returngthompson@example.net> Delivered-To: gthompson@example.net Received: (qmail 98825 invoked from network); 6 Feb 2006 08:04:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 6 Feb 2006 08:04:07 -0000 Received: (qmail 9965 invoked by uid 500); 6 Feb 2006 08:04:01 -0000 Delivered-To: gthompson@example.net Received: (qmail 9931 invoked by uid 500); 6 Feb 2006 08:04:00 -0000 Mailing-List: contact gthompson@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:gthompson@example.net> List-Help: <mailto:gthompson@example.net> List-Post: <mailto:gthompson@example.net> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <gthompson@example.net> Delivered-To: mailing list gthompson@example.net Received: (qmail 9920 invoked by uid 99); 6 Feb 2006 08:04:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Feb 2006 00:04:00 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO ctsinpunsxib.cts.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Feb 2006 00:03:57 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: help with RDC Date: Mon, 6 Feb 2006 13:33:33 +0530 Message-ID: <gthompson@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: help with RDC Thread-Index: AcYq89M/p+RUIwfxSHSqh+P4ICFkzQ== From: "Easwaren, Shaivya \(Cognizant\)" <gthompson@example.net> To: <gthompson@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N We are using RDC in a small project on Multimodal technologies and are= testing with Opera browser. After configuring the project to use RDC= taglibs, we tested with the Hello World tag which is working fine, but= none of the other tags are working. Could someone show us how to use RDC= in a JSP page? Here is a sample page in our application that is saying= "Hello World from Shaivya" and then giving a VXML parsing error on the= first line using the grammar file import. None of the javascript imports= are getting recognized either. ___________________________________________________________________________= ___________________ <!DOCTYPE html PUBLIC "-//VoiceXML Forum//DTD XHTML+Voice 1.2//EN"= "http://www.voicexml.org/specs/multimodal/x+v/12/dtd/xhtml+voice12.dtd"> <html xmlns=3D"http://www.w3.org/1999/xhtml" xmlns:ev= =3D"http://www.w3.org/2001/xml-events" xmlns:xv= =3D"http://www.voicexml.org/2002/xhtml+voice" xml:lang=3D"en-US"> <%@ taglib uri=3D"/WEB-INF/struts-bean.tld" prefix=3D"bean"%> <%@ taglib uri=3D"/WEB-INF/struts-html.tld" prefix=3D"html"%> <%@ taglib uri=3D"http://jakarta.apache.org/taglibs/rdc-1.0" prefix= =3D"rdc"%> <%@ taglib prefix=3D"c" uri=3D"http://java.sun.com/jsp/jstl/core" %> <head> <title>Example 1: "Hello, World"</title> <xv:sync xv:input=3D"userid" xv:field=3D"#useridInput" /> <form xmlns=3D"http://www.w3.org/2001/vxml" id=3D"sayHello"> <rdc:hello name=3D"shaivya"/> </form> <vxml version=3D"2.0" xml:lang=3D"en-US" xmlns= =3D"http://www.w3.org/2001/vxml"> =0D <jsp:useBean id=3D"dialogMap" class=3D"java.util.LinkedHashMap" scope= =3D"session"/> <rdc:task map=3D"${dialogMap}" id=3D"takeText"> <rdc:alpha id=3D"userid" echo=3D"true" />=0D </rdc:task> </vxml> <c:if test=3D"${not empty userid}"> <rdc:struts-submit submit=3D"/DummyAction" context=3D"${pageContext}"= namelist=3D"userid" /> </c:if>=0D </head> <body ev:event=3D"load" ev:handler=3D"#sayHello"> <h1>"Hello World!" example</h1> =0D <html:form action=3D"/DummyAction"> <html:text property=3D"userid" size=3D"20"/> <input type=3D"text" id=3D"userid" size=3D"20" ev:event=3D"focus"= ev:handler=3D"#takeText"/> <html:submit value=3D"Submit"/> </html:form> </body> </html> ___________________________________________________________________________= ________________ Thanks and regards, Shaivya Easwaren Programmer Analyst Java Center of Excellence Cognizant Pune Tel =A0=A0=A0=A0=A0=A0=A0=A0 +91 20 4114000 x 166 Extn: 2816,=0D VNet 22911 gthompson@example.net JCOE Portal http://jcoe.cognizant.com This e-mail and any files transmitted with it are for the sole use of the= intended recipient(s) and may contain confidential and privileged= information. If you are not the intended recipient, please contact the sender by reply= e-mail and destroy all copies of the original message.=0D Any unauthorised review, use, disclosure, dissemination, forwarding,= printing or copying of this email or any action taken in reliance on this= e-mail is strictly=0D prohibited and may be unlawful. Visit us at http://www.cognizant.com --------------------------------------------------------------------- To unsubscribe, e-mail: gthompson@example.net For additional commands, e-mail: gthompson@example.net From taglibs-user-returngthompson@example.net Mon Feb 06 11:24:22 2006 Return-Path: <taglibs-user-returngthompson@example.net> Delivered-To: gthompson@example.net Received: (qmail 96660 invoked from network); 6 Feb 2006 11:24:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 6 Feb 2006 11:24:21 -0000 Received: (qmail 21548 invoked by uid 500); 6 Feb 2006 11:24:10 -0000 Delivered-To: gthompson@example.net Received: (qmail 21518 invoked by uid 500); 6 Feb 2006 11:24:09 -0000 Mailing-List: contact gthompson@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:gthompson@example.net> List-Help: <mailto:gthompson@example.net> List-Post: <mailto:gthompson@example.net> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <gthompson@example.net> Delivered-To: mailing list gthompson@example.net Received: (qmail 21506 invoked by uid 99); 6 Feb 2006 11:24:09 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Feb 2006 03:24:09 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO SGSLEX2K3.sgsl.int) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Feb 2006 03:24:07 -0800 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Regarding RDC X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Date: Mon, 6 Feb 2006 16:58:07 +0530 Message-ID: <gthompson@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Regarding RDC Thread-Index: AcYoZZpb3ksrf/TCRCGKIh63JwyqpACpZXOw From: "Vani Ampavathina" <gthompson@example.net> To: "Tag Libraries Users List" <gthompson@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Rahul & Aravilli Thanks for the clarifications.=20 Rahul=20 Can you please explain us the "Finite State Machine (FSM)" we are talking here? I notice three fsm tags, fsm_input.tag, fsm_confirm.tag and fsm_run.tag. When does this state machine start and what are the transition states it goes and what are its effects. Aravilli Seen the mails you forwarded. I have a question on the implementation "commenting the script element in the fsm_input.tag"; given. I did not find the "builtinGrammar.tag" in the rdc folder. Is this deprecated or the one you suggested and rdc is yet to yet to approve? Regards Vani -----Original Message----- From: Rahul Akolkar [mailto:gthompson@example.net]=20 Sent: Friday, February 03, 2006 7:24 AM To: Tag Libraries Users List Subject: Re: Regarding RDC On 2/2/06, Vani Ampavathina <gthompson@example.net> wrote: > Hi > > I am evaluating the RDC Tag libraries to use in our speech > applications.Ihave a small difficulty in using these tags. can you > help me in briefing a > solution for the following problem. > > 1) When I use,say for example "alpha" tag, I would like to have my own logic > in the "filled" block rather having the default submit and the namelist > formed from the Nbest.js. From the provided document , I understand that we > can use the submit attribute to submit to any other JSP, but what about the > variables i wish to pass on to the next JSP? > <snip/> I would consider the use of the submit attribute to cover only corner cases, and on a case-by-case basis. It is generally recommended to leave it unspecified, so the component submits back to itself which is its default behavior (and thus, allows its state machine to run to completion). The RDC framework in itself, does nothing for cross-page navigation. There are multiple web application frameworks that provide such controllers (such as Struts), and we encourage you to pick one of those while authoring your applications. To illustrate the point, the RDC distribution does provide tags to submit to Struts actions, and echo the errors from these actions as prompts. More on that here: http://wiki.apache.org/jakarta-taglibs/ReusableDialogComponents/Tutorial s/StrutsInterface If you want to directly submit to another JSP (without using Struts), that is quite easy as well, see my other note that Aravilli referenced earlier in this message thread. These two approaches maintain component boundaries and responsibilities appropriately. > Say to have something like > > <filled> > <submit next=3D"UseCollectedAlpha.jsp" namelist=3D"alphacollected = var1 var2 > var3"/> > </filled> > > instead of > > <filled> > <script src=3D"/rdc-examples/.grammar/nbest.js"/> > <var name=3D"alphaResultNBest" expr=3D"serializeNBest()"/> > <submit > next=3D"/rdc-examples/alpha.jsp;jsessionid=3DCD6603360BFF6C0D33417D414A2D= 205 C" > method=3D"post" namelist=3D"alphaResultNBest"/> > </filled> > > is it possible to implement this? <snap/> Yes, as mentioned above. > whats the reason to send the confidence, > utterance and the interpretation as a
{'source': 'Apache Software Foundation Public Mail Archives'}