Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

表达式引擎 问题 #549

Closed
771724316 opened this issue Nov 10, 2013 · 0 comments
Closed

表达式引擎 问题 #549

771724316 opened this issue Nov 10, 2013 · 0 comments
Assignees
Milestone

Comments

@771724316
Copy link

EL表达式引擎,在使用string[]时,调用length 出现错误,兽兽说,length既不是方法,也不是属性,索引没反射到 代码如下
String[] strList=Lang.array("23","12","123");
Context con=Lang.context();
con.set("view", strList);
System.out.println(El.eval(con,"view.length"));

错误信息如下:
Caused by: java.lang.NoSuchMethodException: Fail to find getter for [[Ljava.lang.String;]->[length]

wendal added a commit that referenced this issue Nov 10, 2013
@wendal wendal closed this as completed Nov 10, 2013
@ghost ghost assigned wendal Nov 10, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants