com.nurelm.nucontent.controller
Class TagRepeat
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
com.nurelm.nucontent.controller.TagRepeat
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- public class TagRepeat
- extends javax.servlet.jsp.tagext.BodyTagSupport
Handles repeat items.
- See Also:
- Serialized Form
| Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
| Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
| 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 |
| Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
getBodyContent, getPreviousOut, release, setBodyContent |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext, setParent |
AVERAGE_EDIT_LINK_LENGTH
public static final int AVERAGE_EDIT_LINK_LENGTH
- See Also:
- Constant Field Values
TagRepeat
public TagRepeat()
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- doStartTag is executed first, before doInitBody and doAfterBody.
- Throws:
javax.servlet.jsp.JspException
doAfterBody
public int doAfterBody()
throws javax.servlet.jsp.JspException
- This method is called after doStartTag.
- Throws:
javax.servlet.jsp.JspException
doInitBody
public void doInitBody()
- doInitBody is executed once if doStartTag returns EVAL_BODY_TAG. It does
not matter how many times doAfterBody is executed, this method is only
executed once; after doStartTag and prior to the one or more executions
of doAfterBody. The body is evaluated after this method is executed. By
evaluated I mean "read" by the container; any embedded tags are evaluated
at this time as well. Becuase of this, we need to make sure that all the
variables are ready for the embedded tags. in this case, we only need to
set currentRepeatItemId, which represents the id (pk) of the current
repeat item.
doEndTag
public int doEndTag()
setShowitemsummary
public void setShowitemsummary(java.lang.String showitemsummary)
getShowitemsummary
public java.lang.String getShowitemsummary()
setItemsummaryextras
public void setItemsummaryextras(java.lang.String itemsummaryextras)
getItemsummaryextras
public java.lang.String getItemsummaryextras()
setRandom
public void setRandom(java.lang.String random)
getRandom
public java.lang.String getRandom()
setEditable
public void setEditable(java.lang.String editable)
getEditable
public java.lang.String getEditable()
setId
public void setId(java.lang.String repeatId)
getId
public java.lang.String getId()
setAllowduplication
public void setAllowduplication(java.lang.String allowduplication)
getAllowduplication
public java.lang.String getAllowduplication()
setTemplateid
public void setTemplateid(java.lang.String templateid)
getTemplateid
public java.lang.String getTemplateid()
setAllowoverride
public void setAllowoverride(java.lang.String allowoverride)
getAllowoverride
public java.lang.String getAllowoverride()
setRestrictids
public void setRestrictids(java.lang.String restrictids)
getRestrictids
public java.lang.String getRestrictids()
setRestrictvalues
public void setRestrictvalues(java.lang.String restrictvalues)
getRestrictvalues
public java.lang.String getRestrictvalues()
setSearchds
public void setSearchds(java.lang.String searchids)
getSearchids
public java.lang.String getSearchids()
setSearchvalues
public void setSearchvalues(java.lang.String searchvalues)
getSearchvalues
public java.lang.String getSearchvalues()
setSortbyid
public void setSortbyid(java.lang.String sortbyid)
getSortbyid
public java.lang.String getSortbyid()
setSortbyids
public void setSortbyids(java.lang.String sortbyids)
getSortbyids
public java.lang.String getSortbyids()
setSortbydirections
public void setSortbydirections(java.lang.String sortbydirections)
getSortbydirections
public java.lang.String getSortbydirections()
setMaxperpage
public void setMaxperpage(java.lang.String maxperpage)
getMaxperpage
public java.lang.String getMaxperpage()
setNoresultsmessage
public void setNoresultsmessage(java.lang.String noresultsmessage)
getNoresultsmessage
public java.lang.String getNoresultsmessage()
setEditallids
public void setEditallids(java.lang.String editallids)
getEditallids
public java.lang.String getEditallids()
getEditAll
public boolean getEditAll()
getEditIdList
public java.lang.String[] getEditIdList()
getContentInfoList
public java.util.List getContentInfoList()
setItemtext
public void setItemtext(java.lang.String newitemtext)
getItemtext
public java.lang.String getItemtext()
getCurrentRepeatItemId
public java.lang.String getCurrentRepeatItemId()
getRepeatItem
public RepeatItem getRepeatItem()
getRepeatList
public RepeatList getRepeatList()
getStartItem
public int getStartItem()
getType
public java.lang.String getType()
setType
public void setType(java.lang.String repeattype)
getMaxcolumns
public java.lang.String getMaxcolumns()
setMaxcolumns
public void setMaxcolumns(java.lang.String maxcolumns)
getMaxrows
public java.lang.String getMaxrows()
setMaxrows
public void setMaxrows(java.lang.String maxrows)
getImporthints
public java.lang.String getImporthints()
setImporthints
public void setImporthints(java.lang.String importhints)
getImportcolumnsList
public java.util.ArrayList getImportcolumnsList()
getImportcolumns
public java.lang.String getImportcolumns()
setImportcolumns
public void setImportcolumns(java.lang.String importcolumns)
getLinkedpagetemplateid
public java.lang.String getLinkedpagetemplateid()
setLinkedpagetemplateid
public void setLinkedpagetemplateid(java.lang.String linkedpagetemplateid)
getAllowduplicatelinkedpages
public boolean getAllowduplicatelinkedpages()
setAllowduplicatelinkedpages
public void setAllowduplicatelinkedpages(java.lang.String allowduplicatelinkedpages)