public class ImageNewsTag extends CMSListTag
Title: ImageNewsTag.java
Description:
Copyright: Copyright (c) 2006
Company: 三一集团
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
cssVmpath |
protected int |
imgHeight |
protected int |
imgWidth |
protected java.lang.String |
isLatest
true: 获得图片新闻频道下所有最近发布图片
false: 获得普通频道下所有发布的带主题图片的文档图片
|
protected java.lang.String |
isMarquee |
protected org.apache.log4j.Logger |
log |
protected int |
m_second |
protected SiteManagerImpl |
siteUtil |
protected CMSTagUtil |
tagUtil |
protected java.lang.String |
target |
channel, cmsrequest, cmsresponse, config, context, datatype, docType, document, params, siteactual, autosort, CMS_SCOPE, colName, COLUMN_SCOPE, currentValueObject, dataModel, DB_SCOPE, dbname, declare, desc, fields, moreQuery, needClear, PAGECONTEXT_SCOPE, pageContextKey, PAGERDATASET_STACK, position, property, REQUEST_SCOPE, requestKey, SESSION_SCOPE, sessionKey, softparser, softparser_cache_pre, sortKey, sqlparamskey, stack, start, statement, theClassDataListfieldHelper, pagerContext| Constructor and Description |
|---|
ImageNewsTag() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
dealPath(java.lang.String path)
处理链接地址或者文件
|
int |
doEndTag() |
void |
doFinally() |
int |
doStartTag() |
java.lang.String |
getCssVmpath() |
int |
getImgHeight() |
int |
getImgWidth() |
java.lang.String |
getIsLatest() |
java.lang.String |
getIsMarquee() |
int |
getM_second() |
java.lang.String |
getTarget() |
java.lang.StringBuffer |
Img_newsTag()
生成图片新闻标签的HTML代码.
|
protected java.lang.String |
loadDownTemplete()
加载down模板
|
protected java.lang.String |
loadLoopTemplete(java.lang.String sid)
加载loop模板
|
protected java.lang.String |
loadTopTemplete(int second)
加载top模板
|
void |
setCssVmpath(java.lang.String cssVmpath) |
void |
setImgHeight(int imgHeight) |
void |
setImgWidth(int imgWidth) |
void |
setIsLatest(java.lang.String isLatest) |
void |
setIsMarquee(java.lang.String isMarquee) |
void |
setM_second(int m_second) |
void |
setTarget(java.lang.String target) |
getChannel, getConfig, getContext, getCount, getDatatype, getDocType, getDocumentid, getMoreTag, getParams, getRssPath, getSite, indextagSeted, isRss, moreSeted, rssSeted, setChannel, setConfig, setCount, setDatatype, setDocType, setDocument, setIndexTag, setMoreTag, setPageContext, setRss, setRssPath, setRssTag, setSiteavg, avg, buildColnameKey, clear, cmsClear, consumeCookie, count, count, doAfterBody, doDataLoading, doDataLoading, formatData, formatDate, formatDate, generateContent, getActual, getBoolean, getBoolean, getBoolean, getBoolean, getByte, getByte, getChar, getChar, getClassDataValue, getColName, getContainerid, getData, getDataModel, getDataSetName, getDate, getDate, getDate, getDate, getDate, getDate, getDbname, getDesc, getDouble, getDouble, getDouble, getDouble, getDouble, getDouble, getField, getFields, getFloat, getFloat, getForm, getFormatData, getFormatData, getFormatData, getFormatData, getFormatData, getFormatDate, getFormatDate, getFormatDate, getFormatDate, getFormatDate, getFormula, getIndex, getInt, getInt, getInt, getInt, getItems, getLong, getLong, getLoopvar, getMap, getMapKey, getMapKey, getMapkeyvar, getMaxIndexPages, getMaxItems, getMaxPageItems, getNavindex, getNeedClear, getObject, getObject, getObject, getObject, getObject, getOffset, getOffsetvar, getOrigineObject, getOrigineObject, getOuterRowid, getOutRowidByIndex, getPageContextKey, getPageCookies, getPagerContext, getPagerDataSet, getPageSize, getPagesizevar, getPosition, getProperty, getRequestKey, getRowcount, getRowcountvar, getRowid, getRowidByIndex, getRowidName, getScope, getSelector, getSessionKey, getShort, getShort, getSortKey, getSqlparamskey, getStart, getStatement, getString, getString, getString, getString, getString, getString, getString, getString, getString, getStringWithDefault, getStringWithDefault, getStringWithDefault, getStringWithDefault, getStringWithDefault, getStringWithDefault, getStringWithDefault, getStringWithDefault, getTitle, getType, getUrl, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueOrSize, getVar, getWidth, index, init, initCurrentValueObject, initField, isAutosort, isCookieForThisPagerTag, isDeclare, isMoreQuery, isOffset, isPagerCookie, isPromotion, isSoftparser, isWapflag, loadClassData, loadClassData, loadClassData, loadClassData, loadClassData, loadClassData, loadClassData, loadClassData, loadClassData, loadClassData, loadClassDataNull, loadMapClassData, locateField, pop, push, recoverParentDataSet, removeVariable, searchDataSet, setActual, setAutosort, setColName, setContainerid, setData, setDataModel, setDataSetName, setDbname, setDeclare, setDesc, setField, setForm, setIndex, setIsList, setItems, setLoopvar, setMapkeyvar, setMaxIndexPages, setMaxItems, setMaxPageItems, setMeta, setMoreQuery, setNavindex, setNeedClear, setOffset, setOffsetvar, setPageContextKey, setPagesizevar, setPosition, setPromotion, setProperty, setRequestKey, setRowcountvar, setRowidName, setScope, setSelector, setSessionKey, setSoftparser, setSortKey, setSqlparamskey, setStart, setStatement, setTitle, setType, setUrl, setVar, setVariable, setWapflag, setWidth, size, softparsered, sortBy, sum, sum, usedwithpagerTag, writefindPageContext, getFieldHelper, isExportMeta, length, main, release, restoreAttributedoCatch, getContextMenu, getHttpServletRequest, getHttpServletResponse, getJspWriter, getSession, initContextMenu, isEnablecontextmenu, setEnablecontextmenuprotected org.apache.log4j.Logger log
protected CMSTagUtil tagUtil
protected SiteManagerImpl siteUtil
protected java.lang.String cssVmpath
protected java.lang.String target
protected java.lang.String isMarquee
protected int m_second
protected int imgWidth
protected int imgHeight
protected java.lang.String isLatest
public int getImgHeight()
public void setImgHeight(int imgHeight)
public int getM_second()
public void setM_second(int m_second)
public java.lang.String getCssVmpath()
public void setCssVmpath(java.lang.String cssVmpath)
public java.lang.String getTarget()
public void setTarget(java.lang.String target)
public java.lang.String getIsMarquee()
public void setIsMarquee(java.lang.String isMarquee)
public int getImgWidth()
public void setImgWidth(int imgWidth)
public java.lang.String getIsLatest()
public void setIsLatest(java.lang.String isLatest)
public java.lang.String dealPath(java.lang.String path)
path - 原路径protected java.lang.String loadTopTemplete(int second)
second - protected java.lang.String loadDownTemplete()
protected java.lang.String loadLoopTemplete(java.lang.String sid)
sid - public java.lang.StringBuffer Img_newsTag()
java.lang.Exceptionpublic int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class CMSListTagjavax.servlet.jsp.JspExceptionpublic int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class CMSListTagjavax.servlet.jsp.JspExceptionpublic void doFinally()
doFinally in interface javax.servlet.jsp.tagext.TryCatchFinallydoFinally in class CMSListTag