예제 #1
0
 public String htmlParaResolucao(String resp, Formulario form, ListaGerada listaGerada)
     throws Exception {
   String str = "<B>" + this.getEnunciado() + "</B><BR>";
   if (resp == null) {
     str += form.textArea("quest" + this.getCod(), "", 3, 60);
   } else {
     str += form.textArea("quest" + this.getCod(), resp, 3, 60);
   }
   return str;
 }
예제 #2
0
  public static String htmlFormCadastroNovaQuestao(Formulario form) throws Exception {

    String str = "<table class=AreaConteudoFormularioFundo border=0 cellpadding=0 cellspacing=0>";
    str +=
        "<TR valign=top><TD><span class=AreaConteudoFormularioTexto>Resposta Correta: &nbsp; </span></TD>";
    str += "<TD>" + form.textArea("respostaCorreta", "", 4, 45) + "</TD></TR></TABLE>";
    return str;
  }