File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
package kcc.com.cmm;
import javax.servlet.ServletContext;
import org.springframework.web.context.ServletContextAware;
import egovframework.rte.ptl.mvc.tags.ui.pagination.AbstractPaginationRenderer;
/**
* ImagePaginationRenderer.java 클래스
*
* @author 서준식
* @since 2011. 9. 16.
* @version 1.0
* @see
*
* <pre>
* << 개정이력(Modification Information) >>
*
* 수정일 수정자 수정내용
* ------- ------------- ----------------------
* 2011. 9. 16. 서준식 이미지 경로에 ContextPath추가
* </pre>
*/
public class ImagePaginationRendererWeb extends AbstractPaginationRenderer implements ServletContextAware{
private ServletContext servletContext;
public ImagePaginationRendererWeb() {
// no-op
}
public void initVariables(){
firstPageLabel = "<li class='page_first_li'><a href=\"#\" class=\"btn only_icon btn_40 btn_page_first\" title=\"첫 페이지 이동\" onclick=\"{0}({1});return false;\"><i class=\"icon page_first\"></i></a></li>";
previousPageLabel = "<li class='page_prev_li'><a href=\"#\" class=\"btn only_icon btn_40 btn_page_prev\" title=\"이전 페이지 이동\" onclick=\"{0}({1});return false;\"><i class=\"icon page_prev\"></i></a></li>";
currentPageLabel = "<li><a href=\"#\" class=\"btn btn_40 active\" title=\"{0} 페이지 이동\" onclick=\\\"return false;\\\" readonly>{0}</a></li>";
otherPageLabel = "<li><a href=\"#\" class=\"btn btn_40\" title=\"{1} 페이지 이동\" onclick=\"{0}({1});return false;\">{2}</a></li>";
nextPageLabel = "<li class='page_next_li'><a href=\"#\" class=\"btn only_icon btn_40 btn_page_next\" title=\"다음 페이지 이동\" onclick=\"{0}({1});return false;\"><i class=\"icon page_next\"></i></a></li>";
lastPageLabel = "<li class='page_last_li'><a href=\"#\" class=\"btn only_icon btn_40 btn_page_last\" title=\"마지막 페이지 이동\" onclick=\"{0}({1});return false;\"><i class=\"icon page_last\"></i></a></li>";
}
@Override
public void setServletContext(ServletContext servletContext) {
this.servletContext = servletContext;
initVariables();
}
}