1 32 33 package scioworks.imap.presentation.imapWeb; 34 35 import org.w3c.dom.*; 36 import org.w3c.dom.html.*; 37 38 import com.lutris.appserver.server.httpPresentation.*; 39 import com.lutris.util.KeywordValueException; 40 41 import scioworks.imap.presentation.base.*; 42 import scioworks.imap.presentation.imapWeb.*; 43 import scioworks.imap.spec.ImapWebConstant; 44 45 public class compose extends BasePO { 46 protected boolean isLoginRequired() { 48 return false; 49 } 50 51 public String handleDefault() 52 throws HttpPresentationException { 53 54 try { 55 composeHTML page = (composeHTML)m_comms.xmlcFactory.create(composeHTML.class); 56 57 Object obj = getComms().sessionData.get(FileUploadSessionData.SESSION_KEY); 59 if (obj != null) { 60 obj = null; 61 } 62 63 ((HTMLInputElement)page.getElementOrigMsgid()).setValue("-1"); 65 66 return page.toDocument(); 67 68 } catch (KeywordValueException e) { 69 return super.showErrorPage(MSG_OPERATION_FAILED, 70 "Problem getting session data from session. " + 71 e.getMessage(), "", ""); 72 } 73 } 74 } | Popular Tags |