uk.co.weft.event
Class Event
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
uk.co.weft.maybeupload.MaybeUploadServlet
uk.co.weft.htform.Servlet
uk.co.weft.htform.WithExceptionHandlerServlet
uk.co.weft.htform.Page
uk.co.weft.htform.Form
uk.co.weft.htform.AuthenticatedForm
uk.co.weft.htform.TableWrapperForm
uk.co.weft.event.Event
- All Implemented Interfaces:
- DocumentGenerator, ResourceConsumer, java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class Event
- extends TableWrapperForm
A form for editing an event. A typical example of a Jacquard form, based on
TableWrapperForm and wrapped round a database table.
- Version:
- $Revision: 1.16.4.3 $ This revision: $Author: simon $
- Author:
- Simon Brooke
- See Also:
- Serialized Form
|
Field Summary |
static java.lang.String |
DATEFN
the name of my date field |
static java.lang.String |
DESCRIPTIONFN
the name of my dsecription field |
static java.lang.String |
ENDFN
the name of my end time field |
static java.lang.String |
KEYFN
fields in my table: the key field |
static java.lang.String |
NAMEFN
the name of my name field |
static java.lang.String |
STARTFN
the name of my start time field |
static java.lang.String |
TABLENAME
the name of my table |
| Fields inherited from class uk.co.weft.htform.TableWrapperForm |
allowDelete, confirmBeforeDelete, confirmDeletionToken, CONFIRMDELETIONTOKEN, deletedToken, DELETEDTOKEN, deleteWidget, identField, identWidget, keyField, maybeDeleteWidgets, onDropRedirect, ONDROPREDIRECTCONFIGTOKEN, onStoreRedirect, ONSTOREREDIRECTCONFIGTOKEN, storedToken, STOREDTOKEN, STOREFAILEDTOKEN, storeFailToken, table, tableDescriptor, updateWidget |
| Fields inherited from class uk.co.weft.htform.Form |
action, actionExecutedToken, ACTIONEXECUTEDTOKEN, auxiliaries, contextMenuMagicToken, CONTEXTMENUMAGICTOKEN, cssHelp, CSSHELP, cssPrompt, CSSPROMPT, defaultScriptBase, mandatoryPrompt, MIN_WIDGETS, onloadFunctionToken, ONLOADFUNCTIONTOKEN, optionalPrompt, selectedWidgetSetMagicToken, SELECTEDWIDGETSETMAGICTOKEN, showHeadline, submitMethod, SUBMITMETHODCONFIGTOKEN, SUBMITMETHODGET, SUBMITMETHODPOST, validationWhingeToken, VALIDATIONWHINGETOKEN, whingeHeader, widgets, widgetSets |
| Fields inherited from class uk.co.weft.htform.Page |
DOCTYPECONFIGTOKEN, dynamicFootInclude, dynamicHeadInclude, footInclude, footIncludeURL, headInclude, headIncludeURL, imageUrlBase, layout, printStylesheet, PRINTSTYLESHEETCONFIGTOKEN, stylesheet, STYLESHEETCONFIGTOKEN, title, titleMagicToken, TITLEMAGICTOKEN |
| Fields inherited from class uk.co.weft.htform.Servlet |
calendar, conf, contentType, CONTENTTYPECONFIGTOKEN, cookieDomain, cookiePath, COOKIESCONFIGTOKEN, cookieTTL, dbPassword, dbUrl, dbUsername, debug, DEBUGCONFIGTOKEN, driverName, embedded, here, identity, localeMagicToken, LOCALEMAGICTOKEN, outputStreamMagicToken, OUTPUTSTREAMMAGICTOKEN, parsePathInfo, PATHINFOMAGICTOKEN, ready, redirectMagicToken, REDIRECTMAGICTOKEN, requestMagicToken, REQUESTMAGICTOKEN, resourceBundleName, responseMagicToken, RESPONSEMAGICTOKEN, servletMagicToken, SERVLETMAGICTOKEN, sessionMagicToken, SESSIONMAGICTOKEN, USEHTTPSCONFIGTOKEN, zone |
|
Constructor Summary |
Event()
|
|
Method Summary |
void |
init(Context config)
Principally, set up my widgets |
| Methods inherited from class uk.co.weft.htform.TableWrapperForm |
defaultActionHandler, drop, drop, drop, fetch, getDescriptor, getTitle, identify, inferKey, logout, makeReady, store, store |
| Methods inherited from class uk.co.weft.htform.Form |
addAuxiliary, addWidget, doBody, doHead, doHeadBodySep, fixupMagicValues, generate, getLayout, getNextActionURL, getSelectedWidgetSet, getTransformURL, getWidgetSetByName, handleAction, hasWidgets, postForm, postProcess, preForm, preProcess, selectNextWidgetSet, setContextMenuQuery |
| Methods inherited from class uk.co.weft.htform.Page |
doFoot, doFoot, generateContent, getFootInclude, getFootIncludeURL, getFootIncludeURL, getHeadInclude, getHeadIncludeURL, getHeadIncludeURL, getStylesheet, getStylesheets, getTables, getTitle, outputRedirectBlock, readStringFromURL |
| Methods inherited from class uk.co.weft.htform.Servlet |
addCookie, addCookie, coerceCookiesToContext, coerceToContext, coerceToContext, coerceToContext, coerceToContext, coerceToUrl, createContext, doGet, doPost, getCalendar, getContentType, getDebug, getLocale, getOutputStream, getResource, getResourceString, getServletInfo, grs, grs, handleCookies, handleRedirect, init, setCookieValues, storeOnSession |
| Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service |
| Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TABLENAME
public static final java.lang.String TABLENAME
- the name of my table
- See Also:
- Constant Field Values
NAMEFN
public static final java.lang.String NAMEFN
- the name of my name field
- See Also:
- Constant Field Values
DESCRIPTIONFN
public static final java.lang.String DESCRIPTIONFN
- the name of my dsecription field
- See Also:
- Constant Field Values
STARTFN
public static final java.lang.String STARTFN
- the name of my start time field
- See Also:
- Constant Field Values
ENDFN
public static final java.lang.String ENDFN
- the name of my end time field
- See Also:
- Constant Field Values
DATEFN
public static final java.lang.String DATEFN
- the name of my date field
- See Also:
- Constant Field Values
KEYFN
public static final java.lang.String KEYFN
- fields in my table: the key field
- See Also:
- Constant Field Values
Event
public Event()
init
public void init(Context config)
throws InitialisationException
- Principally, set up my widgets
- Specified by:
init in interface DocumentGenerator- Overrides:
init in class TableWrapperForm
- Parameters:
config - My servlet configuration.
- Throws:
InitialisationException