Git Product home page Git Product logo

fondue's People

Contributors

argius avatar

Stargazers

 avatar

Watchers

 avatar  avatar

fondue's Issues

Make pagination possible to change the max row count per page

There is no way how to change the value of countPerPage in fondue.fw.PP.

public final class PP {
private static final int countPerPage = 20;
private boolean disabled;
private int currentPage;
private long totalCount;
private String query;
public PP() {
this.query = "";
}
public void validateCurrentPage() {
if (!isValidCurrentPage()) {
currentPage = 1;
}
}
public boolean isValidCurrentPage() {
if (!disabled) {
Range<Integer> range = Range.between(1, getLastPage());
return range.contains(currentPage);
}
return false;

Self testing codes

This task is not for generated apps, but for this framework.
It's okay to make a little test.

Meanwhile, we should introduce CI for this project.

Upgrade default Spring Boot version from v1.5.14 to 2.2.x

Fondue v1.1.1 is based on Spring Boot v1.5.14 (released on Jun 14, 2018).
The current new version of Spring Boot is v2.2.0, and I wish it apply to Fondue, at least v2.x.x.

The following snippet is the first candidate to apply for build.gradle.
However, this is not enough and it doesn't work.

// change
	springBootVersion = '2.2.0.RELEASE'
// add
	apply plugin: 'io.spring.dependency-management'

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.