Uploaded image for project: 'ZK Spring'
  1. ZK Spring
  2. ZKSPRING-12

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Normal Normal
    • 3.1
    • None
    • webflow
    • None

      copied from http://code.google.com/p/zkspring/issues/detail?id=23


      Reported by project member ashish.dasnurkar, Jun 20, 2011
      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

            hawk hawk
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: