Ignore:
Timestamp:
06/07/09 15:05:28 (3 years ago)
Author:
octorian
Message:

Browser field integration for real inline HTML message display support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LogicMail/src/org/logicprobe/LogicMail/ui/CompositionScreen.java

    r449 r453  
    140140        appendSignature(); 
    141141                messageEditField.setEditable(true); 
     142    } 
     143 
     144    /** 
     145     * Creates a new instance of CompositionScreen. 
     146     * 
     147     * @param navigationController Controller for screen navigation 
     148     * @param accountNode Account node 
     149     * @param recipient Message recipient address to pre-populate the "To" field with 
     150     */ 
     151    public CompositionScreen(NavigationController navigationController, AccountNode accountNode, String recipient) { 
     152        this(navigationController, accountNode); 
     153 
     154        EmailAddressBookEditField toAddressField = (EmailAddressBookEditField) recipientsFieldManager.getField(0); 
     155        toAddressField.setText(recipient); 
    142156    } 
    143157 
     
    451465        String contentText = messageEditField.getText(); 
    452466        MessagePart bodyPart = MessagePartFactory.createMessagePart( 
    453                         "text", "plain", null, "7bit", "us-ascii", null, contentText.length()); 
     467                        "text", "plain", null, "7bit", "us-ascii", "", "", contentText.length()); 
    454468        MessageContent bodyContent; 
    455469        try { 
Note: See TracChangeset for help on using the changeset viewer.