tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Easwaren, Shaivya \(Cognizant\)" <>
Subject help with RDC
Date Mon, 06 Feb 2006 08:03:33 GMT

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" "">
<html xmlns="" xmlns:ev=""
xmlns:xv="" xml:lang="en-US">
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="" prefix="rdc"%>
<%@ taglib prefix="c" uri="" %>
  <title>Example 1: "Hello, World"</title>
  <xv:sync xv:input="userid" xv:field="#useridInput" />
  <form xmlns="" id="sayHello">
    <rdc:hello name="shaivya"/>
<vxml version="2.0" xml:lang="en-US"  xmlns=""> 
<jsp:useBean id="dialogMap" class="java.util.LinkedHashMap" scope="session"/>
  <rdc:task map="${dialogMap}" id="takeText">
  	<rdc:alpha id="userid" echo="true" />
<c:if test="${not empty userid}">
  <rdc:struts-submit submit="/DummyAction" context="${pageContext}" namelist="userid" 

<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"/>
Thanks and regards,
Shaivya Easwaren
Programmer Analyst
Java Center of Excellence
Cognizant Pune
Tel                 +91 20 4114000 x 166 Extn: 2816,
VNet               22911
JCOE Portal

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message