Giter Club home page Giter Club logo

pager's Introduction

Download

Pager

Java & JSP Pagination 유틸리티

Release Note

  • 1.1.2.1 (2017.11.30)

  • 1.1.2 (2017.11.23)

    • PageExplorer에 totalCount 추가
      • PageExplorer.getTotalCount() 사용할 수 있음.
  • 1.1.1 (2017.11.23)

    • PageExplorer에 List 추가.
    • PageExplorer 와 List를 동시에 리턴해야 할 경우가 빈번해 PageExplorer에 List를 넣을 수 있도록 변경
    • MVC 테스트 코드 추가.
    • PageOption 추가
      • PageExplorer.setData() 사용없이 .make() 호출 가능.
        • 기본값
          • formId = "searchForm"
          • link = "pageNo"
          • pageFormat = "[@]"
          • prev = "Prev"
          • next = "Next"
        • 필요에 의해 PageExplorer.setData(pageOption) 으로 사용 가능.
          • 변경이 필요한 값만 셋팅할 수 있음.
  • 1.1.0 (2017.11.22)

    • .getPagingList("pageNo", "[@]", "이전", "다음", "form") 삭제.
    • .setData("pageNo", "[@]", "이전", "다음", "form").make()로 대체됨.
    • jdk 1.8 미만 버젼 지원 하지 않음.
    • Pager UI 변경 기능 추가
      • PageExplorer.highlight(Function<String, String> f)
      • PageExplorer.prevGroup(BiFunction<Integer, String, String> f)
      • PageExplorer.nextGroup(BiFunction<Integer, String, String> f)
      • PageExplorer.pages(BiFunction<Integer, String, String> f)
  • 1.0.0 (2017.06.09)

    • 최초등록

개발중인 기능

  • (1.1.3) JSONPageExplorer
  • (1.1.3) XMLPageExplorer

사용 방법

maven 사용

  1. Repository 추가

    <repositories>
        <repository>
            <id>bintray</id>
            <url>http://jcenter.bintray.com</url>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
        </repository>
    </repositories>
    

  2. dependency 추가

    <dependency>
        <groupId>io.github.seccoding</groupId>
        <artifactId>Pagination</artifactId>
        <version>1.1.2.1</version>
    </dependency>
    

maven dependency에 Pager-1.1.2.1.jar 파일을 추가할 경우

jdk 1.8 미만 버젼 https://github.com/seccoding/Pager/tree/1.0.0

  1. Pager-1.1.2.1.jar파일을 C:\에 복사합니다.
  2. Maven 명령어를 이용해 .m2 Repository 에 Pager-1.1.2.1.jar 를 설치(저장)합니다.
    mvn install:install-file -Dfile=C:\Pager-1.1.2.1jar -DgroupId=io.github.seccoding -DartifactId=Pager -Dversion=1.1.2.1 -Dpackaging=jar
  3. 본인의 Project/pom.xml 에 dependency를 추가합니다.
    <dependency>
        <groupId>io.github.seccoding</groupId>
        <artifactId>Pager</artifactId>
        <version>1.1.2.1</version>
    </dependency>

소스코드를 사용할 경우

jdk 1.8 미만 버젼 https://github.com/seccoding/Pager/tree/1.0.0

  1. Clone or Download 를 클릭합니다.
  2. Download ZIP 을 클릭해 소스코드를 다운로드 받습니다.
  3. Pager/pom.xml의 dependencies를 본인의 Project/pom.xml 에 붙여넣습니다.
  4. Pager/src 이하의 자바코드를 본인의 Project에 붙여넣습니다.

Pagination 사용하기

pager's People

Contributors

mcjang1116 avatar seccoding avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.