Giter VIP home page Giter VIP logo

ik-expression's People

ik-expression's Issues

一个建议

建议说明文件用pdf格式的。很多人实际上打不开doc的文件。
另外,多谢你的工程,很好用`

Original issue reported on code.google.com by [email protected] on 9 Jul 2009 at 2:51

A little suggestion about user-defined functions

Thank u for the great job on Ik-e and it is easy to use in our projects!

But when using I found a problem that the user-defined functions ik-e 
supported were construted when system starts. So we cann't use the spring-
managed beans and it's hard to inject other beans(like httprequest ...) 
into the functions. That means the  user-defined functions ik-e supported 
are more like Toolkit beans than business beans.

To resolve this problem, I use a ugly way: add a static attribute into 
ExpressionEvaluator ,add synchronized block in evaluate method and inject 
it to function object everytime it is to be invoked. 

So my suggestion is if you can change the function's init and invoking 
method, let function object more extensible so user can manage it by 
ourself? 

After all, thanks again for your great job, it's helpful!

Best wishes

Original issue reported on code.google.com by [email protected] on 5 May 2009 at 3:41

三元表达式问题

问题1: 给定表达式【单元格值 == null ? "未填" : 
单元格值】,如果传入参数【单元格值=5】,则执行报错

问题2: 给定表达式【单元格值 == null ? "未填" : 
单元格值】,如果传入参数【单元格值=null】,则执行报错


Original issue reported on code.google.com by [email protected] on 9 Sep 2011 at 10:29

Classloader加载class的问题

What steps will reproduce the problem?
1. 使用定制的classloader加载入口程序
2. 加载ik-expression库
3. ik-expression加载定制的bean class

What is the expected output? What do you see instead?
classloader之间的类型转换出错

What version of the product are you using? On what operating system?
2.1.2

Please provide any additional information below.
Fixit:
org.wltea.expression.function.FunctionLoader中73行修改为:
//Class _class = Class.forName(className);
Class _class = Class.forName(className, true, 
Thread.currentThread().getContextClassLoader());


Original issue reported on code.google.com by [email protected] on 26 Sep 2010 at 2:37

集合类型怎么在函数中定义呢

List<Variable> variables = new ArrayList<Variable>();
        variables.add(Variable.createVariable("var1", "abc"));
        List<String> values = new ArrayList<String>();
        values.add("value1");
        values.add("value2");
        variables.add(Variable.createVariable("var2", values));
        System.out.println(ExpressionEvaluator.evaluate("$getActiveListInfo(var1,var2)",variables));



        System.out.println(ExpressionEvaluator.evaluate("$getActiveListInfo(\"ddd\",\"kkkkk\")"));

getActiveListInfo函数第二个参数为list,怎么在直接调用函数时定�
��呢

Original issue reported on code.google.com by [email protected] on 6 Jun 2013 at 8:01

IKExpression和JSEL性能对比

IKExpression作者,你好!我对IKExpression和JSEL性能做了对比,结�
��如下
Source:1000+100.0*99-(600-3*15)%(((68-9)-3)*2-100)+10000%7*71
JSEL:
value:11181.0
time:0.018647991(s)
IKExpression:
value:11181.0
time:24.744314(s)

Source:6.7-100>39.6 ? 5==5? 4+5:6-1 : !(100%3-39.0<27) ? 8*2-199: 100%3
JSEL:
value:1
time:0.014517993(s)
IKExpression:
value:1
time:26.697668(s)


Source:i * pi
JSEL:
value:314.0
time:0.22054861(s)
IKExpression:
value:314.0
time:5.6250362(s)


Source:1
JSEL:
value:1
time:0.011958787(s)
IKExpression:
value:1
time:0.95222974(s)

-----
为什么差那么多啊,我使用IKExpression那里出问题了吗,请指��
�,谢谢,代码见附件


Original issue reported on code.google.com by [email protected] on 29 Dec 2010 at 9:09

Attachments:

ik-expression 版本

您好。
      我现在项目中使用了 ik-expression 感觉比较方便。但是现在需要要到自定义函数。
在2.0.jar版本中发现没有使用说明中提到的方面。下载后续版�
��2.05版本后发现有调用方法。
但还是面临一个问题。我web服务器支持 
jdk1.5版本。而您这里发布的jar包编译应该至少到6.0了吧。所��
�在发布后出现版本异常。能否发布支持 
jdk1.5编译的jar包出来,急需,谢谢。

Original issue reported on code.google.com by [email protected] on 17 Aug 2011 at 6:15

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.