|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagSupport cmu.survey.jsp.tags.DatabaseConnection cmu.survey.jsp.tags.Survey
public class Survey
Survey
is the main tag to go around all surveys/webforms you make.
Here's some sample code:
<%@ taglib uri="/WEB-INF/SurveyTags.tld" prefix="survey" %>
<survey:survey databaseName="<%=databaseName%>" table="tbladmin">
</survey:survey>
Survey's
superclass, DatabaseConnection
, takes care of starting up the database. See it for info on how to connect to a database with the parameter databaseName
.
Choose the table you want to save/load the data into with the "table" field. Every other parameter is optional.
Between the <survey:survey>
and </survey:survey>
you can put as many Question
s as you want.
Field Summary | |
---|---|
static java.lang.String |
BackgroundColor1Default
|
static java.lang.String |
BackgroundColor2Default
|
static java.lang.String |
clearBackgroundColorDefault
|
protected java.lang.String |
countTimesVisitingPageField
|
protected boolean |
createUsersAtLogin
|
protected DatabaseQuery |
databaseQuery
|
protected DataStorage |
dataStorage
|
protected static boolean |
debug
|
protected java.lang.String |
deleteImage
|
protected java.lang.String |
deleteImageDown
|
protected java.lang.String |
deleteImageRollover
|
protected java.lang.String |
emailResultsSubjectLine
|
protected java.lang.String |
emailResultsTo
|
protected int |
fontSize
|
protected static int |
fontSizeDefault
|
static java.lang.String |
HeaderBackgroundColorDefault
|
protected boolean |
ignoreWrongTechniqueError
|
protected boolean |
isLoginPage
|
protected boolean |
neverMakeNewRecord
|
protected java.lang.String |
nextPage
|
protected java.lang.String |
nextPageIfDeleteOrAdd
|
protected java.lang.String |
pageToLoginTo
|
protected java.lang.String |
pageToRedirectToWhenLoginError
|
protected int |
pageWidth
|
protected static int |
pageWidthDefault
|
protected int |
percentQuestion
|
protected boolean |
printErrorMessagesInline
|
static java.lang.String |
QUESTION_INFO_CACHE_STRING
|
protected java.util.Vector |
questionsAndInfo
|
protected boolean |
rememberPageUserIsOn
|
protected java.lang.String |
repeatedMeasureDbField
|
protected java.lang.Number |
repeatedMeasureValueNumber
|
protected java.lang.String |
repeatedMeasureValueString
|
protected boolean |
retrieveValuesFromDB
|
protected boolean |
showDeleteButton
|
protected boolean |
showSubmitButton
UI Design/Cosmetic Options |
protected boolean |
showSubmitButtonOnlyIfNoJavaScript
|
protected boolean |
showUserErrorMessage
|
protected boolean |
skippedBody
|
protected java.lang.String |
submitImage
|
protected java.lang.String |
submitImageDown
|
protected java.lang.String |
submitImageRollover
|
protected java.lang.String |
table
|
protected java.lang.String |
tableToVerifyLoginTo
|
protected boolean |
userHasSetRetrieveValuesFromDB
|
protected boolean |
userHasSetShowDeleteButton
|
protected java.lang.String |
userIDField
|
protected java.lang.String |
userIDValue
|
protected java.lang.String |
where
|
protected boolean |
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 | |
---|---|
Survey()
|
Method Summary | |
---|---|
void |
addQuestionInfoToHistory(QuestionInfo questionInfo)
|
protected void |
addToWhereForAuxillaryFeatureQuestion(HiddenQuestion q)
Change parameters for the where and for what data to pull from the databases |
static java.lang.String |
cleanStringValueForApostrophesOnly(java.lang.String sqlString)
We clean this string by clearing out all values that need to be escaped out. |
protected int |
doDataStuff()
Does: (a) Check whether the user's logged in (b) Log in the user if not logged in (and if so, go to the next page) (c) Save data to the database if the user submitted data (and if so, go to the next page) (d) Initialize the database for loading answers, etc. |
int |
doEndTag()
This function closes the connection when the ending tag is encountered |
int |
doStartTag()
This function opens a connection to the requested database when the tag is first encountered |
protected java.util.Vector<Question> |
getAuxillaryFeatureQuestions()
This initialized special features after logging in, but before doing questions. |
java.lang.String |
getBackgroundColor1()
|
java.lang.String |
getBackgroundColor2()
|
java.lang.Object |
getCachedDataByPage(java.lang.String key)
|
java.lang.Object |
getCachedDataIgnoringPage(java.lang.String key)
|
java.lang.String |
getClearBackgroundColor()
|
boolean |
getCreateUsersAtLogin()
|
protected java.lang.String |
getCurrentPageSaveInfo()
For saving which page we're on. |
protected java.lang.String |
getCurrentPageURLFromPageSaveInfo(java.lang.String pageSaveInfo)
Complements the next method. |
protected DataBitStorage |
getDataBitStorage()
|
DataStorage |
getDataStorage()
|
protected DataTableModel |
getDataTable()
Gets this DataTableModel with getTable() (this page of the survey) and knowing what user ID it is. |
java.lang.String |
getDeleteImage()
|
java.lang.String |
getDeleteImageDown()
|
java.lang.String |
getDeleteImageRollover()
|
java.lang.String |
getEmailResultsSubjectLine()
|
java.lang.String |
getEmailResultsTo()
|
int |
getFontSize()
|
java.lang.String |
getHeaderBackgroundColor()
|
boolean |
getIsLoginPage()
|
int |
getLastBackgroundColorAlternation()
Returns the last alternating background color used -- 0 if we've never used one of the two shades, or 1 or 2, depending upon which shade was useld last. |
QuestionInfo |
getLastQuestionInHistory()
|
protected java.lang.String |
getLoginPageString(java.lang.String attributeName)
Similar to getSessionPageString() |
boolean |
getNeverMakeNewRecord()
|
protected java.lang.String |
getNextPage()
Called to check what the next page is. |
java.lang.String |
getNextPageIfDeleteOrAdd()
|
javax.servlet.jsp.PageContext |
getPageContext()
|
java.lang.String |
getPageToLoginTo()
|
java.lang.String |
getPageToRedirectToWhenLoginError()
|
int |
getPageWidth()
|
int |
getPercentQuestion()
|
boolean |
getPrintErrorMessagesInline()
|
boolean |
getRememberPageUserIsOn()
|
java.lang.String |
getRepeatedMeasureDbField()
Deprecated. Use getRepeatedMeasureVariable instead. |
java.lang.String |
getRepeatedMeasureVariable()
|
boolean |
getRetrieveValuesFromDB()
If you want the form to always be blank, setRetrieveValuesFromDB(false) -- it won't get anything from the database. |
protected LoginInfo |
getSavedLoginInfo()
|
protected java.lang.String |
getSessionPageString(javax.servlet.jsp.PageContext pageContext,
java.lang.String attributeName)
Similar to getLoginPageString(java.lang.String)
May be overridden by subclasses who have a different concept of what this page is, e.g. |
java.lang.Object |
getSessionVariableByPage(java.lang.String attributeName)
|
java.lang.Object |
getSessionVariableFromLoginPage(java.lang.String attributeName)
|
boolean |
getShowAMessageAboutSubmission()
|
boolean |
getShowDeleteButton()
|
boolean |
getShowSubmitButton()
|
boolean |
getShowSubmitButtonOnlyIfNoJavaScript()
|
java.lang.String |
getSubmitButtonText()
|
java.lang.String |
getSubmitImage()
|
java.lang.String |
getSubmitImageDown()
|
java.lang.String |
getSubmitImageRollover()
|
java.lang.String |
getTable()
|
protected TableStorage |
getTableStorage()
|
java.lang.String |
getTableToVerifyLoginTo()
|
boolean |
getTimeResponses()
|
java.lang.String |
getUserIDField()
|
java.lang.String |
getWhere()
|
protected boolean |
goToNextPage()
|
boolean |
isIgnoreWrongTechniqueError()
|
boolean |
isShowUserErrorMessages()
|
protected boolean |
isUserIDValueANumber()
|
protected boolean |
makeAutomaticLoginInfo()
When you want to log in users without having them put in any information on the login page, call this. |
void |
reinit()
|
void |
saveErrorInfo(java.lang.String message)
|
void |
saveErrorInfo(java.lang.String message,
java.lang.Throwable exception)
|
protected void |
saveLoginInfo(LoginInfo loginInfo)
|
void |
setBackgroundColor1(java.lang.String color)
|
void |
setBackgroundColor2(java.lang.String color)
|
void |
setCachedDataByPage(java.lang.String key,
java.lang.Object value)
|
void |
setCachedDataIgnoringPage(java.lang.String key,
java.lang.Object value)
|
void |
setClearBackgroundColor(java.lang.String color)
|
void |
setCountTimesVisitingPageField(java.lang.String fieldToCountIn)
Count the number of times a user visits this page. |
void |
setCreateUsersAtLogin(boolean bool)
Create a user if they try to log in and they don't have an account. |
void |
setDeleteImage(java.lang.String deleteImageName)
Choose the image to put in place of the delete button. |
void |
setDeleteImageDown(java.lang.String deleteImageDownName)
|
void |
setDeleteImageRollover(java.lang.String deleteImageRolloverName)
|
void |
setEmailResultsSubjectLine(java.lang.String subj)
The subject line for the email with the results of this survey. |
void |
setEmailResultsTo(java.lang.String emailAddress)
Send the results of this survey to an email address. |
void |
setHeaderBackgroundColor(java.lang.String color)
|
void |
setIgnoreWrongTechniqueError(boolean ignoreWrongTechniqueError)
|
void |
setIsLoginPage(boolean thisPageIsALogin)
If users need to log in to use your survey, you need a login page, with userid and password as Questions. |
void |
setLastBackgroundColorAlternation(int lastBackgroundColorAlternation)
|
void |
setNeverMakeNewRecord(boolean updateDatabase)
Never insert a new record into the database -- only do UPDATEs on it. |
void |
setNextPage(java.lang.String nextPageInSurvey)
The page to follow this one after submission. |
void |
setNextPageIfDeleteOrAdd(java.lang.String string)
Go on to this page next after the current page is completed and submitted, if there was a delete of a record or an add of a record. |
void |
setPageToLoginTo(java.lang.String pageToRedirectToWhenUserIsNotLoggedIn)
If you want users to log in, but this is not the login page, put the URL to the login page here -- when they're not logged in, it'll forward them to the login page here, and after they log in, return back to this page. |
void |
setPageToRedirectToWhenLoginError(java.lang.String pageToRedirectToWhenLoginError)
|
void |
setPageWidth(int width)
|
void |
setPercentQuestion(int percentOfWidthForQuestion)
|
void |
setPrintErrorMessagesInline(boolean b)
|
void |
setRememberPageUserIsOn(boolean rememberPage)
[not completely implemented yet] Save the page user is currently on in case user leaves survey and comes back later. |
void |
setRepeatedMeasureDbField(java.lang.String string)
Deprecated. |
void |
setRepeatedMeasureNumber(int i)
|
void |
setRepeatedMeasureValue(int i)
The number that will be saved into the repeatedMeasureDBField. |
void |
setRepeatedMeasureValue(java.lang.Number i)
|
void |
setRepeatedMeasureValue(java.lang.String value)
The number that will be saved into the repeatedMeasureDBField. |
void |
setRepeatedMeasureVariable(java.lang.String string)
The name of the field in the database to save the repeated measure variable. |
void |
setRetrieveValuesFromDB(boolean retrieveBoolean)
|
void |
setSessionVariableFromLoginPage(java.lang.String attributeName,
java.lang.Object value)
|
void |
setShowAMessageAboutSubmission(boolean showTheOutputGenericUpdateGenerates)
|
void |
setShowDeleteButton(boolean showADeleteButtonAtBottom)
Allows the user to delete records by clicking a delete button at the bottom of the form. |
void |
setShowSubmitButton(boolean showButtonAtBottom)
Show a submit button at the bottom of the form. |
void |
setShowSubmitButtonOnlyIfNoJavaScript(boolean showButtonAtBottom)
Show a submit button at the bottom of the form only if the browser does not have JavaScript. |
void |
setShowUserErrorMessages(boolean showUserErrorMessage)
|
void |
setSubmitButtonText(java.lang.String submitText)
|
void |
setSubmitImage(java.lang.String submitImageName)
Choose the image to put in place of the submit button. |
void |
setSubmitImageDown(java.lang.String submitImageDownName)
Set the image for a mouse click down on the submit button. |
void |
setSubmitImageRollover(java.lang.String submitImageRolloverName)
Set the image for a rollover for the submit button. |
void |
setTable(java.lang.String tableName)
The table is the table in the SQL database that should be used for loading and saving data. |
void |
setTableToVerifyLoginTo(java.lang.String tableWithLogins)
The table with userids/passwords. |
void |
setTimeResponses(boolean timeResponsesBoolean)
Whether to time the user on how long it takes them to answer each question and the page. |
void |
setUserIDField(java.lang.String userID)
|
void |
setWhere(java.lang.String newWhere)
The "where" goes into the query for the table whenever it is loaded/saved. |
void |
showAMessage(java.lang.String message)
|
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 |
---|
protected java.lang.String table
protected static final boolean debug
protected boolean retrieveValuesFromDB
protected boolean userHasSetRetrieveValuesFromDB
protected boolean neverMakeNewRecord
protected java.lang.String where
protected boolean whereWasSetByUser
protected boolean ignoreWrongTechniqueError
protected boolean isLoginPage
protected boolean createUsersAtLogin
protected java.lang.String tableToVerifyLoginTo
protected java.lang.String pageToLoginTo
protected java.lang.String pageToRedirectToWhenLoginError
protected java.lang.String userIDField
protected java.lang.String userIDValue
protected java.lang.String repeatedMeasureDbField
protected java.lang.Number repeatedMeasureValueNumber
protected java.lang.String repeatedMeasureValueString
protected boolean showUserErrorMessage
public static final java.lang.String HeaderBackgroundColorDefault
public static final java.lang.String BackgroundColor1Default
public static final java.lang.String BackgroundColor2Default
public static java.lang.String clearBackgroundColorDefault
protected java.lang.String countTimesVisitingPageField
setCountTimesVisitingPageField(java.lang.String)
protected java.lang.String emailResultsTo
protected java.lang.String emailResultsSubjectLine
protected java.lang.String nextPage
protected java.lang.String nextPageIfDeleteOrAdd
protected boolean rememberPageUserIsOn
protected boolean skippedBody
protected boolean showSubmitButton
protected boolean showDeleteButton
protected boolean userHasSetShowDeleteButton
protected java.lang.String submitImage
protected java.lang.String submitImageRollover
protected java.lang.String submitImageDown
protected java.lang.String deleteImage
protected java.lang.String deleteImageRollover
protected java.lang.String deleteImageDown
protected java.util.Vector questionsAndInfo
public static final java.lang.String QUESTION_INFO_CACHE_STRING
protected int percentQuestion
protected static int fontSizeDefault
protected int fontSize
protected static int pageWidthDefault
protected int pageWidth
protected boolean showSubmitButtonOnlyIfNoJavaScript
protected DatabaseQuery databaseQuery
protected DataStorage dataStorage
protected boolean printErrorMessagesInline
Constructor Detail |
---|
public Survey()
Method Detail |
---|
public java.lang.String getTable()
setTable(String tableName)
public void setTable(java.lang.String tableName)
public java.lang.String getWhere()
setWhere(java.lang.String)
public void setWhere(java.lang.String newWhere)
public boolean getRetrieveValuesFromDB()
setRetrieveValuesFromDB(false)
-- it won't get anything from the database.setRetrieveValuesFromDB(false)
.
Default: true
public void setRetrieveValuesFromDB(boolean retrieveBoolean)
public boolean getTimeResponses()
setTimeResponses(boolean)
public void setCountTimesVisitingPageField(java.lang.String fieldToCountIn)
<survey:survey ... countTimesVisitingPageField="fieldInDatabase" ...>
</survey:survey>
public void setEmailResultsTo(java.lang.String emailAddress)
<survey:survey ... emailResultsTo="email@email.com" ...>
</survey:survey>
public java.lang.String getEmailResultsTo()
public boolean isIgnoreWrongTechniqueError()
public void setIgnoreWrongTechniqueError(boolean ignoreWrongTechniqueError)
ignoreWrongTechniqueError
- The ignoreWrongTechniqueError to set.public void setEmailResultsSubjectLine(java.lang.String subj)
<survey:survey ... emailResultsTo="email@email.com" emailResultsSubjectLine="Big Car Survey" ...>
</survey:survey>
public java.lang.String getEmailResultsSubjectLine()
public void setTimeResponses(boolean timeResponsesBoolean)
getTable()
with a field titled "number_timeSpent"
"number"+timeResponsesAppendix
(by default, this would be "number_timeSpent"
must exist in your table before you use this method! Otherwise it will throw various exceptions.Question.getField()+timeResponsesAppendix
public boolean getNeverMakeNewRecord()
public void setNeverMakeNewRecord(boolean updateDatabase)
public java.lang.String getRepeatedMeasureDbField()
setRepeatedMeasureDbField(String)
public java.lang.String getRepeatedMeasureVariable()
setRepeatedMeasureVariable(String)
public void setRepeatedMeasureDbField(java.lang.String string)
setRepeatedMeasureVariable(String)
public void setRepeatedMeasureVariable(java.lang.String string)
setRepeatedMeasureNumber(int)
public void setRepeatedMeasureNumber(int i)
i
- setRepeatedMeasureDbField(String)
public void setRepeatedMeasureValue(java.lang.Number i)
public void setRepeatedMeasureValue(int i)
setRepeatedMeasureDbField(String)
for details and an example.
i
- setRepeatedMeasureDbField(String)
public void setRepeatedMeasureValue(java.lang.String value)
setRepeatedMeasureDbField(String)
for details and an example.
i
- setRepeatedMeasureDbField(String)
public boolean getShowSubmitButton()
public void setShowSubmitButton(boolean showButtonAtBottom)
public boolean getShowSubmitButtonOnlyIfNoJavaScript()
public void setShowSubmitButtonOnlyIfNoJavaScript(boolean showButtonAtBottom)
public boolean getShowDeleteButton()
public void setShowDeleteButton(boolean showADeleteButtonAtBottom)
public java.lang.String getSubmitImage()
public void setSubmitImage(java.lang.String submitImageName)
public java.lang.String getSubmitImageRollover()
public void setSubmitImageRollover(java.lang.String submitImageRolloverName)
setSubmitImage(java.lang.String)
public java.lang.String getSubmitImageDown()
public void setSubmitImageDown(java.lang.String submitImageDownName)
setSubmitImage(java.lang.String)
public java.lang.String getDeleteImage()
public void setDeleteImage(java.lang.String deleteImageName)
public java.lang.String getDeleteImageRollover()
public void setDeleteImageRollover(java.lang.String deleteImageRolloverName)
public java.lang.String getDeleteImageDown()
public void setDeleteImageDown(java.lang.String deleteImageDownName)
public int getPageWidth()
public void setPageWidth(int width)
public int getPercentQuestion()
public void setPercentQuestion(int percentOfWidthForQuestion)
public int getFontSize()
public java.lang.String getHeaderBackgroundColor()
public java.lang.String getBackgroundColor1()
public java.lang.String getBackgroundColor2()
public java.lang.String getClearBackgroundColor()
public void setHeaderBackgroundColor(java.lang.String color)
public void setBackgroundColor1(java.lang.String color)
public void setBackgroundColor2(java.lang.String color)
public void setClearBackgroundColor(java.lang.String color)
public int getLastBackgroundColorAlternation()
public void setLastBackgroundColorAlternation(int lastBackgroundColorAlternation)
lastBackgroundColorAlternation
- The lastBackgroundColorAlternation to set.public java.lang.String getSubmitButtonText()
public void setSubmitButtonText(java.lang.String submitText)
public void setShowAMessageAboutSubmission(boolean showTheOutputGenericUpdateGenerates)
public boolean getShowAMessageAboutSubmission()
public boolean getPrintErrorMessagesInline()
public void setPrintErrorMessagesInline(boolean b)
b
- public boolean isShowUserErrorMessages()
public void setShowUserErrorMessages(boolean showUserErrorMessage)
showErrorMessage
- The showErrorMessage to set.public javax.servlet.jsp.PageContext getPageContext()
public DataStorage getDataStorage()
public boolean getIsLoginPage()
setIsLoginPage(boolean)
public void setIsLoginPage(boolean thisPageIsALogin)
setTableToVerifyLoginTo(String tableWithLogins)
,
setPageToLoginTo(String pageToRedirectToWhenUserIsNotLoggedIn)
public java.lang.String getTableToVerifyLoginTo()
public void setTableToVerifyLoginTo(java.lang.String tableWithLogins)
getTable()
public java.lang.String getPageToLoginTo()
public void setUserIDField(java.lang.String userID)
public java.lang.String getUserIDField()
public void setPageToLoginTo(java.lang.String pageToRedirectToWhenUserIsNotLoggedIn)
public java.lang.String getPageToRedirectToWhenLoginError()
public void setPageToRedirectToWhenLoginError(java.lang.String pageToRedirectToWhenLoginError)
pageToRedirectToWhenLoginError
- The pageToRedirectToWhenLoginError to set.protected java.lang.String getNextPage()
public void setNextPage(java.lang.String nextPageInSurvey)
public java.lang.String getNextPageIfDeleteOrAdd()
setNextPageIfDeleteOrAdd(String)
public void setNextPageIfDeleteOrAdd(java.lang.String string)
public boolean getRememberPageUserIsOn()
setRememberPageUserIsOn(boolean)
public void setRememberPageUserIsOn(boolean rememberPage)
b
- public boolean getCreateUsersAtLogin()
public void setCreateUsersAtLogin(boolean bool)
public static final java.lang.String cleanStringValueForApostrophesOnly(java.lang.String sqlString)
public void setCachedDataByPage(java.lang.String key, java.lang.Object value)
setCachedDataByPage
in interface SurveyDataCache
public void setCachedDataIgnoringPage(java.lang.String key, java.lang.Object value)
setCachedDataIgnoringPage
in interface SurveyDataCache
public java.lang.Object getCachedDataByPage(java.lang.String key)
getCachedDataByPage
in interface SurveyDataCache
public java.lang.Object getCachedDataIgnoringPage(java.lang.String key)
getCachedDataIgnoringPage
in interface SurveyDataCache
protected java.lang.String getSessionPageString(javax.servlet.jsp.PageContext pageContext, java.lang.String attributeName)
getLoginPageString(java.lang.String)
May be overridden by subclasses who have a different concept of what this page is, e.g. SurveyAuto.
public void setSessionVariableFromLoginPage(java.lang.String attributeName, java.lang.Object value)
public java.lang.Object getSessionVariableFromLoginPage(java.lang.String attributeName)
public java.lang.Object getSessionVariableByPage(java.lang.String attributeName)
protected java.lang.String getLoginPageString(java.lang.String attributeName)
protected TableStorage getTableStorage()
protected DataBitStorage getDataBitStorage()
protected DataTableModel getDataTable()
answersTable
-
protected void addToWhereForAuxillaryFeatureQuestion(HiddenQuestion q)
protected java.util.Vector<Question> getAuxillaryFeatureQuestions()
protected boolean isUserIDValueANumber()
protected void saveLoginInfo(LoginInfo loginInfo)
protected LoginInfo getSavedLoginInfo()
protected boolean makeAutomaticLoginInfo()
protected boolean goToNextPage()
protected java.lang.String getCurrentPageURLFromPageSaveInfo(java.lang.String pageSaveInfo)
pageSaveInfo
- the info saved, as per getCurrentPageSaveInfo().
protected java.lang.String getCurrentPageSaveInfo()
public void showAMessage(java.lang.String message)
public void saveErrorInfo(java.lang.String message)
public void saveErrorInfo(java.lang.String message, java.lang.Throwable exception)
public void addQuestionInfoToHistory(QuestionInfo questionInfo)
public QuestionInfo getLastQuestionInHistory()
protected int doDataStuff()
public int doStartTag()
DatabaseConnection
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class DatabaseConnection
public int doEndTag()
DatabaseConnection
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class DatabaseConnection
public void reinit()
reinit
in class DatabaseConnection
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |