Code Monkey home page Code Monkey logo

Comments (1)

zycgit avatar zycgit commented on May 19, 2024

使用的是 GET 方法,get 方法参数获取采用的是 httpRequest.getParameterValues 拿到的就是 Sring 类型。

但是 Edit 页面中,参数的递交采用的是 POST, 请求参数中可以明确的表示是一个 number 类型。

这个办法建议将 4.1.5 中的 conver 函数库代码拷贝到你的工程中单独使用。

用法就是将 请求参数 用函数转换 成 int 类型。

conver 函数库的地址在这里:https://github.com/zycgit/hasor/blob/dev/hasor-dataql/dataql-fx/src/main/java/net/hasor/dataql/fx/basic/ConvertUdfSource.java

from hasor.

Related Issues (20)

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.