jacquard 1.12.0 by The Web Engineering Factory and Toolworks

uk.co.weft.event
Class Event

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byuk.co.weft.maybeupload.MaybeUploadServlet
              extended byuk.co.weft.htform.Servlet
                  extended byuk.co.weft.htform.WithExceptionHandlerServlet
                      extended byuk.co.weft.htform.Page
                          extended byuk.co.weft.htform.Form
                              extended byuk.co.weft.htform.AuthenticatedForm
                                  extended byuk.co.weft.htform.TableWrapperForm
                                      extended byuk.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.AuthenticatedForm
allowLogout, ALLOWLOGOUTCONFIGTOKEN, AUTHENTICATEDUSERMAGICTOKEN, authenticator, AUTHENTICATORCLASSMAGICTOKEN, authentificationWidgets, logoutPrompt, LOGOUTPROMPTCONFIGTOKEN, logoutWidget, onLogoutRedirect
 
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.WithExceptionHandlerServlet
EXCEPTIONHANDLERCLASSCONFIGTOKEN
 
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
 
Fields inherited from class uk.co.weft.maybeupload.MaybeUploadServlet
allowOverwrite, maxUpload, saveUploadedFilesToDisk, silentlyRename, uploadDir, uploadDirPath, uploadDirURL
 
Fields inherited from interface uk.co.weft.htform.ResourceConsumer
RESOURCEBUNDLEMAGICTOKEN
 
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.AuthenticatedForm
login
 
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.WithExceptionHandlerServlet
whinge, whinge, whinge
 
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 uk.co.weft.maybeupload.MaybeUploadServlet
doDelete, doHead, doOptions, doPut, doTrace, getUploadDir, getUploadURL, service
 
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
 
Methods inherited from interface uk.co.weft.domutil.DocumentGenerator
destroy
 

Field Detail

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
Constructor Detail

Event

public Event()
Method Detail

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

jacquard 1.12.0 by The Web Engineering Factory and Toolworks