validate(HttpServletRequest request, HttpSession session) Validate the properties that have been set for this HTTP request,
and return an ActionMessages object that encapsulates
any
validation errors that have been found.
Constructor Detail
ItemForm
public ItemForm(Library library, MaskFactory maskFactory)(Code)
TRICK
storing index of button which was click in submiting page of
Meeting or Faq.
return first field of array, ther is a index of click button.
for MEETING it's creating new AgendaPoin in heading with that
index.
for FAQ it's creating new Question in faq category with that
index.
Contains all of the information about the current library
item
Parameters: item - the new value of item.
setLinkPage
final public void setLinkPage(String linkPage)(Code)
Defines the page to link to. This varies depending on
whether the item is being submitted or displayed.
Parameters: linkPage - the new value of linkPage.
setNewPage
final public void setNewPage(String newPage)(Code)
If non-null, indicates a new page should be
addes.
Parameters: newPage - the new value of newPage.
setNewPoint
final public void setNewPoint(int index, String value)(Code)
TRICK
storing index of button which was click in submiting page of
Meeting or Faq.
set first field of array
for MEETING it's creating new AgendaPoin in heading with that
index.
for FAQ it's creating new Question in faq category with that
index.
Parameters: index - is the index of heading or faq category Parameters: value - is the value of button
setNextPageLink
final public void setNextPageLink(String nextPageLink)(Code)
Link to link the next page to, or the empty string if there is
no next
page.
Parameters: nextPageLink - the new value of nextPageLink.
setPageLinks
final public void setPageLinks(String pageLinks)(Code)
Contains the links with appear to the top right of displayed
items.
Parameters: pageLinks - the new value of pageLinks.
setPreviousPageLink
final public void setPreviousPageLink(String previousPageLink)(Code)
Link to link the previous page to, or the empty string if there
is no
previous page.
Parameters: previoustPageLink - the new value of previoustPageLink.
setSelectedAttachedFilesIds
final public void setSelectedAttachedFilesIds(String key, Object value)(Code)
Seting selected file ID to maped properties.
Parameters: key - - which checkBox is selected Parameters: value - - value which is setTo haspMap with that key
setSelectedNewFilesIds
final public void setSelectedNewFilesIds(String[] selectedNewFilesIds)(Code)
All Ids of selected files by user from list of new files.
Parameters: selectedNewFilesIds - the new value of selectedNewFilesIds.
setSubmitIncludePage
final public void setSubmitIncludePage(String submitIncludePage)(Code)
Page to include with extra fields for this document type, on
submission
Parameters: submitIncludePage - the new value of submitIncludePage.
setSummaryPromptKey
final public void setSummaryPromptKey(String summaryPromptKey)(Code)
Key to the localized text for the summary field (submit
mode).
Parameters: summaryPromptKey - the new value of summaryPromptKey.
setSummaryThemeName
final public void setSummaryThemeName(String summaryThemeName)(Code)
Specifies the theme name for the document summary section.
Parameters: summaryThemeName - the new value of summaryThemeName.
setSummaryTitleKey
final public void setSummaryTitleKey(String summaryTitleKey)(Code)
Key to the localized text for the summary window (submit
mode).
Parameters: summaryTitleKey - the new value of summaryTitleKey.
setThemeName
final public void setThemeName(String themeName)(Code)
Specifies the theme name for the body of the document.
Parameters: themeName - the new value of themeName.
setTopicCaptions
final public void setTopicCaptions(Map topicCaptions)(Code)
In submit mode, stores all of the captions of the topics we are
allowed to see.
Parameters: topicCaptions - the new value of topicCaptions.
Validate the properties that have been set for this HTTP request,
and return an ActionMessages object that encapsulates
any
validation errors that have been found. If no errors are found,
return null or an ActionMessages object
with
no recorded error messages.
The default ipmlementation performs no validation and returns
null. Subclasses must override this method to provide
any validation they wish to perform.
Parameters: request - The servlet request we are processing. Parameters: session - The sessuib we are processing. See Also: com.ivata.mask.web.struts.MaskForm.validate(javax.servlet.http.HttpServletRequestjavax.servlet.http.HttpSession)
Methods inherited from com.ivata.groupware.business.library.struts.LibraryForm