java.lang.Object
org.apache.struts.action.ActionForm
com.RuntimeCollective.sitemap.form.TemplateForm
com.RuntimeCollective.vanilla.form.NewsletterTemplateForm
- All Implemented Interfaces:
- com.RuntimeCollective.webapps.form.BeanForm, java.io.Serializable
- public class NewsletterTemplateForm
- extends com.RuntimeCollective.sitemap.form.TemplateForm
The TemplateForm to use for the Newsletter Template.
- Version:
- $Id: NewsletterTemplateForm.java,v 1.3 2003/09/30 15:13:03 joe Exp $
| Fields inherited from class com.RuntimeCollective.sitemap.form.TemplateForm |
action, FALSE, HTTP_PREFIX, MAX_CAPTION_LENGTH, MAX_NAME_LENGTH, MAX_TCTITLE_LENGTH, MAX_TITLE_LENGTH, Name, OfInterest, ShowLinksToChildrenNodes, Submit, Title, TRUE |
| Methods inherited from class com.RuntimeCollective.sitemap.form.TemplateForm |
getFormAction, getName, getOfInterest, getShowLinksToChildrenNodes, getSubmit, getTitle, populateBean, populateBeanImage, populateBeanTextComponent, populateForm, populateFormImage, populateFormTextComponent, setFormAction, setName, setOfInterest, setShowLinksToChildrenNodes, setSubmit, setTitle, updateNeedsSaving, validateImage, validateName, validateTextComponent, validateTitle |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NewsletterTemplateForm
public NewsletterTemplateForm()
populateForm
public void populateForm(com.RuntimeCollective.sitemap.bean.ContentSiteLocation bean)
- Populate this form from a bean.
populateBean
public com.RuntimeCollective.sitemap.bean.ContentSiteLocation populateBean(com.RuntimeCollective.sitemap.bean.ContentSiteLocation bean)
- Populate a bean from this form.
reset
public void reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
- Reset form variables.
validate
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
- Validate the form details. This returns the following error codes:
error.ContentSiteLocation.NameTooLong
error.ContentSiteLocation.NameEmpty