cmu.survey.jsp.tags
Class SurveyBlank

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by cmu.survey.jsp.tags.DatabaseConnection
          extended by cmu.survey.jsp.tags.Survey
              extended by cmu.survey.jsp.tags.SurveyBlank
All Implemented Interfaces:
SurveyDataCache, java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally
Direct Known Subclasses:
SurveyPage

public class SurveyBlank
extends Survey

Use this when you want to use SurveyPage, but with more automatically done for you. That's currently just one bit -- the userIDField is set for you.

See Also:
Serialized Form

Field Summary
static java.lang.String DEFAULT_USER_ID_FIELD
           
 
Fields inherited from class cmu.survey.jsp.tags.Survey
BackgroundColor1Default, BackgroundColor2Default, clearBackgroundColorDefault, countTimesVisitingPageField, createUsersAtLogin, databaseQuery, dataStorage, debug, deleteImage, deleteImageDown, deleteImageRollover, emailResultsSubjectLine, emailResultsTo, fontSize, fontSizeDefault, HeaderBackgroundColorDefault, ignoreWrongTechniqueError, isLoginPage, neverMakeNewRecord, nextPage, nextPageIfDeleteOrAdd, pageToLoginTo, pageToRedirectToWhenLoginError, pageWidth, pageWidthDefault, percentQuestion, printErrorMessagesInline, QUESTION_INFO_CACHE_STRING, questionsAndInfo, rememberPageUserIsOn, repeatedMeasureDbField, repeatedMeasureValueNumber, repeatedMeasureValueString, retrieveValuesFromDB, showDeleteButton, showSubmitButton, showSubmitButtonOnlyIfNoJavaScript, showUserErrorMessage, skippedBody, submitImage, submitImageDown, submitImageRollover, table, tableToVerifyLoginTo, userHasSetRetrieveValuesFromDB, userHasSetShowDeleteButton, userIDField, userIDValue, where, whereWasSetByUser
 
Fields inherited from class cmu.survey.jsp.tags.DatabaseConnection
databaseConnectionString, databaseType, MS_ACCESS, MYSQL, ODBC, out, session, theConnect, theRequest
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
SurveyBlank()
           
 
Method Summary
 boolean initializeAtStartTag()
           
 void reinit()
           
 
Methods inherited from class cmu.survey.jsp.tags.Survey
addQuestionInfoToHistory, addToWhereForAuxillaryFeatureQuestion, cleanStringValueForApostrophesOnly, doDataStuff, doEndTag, doStartTag, getAuxillaryFeatureQuestions, getBackgroundColor1, getBackgroundColor2, getCachedDataByPage, getCachedDataIgnoringPage, getClearBackgroundColor, getCreateUsersAtLogin, getCurrentPageSaveInfo, getCurrentPageURLFromPageSaveInfo, getDataBitStorage, getDataStorage, getDataTable, getDeleteImage, getDeleteImageDown, getDeleteImageRollover, getEmailResultsSubjectLine, getEmailResultsTo, getFontSize, getHeaderBackgroundColor, getIsLoginPage, getLastBackgroundColorAlternation, getLastQuestionInHistory, getLoginPageString, getNeverMakeNewRecord, getNextPage, getNextPageIfDeleteOrAdd, getPageContext, getPageToLoginTo, getPageToRedirectToWhenLoginError, getPageWidth, getPercentQuestion, getPrintErrorMessagesInline, getRememberPageUserIsOn, getRepeatedMeasureDbField, getRepeatedMeasureVariable, getRetrieveValuesFromDB, getSavedLoginInfo, getSessionPageString, getSessionVariableByPage, getSessionVariableFromLoginPage, getShowAMessageAboutSubmission, getShowDeleteButton, getShowSubmitButton, getShowSubmitButtonOnlyIfNoJavaScript, getSubmitButtonText, getSubmitImage, getSubmitImageDown, getSubmitImageRollover, getTable, getTableStorage, getTableToVerifyLoginTo, getTimeResponses, getUserIDField, getWhere, goToNextPage, isIgnoreWrongTechniqueError, isShowUserErrorMessages, isUserIDValueANumber, makeAutomaticLoginInfo, saveErrorInfo, saveErrorInfo, saveLoginInfo, setBackgroundColor1, setBackgroundColor2, setCachedDataByPage, setCachedDataIgnoringPage, setClearBackgroundColor, setCountTimesVisitingPageField, setCreateUsersAtLogin, setDeleteImage, setDeleteImageDown, setDeleteImageRollover, setEmailResultsSubjectLine, setEmailResultsTo, setHeaderBackgroundColor, setIgnoreWrongTechniqueError, setIsLoginPage, setLastBackgroundColorAlternation, setNeverMakeNewRecord, setNextPage, setNextPageIfDeleteOrAdd, setPageToLoginTo, setPageToRedirectToWhenLoginError, setPageWidth, setPercentQuestion, setPrintErrorMessagesInline, setRememberPageUserIsOn, setRepeatedMeasureDbField, setRepeatedMeasureNumber, setRepeatedMeasureValue, setRepeatedMeasureValue, setRepeatedMeasureValue, setRepeatedMeasureVariable, setRetrieveValuesFromDB, setSessionVariableFromLoginPage, setShowAMessageAboutSubmission, setShowDeleteButton, setShowSubmitButton, setShowSubmitButtonOnlyIfNoJavaScript, setShowUserErrorMessages, setSubmitButtonText, setSubmitImage, setSubmitImageDown, setSubmitImageRollover, setTable, setTableToVerifyLoginTo, setTimeResponses, setUserIDField, setWhere, showAMessage
 
Methods inherited from class cmu.survey.jsp.tags.DatabaseConnection
checkSQLFieldValid, cleanString, cleanStringBetter, cleanStringThatShouldHaveBeenClean, close, doCatch, doConnection, doFinally, finalize, getConnect, getDatabaseConnectionFrom, getDatabaseName, getDatabaseProgramName, getDatabaseType, getDebuggingInfo, getHelpURL, getLastExceptionThrown, getMySqlDatabaseHost, getMySqlDatabaseName, getMySqlDatabasePassword, getMySqlDatabaseUser, getSession, getThisFolderURL, getThisFullURL, getURLFileName, isOpen, parseAndCleanNumberStringThatShouldHaveBeenClean, parseAndCleanNumberStringThatShouldHaveBeenCleanStatic, saveBugMessage, saveBugMessage, saveNotificationMessage, saveNotificationMessage, setDatabaseName, setHttpServletRequest, setLastExceptionThrownToNull, setPageContext, setSendErrorMessages
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_USER_ID_FIELD

public static final java.lang.String DEFAULT_USER_ID_FIELD
See Also:
Constant Field Values
Constructor Detail

SurveyBlank

public SurveyBlank()
Method Detail

initializeAtStartTag

public boolean initializeAtStartTag()
Overrides:
initializeAtStartTag in class DatabaseConnection

reinit

public void reinit()
Overrides:
reinit in class Survey