Download "user manual"

Transcript
<audio
src="<%=portletResponse.encodeURL("grammar_audio/S00010s.wav")%>">Welcome to
train time portlet</audio>
<goto next="#Departure" />
</block>
</form>
<form id="Departure">
<field name="fDepartureLocation">
<jsp:include page="departureLocations.jsp"/>
<prompt cond="mode == 'speech'" bargein="true">
<audio
src="<%=portletResponse.encodeURL("grammar_audio/P00010s.wav")%>">Where do you
want to depart from?</audio>
</prompt>
<nomatch>
No trains depart from that city. Please try another.
<reprompt />
</nomatch>
</field>
<filled>
<assign name="start" expr="fDepartureLocation" />
<submit next="<portletAPI:createURI><portletAPI:URIAction
name="submitDeparture"/></portletAPI:createURI>" namelist="start"
method="post"/>
</filled>
</form>
<% } %>
<% if(!(sessionBean.getStart().equals("")) &&
sessionBean.getEnd().equals("")){%>
<form id="Arrival">
<field name="fArrivalLocation">
<jsp:include page="arrivalLocations.jsp"/>
<prompt cond="mode == 'speech'" bargein="true">
<audio
src="<%=portletResponse.encodeURL("grammar_audio/P00020s.wav")%>">Where do you
want to go?</audio>
</prompt>
<nomatch>
No trains arrive at that city. Please try another.
<reprompt />
</nomatch>
<filled>
<assign name="start" expr="'<%=sessionBean.getStart()%>'"/>
<assign name="end" expr="fArrivalLocation" />
<submit next="<portletAPI:createURI><portletAPI:URIAction
name="submitArrival"/></portletAPI:createURI>" namelist="start end"
method="post"/>
</filled>
</field>
Chapter 14. Timetable information by Voice
347