Ignore:
Timestamp:
05/29/12 11:42:36 (12 years ago)
Author:
asaikawa
Message:

Ticket #2507 - Alteracao no restclient contendo o formulario de envio de email para SendResource?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/webservice/restclient/index.html

    r6323 r6339  
    5858                <BR><BR> 
    5959                <TABLE> 
     60                        <TR><TD><b>Para</b></TD>                <TD><input type="text" id="msg_to"/></TD></TR> 
     61                        <TR><TD><b>CC</b></TD>                  <TD><input type="text" id="msg_cc"/></TD></TR> 
     62                        <TR><TD><b>CCo</b></TD>                 <TD><input type="text" id="msg_bcc"/></TD></TR> 
     63                        <TR><TD><b>Responder a</b></TD> <TD><input type="text" id="msg_replyto"/></TD></TR> 
     64                        <TR><TD><b>Assunto</b></TD>             <TD><input type="text" id="msg_subject"/></TD></TR> 
     65                        <TR><TD><b>Conteudo</b></TD>    <TD><textarea id="text_message_body">Texto do e-mail enviado.</textarea></TD></TR> 
     66                        <TR><TD><b>Anexos</b></TD>              <TD><input type="file" id="msg_attach_1"/></TD></TR> 
     67                        <TR><TD></TD>                                   <TD><input type="file" id="msg_attach_2"/></TD></TR> 
     68                        <TR><TD></TD>                                   <TD><input id="bt_send_msg" type="button" value="Enviar Mensagem" onclick="javascript:jExecute('Send')"/></TD></TR> 
     69                </TABLE> 
     70                <BR><BR> 
     71                <TABLE> 
    6072                        <TR><TD><b>Esvaziar Lixeira</b></TD> 
    6173                                <TD><input id="bt_esvaziar_lixeira" type="button" value="Esvaziar Lixeira" onclick="javascript:jExecute('CleanTrash')"/></TD> 
     
    6577                                <TD><input id="bt_sugestao" type="button" value="Enviar Sugest&atilde;o" onclick="javascript:jExecute('SendSupportFeedback')"/></TD> 
    6678                        </TR> 
    67                 </TABLE><br><br> 
     79                </TABLE> 
     80                <BR><BR> 
    6881                <TABLE> 
    6982                        <TR><TD><b>Pastas IMAP</b></TD> 
     
    303316                                _action = 'Mail/RenameFolder'; 
    304317                                break; 
     318                        case 'Send': 
     319                                _action = 'Mail/Send'; 
     320                                break; 
    305321                        case 'getMessages': 
    306322                                _action = 'Mail/Messages'; 
     
    361377                                                        search:  $(_search).val(), 
    362378                                                        newFolderName: $('#new_folder_name').val(), 
     379                                                        msgFrom:  $('#msg_from').val(), 
     380                                                        msgTo:  $('#msg_to').val(), 
     381                                                        msgCcTo:  $('#msg_cc').val(), 
     382                                                        msgBccTo:  $('#msg_bcc').val(), 
     383                                                        msgReplyTo:  $('#msg_replyto').val(), 
     384                                                        msgSubject:  $('#msg_subject').val(), 
     385                                                        msgBody:  $('#text_message_body').val(), 
    363386                                                        method: _method 
    364                                                 }, 
     387                                                }, 
    365388                                                action: _action 
    366389                                }, 
Note: See TracChangeset for help on using the changeset viewer.