You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by Apache Wiki <wi...@apache.org> on 2005/08/19 03:50:56 UTC

[Jakarta-taglibs Wiki] Update of "ReusableDialogComponents/FrequentlyAskedQuestions" by RahulAkolkar

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jakarta-taglibs Wiki" for change notification.

The following page has been changed by RahulAkolkar:
http://wiki.apache.org/jakarta-taglibs/ReusableDialogComponents/FrequentlyAskedQuestions

The comment on the change is:
FAQ entry inspired by BZ# 36150

------------------------------------------------------------------------------
  <rdc:date id="myDate" config="date-cfg.xml" />
  }}}
  
+ ==== The VoiceXML browser complains about malformed documents right after transitioning between JSPs using <rdc:struts-submit>. Is this a known issue? ====
+ 
+ The VoiceXML browser complains to the effect of ''The markup in the document following the root element must be well-formed''. The {{{<rdc:struts-submit>}}} tag internally forwards the request and should be used after the last bit of template text in the JSP, to ensure that the buffer for the JSP writer is cleared appropriately.
+ 
+ Example of incorrect usage:
+ {{{
+ [...]
+ <vxml version="2.0" xml:lang="en-US"  xmlns="http://www.w3.org/2001/vxml" >
+     [...]
+     <rdc:xxxx id="test" ... />
+ 
+     <c:if test="${not empty test}">
+       <rdc:struts-submit ... />
+     </c:if>
+     [...]
+ </vxml> <%-- Last bit of template text --%>
+ }}}
+ 
+ Example of correct usage:
+ {{{
+ [...]
+ <vxml version="2.0" xml:lang="en-US"  xmlns="http://www.w3.org/2001/vxml" >
+     [...]
+     <rdc:xxxx id="test" ... />
+     [...]
+ </vxml> <%-- Last bit of template text --%>
+ 
+ <c:if test="${not empty test}">
+   <rdc:struts-submit ... />
+ </c:if>
+ }}}
+ 
+ For more details, take a look at Bugzilla entry [http://issues.apache.org/bugzilla/show_bug.cgi?id=36150 36150]
+ 

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org