help with RDC

"Easwaren, Shaivya \(Cognizant\)" <[email protected]>
Newsgroups gmane.comp.jakarta.taglibs.user
Message-ID <[email protected]>
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="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xv="http://www.voicexml.org/2002/xhtml+voice" xml:lang="en-US">
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="http://jakarta.apache.org/taglibs/rdc-1.0" prefix="rdc"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<head>
  <title>Example 1: "Hello, World"</title>
  <xv:sync xv:input="userid" xv:field="#useridInput" />
  <form xmlns="http://www.w3.org/2001/vxml" id="sayHello">
    <rdc:hello name="shaivya"/>
  </form>
<vxml version="2.0" xml:lang="en-US"  xmlns="http://www.w3.org/2001/vxml"> 
<jsp:useBean id="dialogMap" class="java.util.LinkedHashMap" scope="session"/>
  <rdc:task map="${dialogMap}" id="takeText">
  	<rdc:alpha id="userid" echo="true" />
  </rdc:task>
</vxml>
<c:if test="${not empty userid}">
  <rdc:struts-submit submit="/DummyAction" context="${pageContext}" namelist="userid"  />
</c:if>
</head>

<body ev:event="load" ev:handler="#sayHello">
  <h1>"Hello World!" example</h1>
 
  <html:form action="/DummyAction">
  <html:text property="userid" size="20"/>
<input type="text" id="userid" size="20" ev:event="focus" ev:handler="#takeText"/>
  <html:submit value="Submit"/>
  </html:form>
</body>
</html>
___________________________________________________________________________________________
Thanks and regards,
Shaivya Easwaren
Programmer Analyst
Java Center of Excellence
Cognizant Pune
Tel                 +91 20 4114000 x 166 Extn: 2816,
VNet               22911
Email             [email protected]
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.
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
prohibited and may be unlawful.

  Visit us at http://www.cognizant.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.