ZMessageComposeBean compose; if (ACTION_REPLY.equals(mAction)) compose = ZMessageComposeBean.reply(mMessage, null); else if (ACTION_REPLY_ALL.equals(mAction)) compose = ZMessageComposeBean.replyAll(mMessage, null); else if (ACTION_FORWARD.equals(mAction)) compose = ZMessageComposeBean.forward(mMessage, null); else compose = ZMessageComposeBean.newMessage(null); jctxt.setAttribute(mVar, compose, PageContext.PAGE_SCOPE);
ZMessageComposeBean compose; if (ACTION_REPLY.equals(mAction)) compose = new ZMessageComposeBean(Action.REPLY, mMessage, mailbox.getIdentities()); else if (ACTION_REPLY_ALL.equals(mAction)) compose = new ZMessageComposeBean(Action.REPLY_ALL, mMessage, mailbox.getIdentities()); else if (ACTION_FORWARD.equals(mAction)) compose = new ZMessageComposeBean(Action.FORWARD, mMessage, mailbox.getIdentities()); else compose = new ZMessageComposeBean(Action.NEW, null, mailbox.getIdentities());  jctxt.setAttribute(mVar, compose, PageContext.PAGE_SCOPE);  } catch (ServiceException e) { throw new JspTagException(e.getMessage(), e); }
    public void doTag() throws JspException, IOException {        JspContext jctxt = getJspContext();        //ZMailbox mbox = getMailbox();        ZMessageComposeBean compose;        if (ACTION_REPLY.equals(mAction))            compose = ZMessageComposeBean.reply(mMessage, null);        else if (ACTION_REPLY_ALL.equals(mAction))            compose = ZMessageComposeBean.replyAll(mMessage, null);        else if (ACTION_FORWARD.equals(mAction))            compose = ZMessageComposeBean.forward(mMessage, null);        else            compose = ZMessageComposeBean.newMessage(null);        jctxt.setAttribute(mVar, compose, PageContext.PAGE_SCOPE);    }