|
|||||||||
| Home >> All >> com >> RuntimeCollective >> sitemap >> [ form overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.RuntimeCollective.sitemap.form
Class RotatingContentStateForm

java.lang.Objectorg.apache.struts.action.ActionForm
com.RuntimeCollective.sitemap.form.RotatingContentStateForm
- All Implemented Interfaces:
- com.RuntimeCollective.webapps.form.BeanForm, java.io.Serializable
- public class RotatingContentStateForm
- extends org.apache.struts.action.ActionForm
- implements com.RuntimeCollective.webapps.form.BeanForm
- extends org.apache.struts.action.ActionForm
This form can be used to edit individual states of a Rotating Content.
That is, a ContentSiteLocation can be configured to have a Rotating Content,
under a given mapping name (eg "rotatingBox2").
RotatingContent is not a type of content per se, it is instead made of a list
of individual states, each state being a TextComponent, plus some links, plus
whether is should show links to the CSL's sub-pages.
This form lets you edit such a state.
- Version:
- $Id: RotatingContentStateForm.java,v 1.4 2003/09/30 15:13:01 joe Exp $
| Field Summary | |
protected java.lang.String |
action
What the form is used for: edit : make changes and save them preview: make changes, save them, and preview the page |
protected int |
ContentSiteLocationId
The ContentSiteLocationId |
protected int |
Position
The Position |
protected java.lang.String |
Role
The Role |
protected boolean |
ShowLinksToChildrenNodes
The ShowLinksToChildrenNodes |
protected java.lang.String |
Text
The Text |
protected boolean |
TextIsHtml
The TextIsHtml |
protected java.lang.String |
Title
The Title |
| Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
| Constructor Summary | |
RotatingContentStateForm()
|
|
| Method Summary | |
int |
getContentSiteLocationId()
Get the ContentSiteLocationId |
java.lang.String |
getFormAction()
Get whether the form's action |
int |
getPosition()
Get the Position |
java.lang.String |
getRole()
Get the Role |
boolean |
getShowLinksToChildrenNodes()
Get the ShowLinksToChildrenNodes |
java.lang.String |
getText()
Get the Text |
boolean |
getTextIsHtml()
Get the TextIsHtml |
java.lang.String |
getTitle()
Get the Title |
com.RuntimeCollective.sitemap.bean.ContentSiteLocation |
populateBean(com.RuntimeCollective.sitemap.bean.ContentSiteLocation bean)
Populate a bean from this form. |
com.RuntimeCollective.webapps.bean.EntityBean |
populateBean(com.RuntimeCollective.webapps.bean.EntityBean bean)
Wrapper for populateBean |
void |
populateForm()
Populate completely this Form, once its ContentSiteLocationId, Role and Position are specified |
void |
populateForm(com.RuntimeCollective.sitemap.bean.ContentSiteLocation bean)
Populate this form from a bean. |
void |
populateForm(com.RuntimeCollective.webapps.bean.EntityBean bean)
Wrapper for populateForm |
void |
reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Reset form variables. |
void |
setContentSiteLocationId(int ContentSiteLocationId)
Set the ContentSiteLocationId |
void |
setFormAction(java.lang.String action)
Set whether the form's action |
void |
setPosition(int position)
Set the Position |
void |
setRole(java.lang.String role)
Set the Role |
void |
setShowLinksToChildrenNodes(boolean showLinksToChildrenNodes)
Set the ShowLinksToChildrenNodes |
void |
setText(java.lang.String text)
Set the Text |
void |
setTextIsHtml(boolean textIsHtml)
Set the TextIsHtml |
void |
setTitle(java.lang.String title)
Set the Title |
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 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 |
action
protected java.lang.String action
- What the form is used for:
edit : make changes and save them
preview: make changes, save them, and preview the page
Title
protected java.lang.String Title
- The Title
Text
protected java.lang.String Text
- The Text
TextIsHtml
protected boolean TextIsHtml
- The TextIsHtml
ShowLinksToChildrenNodes
protected boolean ShowLinksToChildrenNodes
- The ShowLinksToChildrenNodes
ContentSiteLocationId
protected int ContentSiteLocationId
- The ContentSiteLocationId
Role
protected java.lang.String Role
- The Role
Position
protected int Position
- The Position
| Constructor Detail |
RotatingContentStateForm
public RotatingContentStateForm()
| Method Detail |
getFormAction
public java.lang.String getFormAction()
- Get whether the form's action
- Specified by:
getFormActionin interfacecom.RuntimeCollective.webapps.form.BeanForm
setFormAction
public void setFormAction(java.lang.String action)
- Set whether the form's action
- Specified by:
setFormActionin interfacecom.RuntimeCollective.webapps.form.BeanForm
setTitle
public void setTitle(java.lang.String title)
- Set the Title
getTitle
public java.lang.String getTitle()
- Get the Title
setText
public void setText(java.lang.String text)
- Set the Text
getText
public java.lang.String getText()
- Get the Text
setTextIsHtml
public void setTextIsHtml(boolean textIsHtml)
- Set the TextIsHtml
getTextIsHtml
public boolean getTextIsHtml()
- Get the TextIsHtml
setShowLinksToChildrenNodes
public void setShowLinksToChildrenNodes(boolean showLinksToChildrenNodes)
- Set the ShowLinksToChildrenNodes
getShowLinksToChildrenNodes
public boolean getShowLinksToChildrenNodes()
- Get the ShowLinksToChildrenNodes
setContentSiteLocationId
public void setContentSiteLocationId(int ContentSiteLocationId)
- Set the ContentSiteLocationId
getContentSiteLocationId
public int getContentSiteLocationId()
- Get the ContentSiteLocationId
setRole
public void setRole(java.lang.String role)
- Set the Role
getRole
public java.lang.String getRole()
- Get the Role
setPosition
public void setPosition(int position)
- Set the Position
getPosition
public int getPosition()
- Get the Position
populateForm
public void populateForm(com.RuntimeCollective.webapps.bean.EntityBean bean)
- Wrapper for populateForm
- Specified by:
populateFormin interfacecom.RuntimeCollective.webapps.form.BeanForm
populateForm
public void populateForm(com.RuntimeCollective.sitemap.bean.ContentSiteLocation bean)
- Populate this form from a bean.
populateForm
public void populateForm()
- Populate completely this Form,
once its ContentSiteLocationId, Role and Position are specified
populateBean
public com.RuntimeCollective.webapps.bean.EntityBean populateBean(com.RuntimeCollective.webapps.bean.EntityBean bean)
- Wrapper for populateBean
- Specified by:
populateBeanin interfacecom.RuntimeCollective.webapps.form.BeanForm
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.
- Specified by:
resetin interfacecom.RuntimeCollective.webapps.form.BeanForm
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.RotatingContentTitleTooLong
|
|||||||||
| Home >> All >> com >> RuntimeCollective >> sitemap >> [ form overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC