Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

close bug 01167, this is a ZEL bug, post another bug ZK-1197 #8

Merged
merged 1 commit into from

2 participants

@zanyking

as title, there's only test cases here.

@dennischen dennischen merged commit 030eddf into zkoss:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
View
10 zktest/src/archive/bind/issue/B01167ConverterIdxOutOfBound.zul
@@ -0,0 +1,10 @@
+<zk>
+
+<!-- should throw no such converter exception not EL exception.... -->
+<window title="Search Storage Item" border="normal" width="600px"
+ apply="org.zkoss.bind.BindComposer"
+ viewModel="@id('vm') @init('org.zkoss.zktest.bind.issue.B01167ConverterIdxOutOfBound')" >
+
+ <textbox value="@bind(vm.text) @converter('something')"/>
+</window>
+</zk>
View
35 zktest/src/org/zkoss/zktest/bind/issue/B01167ConverterIdxOutOfBound.java
@@ -0,0 +1,35 @@
+/* B01167ConverterIdxOutOfBound.java
+
+ Purpose:
+
+ Description:
+
+ History:
+ Jun 14, 2012, Created by Ian Tsai(Zanyking)
+
+Copyright (C) 2010 Potix Corporation. All Rights Reserved.
+
+{{IS_RIGHT
+ This program is distributed under ZOL in the hope that
+ it will be useful, but WITHOUT ANY WARRANTY.
+}}IS_RIGHT
+*/
+package org.zkoss.zktest.bind.issue;
+
+/**
+ * @author Ian Y.T Tsai(zanyking)
+ *
+ */
+public class B01167ConverterIdxOutOfBound {
+ private String text= "hello";
+ public String getText() {
+ return text;
+ }
+ public void setText(String text) {
+ this.text = text;
+ }
+ public void someMethod(String... vargs){
+
+ }
+
+}
Something went wrong with that request. Please try again.