package egovframework.com.cmm; import egovframework.rte.ptl.mvc.tags.ui.pagination.AbstractPaginationRenderer; import javax.servlet.ServletContext; import org.springframework.web.context.ServletContextAware; /** * ImagePaginationRenderer.java 클래스 * * @author 서준식 * @since 2011. 9. 16. * @version 1.0 * @see * *
 * << 개정이력(Modification Information) >>
 *
 *   수정일      수정자           수정내용
 *  -------    -------------    ----------------------
 *   2011. 9. 16.   서준식       이미지 경로에 ContextPath추가
 * 
*/ public class ImagePaginationRendererWeb extends AbstractPaginationRenderer implements ServletContextAware{ private ServletContext servletContext; public ImagePaginationRendererWeb() { // no-op } public void initVariables(){ /*firstPageLabel = "
  •  
  • \"처음\"
  • "; previousPageLabel = "
  • \"이전\"
  • "; currentPageLabel = "
  • {0}
  • "; otherPageLabel = "
  • {2}
  • "; nextPageLabel = "
  •  \"다음\"
  • "; lastPageLabel = "
  • \"마지막\"
  • ";*/ //firstPageLabel = ""; /*firstPageLabel = "<< "; previousPageLabel = "< "; currentPageLabel = "{0} "; otherPageLabel = "{2} "; nextPageLabel = "> "; lastPageLabel = ">>";*/ firstPageLabel = "<<"; previousPageLabel = "< "; currentPageLabel = "{0} "; otherPageLabel = "{2} "; nextPageLabel = "> "; lastPageLabel = ">>"; } @Override public void setServletContext(ServletContext servletContext) { this.servletContext = servletContext; initVariables(); } }