com.silverpeas.form
Class AbstractFormTest.MyFormImpl
java.lang.Object
com.silverpeas.form.AbstractForm
com.silverpeas.form.AbstractFormTest.MyFormImpl
- All Implemented Interfaces:
- Form
- Enclosing class:
- AbstractFormTest
public class AbstractFormTest.MyFormImpl
- extends AbstractForm
A simple implementation of the AbstractForm class in order to test the method implemented by
the abstract class.
| Methods inherited from class com.silverpeas.form.AbstractForm |
display, displayScripts, getData, getFieldTemplates, getFormName, getName, getSureField, getTitle, isEmpty, isViewForm, setData, setFormName, setName, setTitle, setViewForm, update, update, updateWysiwyg |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractFormTest.MyFormImpl
public AbstractFormTest.MyFormImpl(RecordTemplate recordTemplate)
throws Exception
- Throws:
Exception
display
public void display(javax.servlet.jsp.JspWriter out,
PagesContext pagesContext,
DataRecord record)
- Specified by:
display in interface Form- Specified by:
display in class AbstractForm
toScript
protected String toScript()
- The result expected by the displayScripts method of the AbstractForm class.
- Returns:
- the expected result of AbstractForm#displayScripts method
toString
public String toString(PagesContext pageContext,
DataRecord dataRecord)
Copyright © 2016 Silverpeas. All Rights Reserved.