Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-3063

NoSuchMethod error when element type of ListModelList implements several interface

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 7.0.4
    • None
    • None

      We have defined the following template for our selectbox in the zul file.

      <template name="model">${each.label}</template>
      

      The element type E of the list model list implements interface A and B.
      A offers the method getLabel() but B not.

      From this follows the following situation:

       E implements A, B 

      works fine but
      with

       E implements B, A 

      we get a NoSuchMethod error.

            Unassigned Unassigned
            luk219 luk219
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: