java.lang.Object
org.apache.struts.action.ActionForm
com.RuntimeCollective.bboard.form.ComplexMessageForm
com.RuntimeCollective.bboard.form.ComplexAttachmentMessageForm
- All Implemented Interfaces:
- com.RuntimeCollective.webapps.form.BeanForm, java.io.Serializable
- Direct Known Subclasses:
- RequiredComplexAttachmentMessageForm
- public class ComplexAttachmentMessageForm
- extends ComplexMessageForm
A form for creating/editing discussion board message that
supports attachments.
Note: This class replaces AttachmentMessageForm
which should be considered depricated.
- Version:
- $Id: ComplexAttachmentMessageForm.java,v 1.5 2003/09/30 15:12:44 joe Exp $
| Methods inherited from class com.RuntimeCollective.bboard.form.ComplexMessageForm |
getFlag, getFormAction, getMessageId, getText, getTopicId, populateBean, populateForm, setFlag, setFormAction, setMessageId, setText, setTopicId, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
attachment
protected org.apache.struts.upload.FormFile attachment
- The attachment file.
ComplexAttachmentMessageForm
public ComplexAttachmentMessageForm()
getAttachment
public org.apache.struts.upload.FormFile getAttachment()
- Get the attachment file.
setAttachment
public void setAttachment(org.apache.struts.upload.FormFile attachment)
- Set the attachment file.
reset
public void reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
- Reset form variables.
- Specified by:
reset in interface com.RuntimeCollective.webapps.form.BeanForm- Overrides:
reset in class ComplexMessageForm
populateForm
public void populateForm(com.RuntimeCollective.bboard.bean.Message bean)
- Populates this form from the bean
- Overrides:
populateForm in class ComplexMessageForm
populateBean
public com.RuntimeCollective.bboard.bean.Message populateBean(com.RuntimeCollective.bboard.bean.Message bean)
- Populate an AttachmentMessage bean from this form.
- Overrides:
populateBean in class ComplexMessageForm