zkoss / zkspring

Automatically exported from code.google.com/p/zkspring
6 stars 15 forks source link

RuntimeException while using grid in-place=true with ZK Webflow #23

Closed GoogleCodeExporter closed 5 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Example code
<?component name="intbox" extends="intbox" constraint="no empty" 
style="text-align:right; color:#373842" inplace="true" width="55px"?>
....
<zul:grid model="@{persons}">
  <zul:columns sizable="true">
   <zul:column label="First Name" width="100px" />
   <zul:column label="Last Name" width="100px" />
   <zul:column label="Nr" width="100px" />
  </zul:columns>
  <!-- define variable person here-->
  <zul:rows>
   <zul:row self="@{each='person'}">
    <zul:label value="@{person.firstName}" />
    <zul:label value="@{person.lastName}" />
    <zul:intbox id="ctrlNr" value="@{person.nr}"/> 
   </zul:row>
  </zul:rows>
</zul:grid>

What is the expected output? What do you see instead?
Expected: In-place editing works
Actual: Throws runime exception

Original issue reported on code.google.com by ashish.dasnurkar on 21 Jun 2011 at 1:43

cor3000 commented 5 years ago

not reproducible with current version and the given information