{
//if the prompt added in the ctor is empty then replace it
//This avoids empty <prompt> tags in the voicexml.
if (m_promptL.size() == 1) {
Prompt prompt = firstPrompt();
if (prompt.ptext().length() == 0) {
prompt.setPText(ptext);
return;
}
}
m_promptL.add(new Prompt(ptext));