Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.RuntimeCollective.vanilla.form
Class WebsiteSubsectionForm  view WebsiteSubsectionForm download WebsiteSubsectionForm.java

java.lang.Object
  extended byorg.apache.struts.action.ActionForm
      extended bycom.RuntimeCollective.sitemap.form.SubsectionForm
          extended bycom.RuntimeCollective.vanilla.form.WebsiteSubsectionForm
All Implemented Interfaces:
com.RuntimeCollective.webapps.form.BeanForm, java.io.Serializable

public class WebsiteSubsectionForm
extends com.RuntimeCollective.sitemap.form.SubsectionForm

A form for editing the very basic details of a new Subsection

Version:
$Id: WebsiteSubsectionForm.java,v 1.3 2003/09/30 15:13:03 joe Exp $

Field Summary
protected  java.lang.String Stylesheet
          The Stylesheet: we store this in the Title of the SiteNodes, hack.
 
Fields inherited from class com.RuntimeCollective.sitemap.form.SubsectionForm
action, ParentId, SectionName
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
WebsiteSubsectionForm()
           
 
Method Summary
 java.lang.String getStylesheet()
          Get the Stylesheet
 com.RuntimeCollective.sitemap.bean.SiteNode populateBean(com.RuntimeCollective.sitemap.bean.SiteNode bean)
          Populate a bean from this form.
 void populateForm(com.RuntimeCollective.sitemap.bean.SiteNode bean)
          Populate this form from a bean.
 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Reset form variables.
 void setStylesheet(java.lang.String stylesheet)
          Set the Stylesheet
 org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Validate the form details.
 
Methods inherited from class com.RuntimeCollective.sitemap.form.SubsectionForm
getFormAction, getParent, getParentId, getSectionName, populateBean, populateForm, setFormAction, setParentId, setSectionName
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Stylesheet

protected java.lang.String Stylesheet
The Stylesheet: we store this in the Title of the SiteNodes, hack.

Constructor Detail

WebsiteSubsectionForm

public WebsiteSubsectionForm()
Method Detail

setStylesheet

public void setStylesheet(java.lang.String stylesheet)
Set the Stylesheet


getStylesheet

public java.lang.String getStylesheet()
Get the Stylesheet


populateForm

public void populateForm(com.RuntimeCollective.sitemap.bean.SiteNode bean)
Populate this form from a bean.


populateBean

public com.RuntimeCollective.sitemap.bean.SiteNode populateBean(com.RuntimeCollective.sitemap.bean.SiteNode 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.Subsection.StylesheetNull