Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-2564

Grid does not allow the same column name in reorder and in exclude

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • 5.0.14
    • None
    • Core Components
    • None

    Description

      I have a component that internally uses a grid component. Because the grid needs to show the columns in a strict order the "reorder" parameter is used. With some uses some columns need to be removed from the grid using the "exclude" parameter.
      The problem with this is that the grid does not like the same column in the "reorder" list and in the "exclude" list. The grid reports that there is no property with the name just excluded (see stacktrace)

      As a workaround I can change the "reorder" list to make it exclude the excluded column.

      [08 Aug 2008 09:00:05 btpool0-10] ERROR Render queue error in SetupRender[user/Encryption:encryptioncertificates.selectedcertificatesgrid.grid]: Bean editor model for mitm.mimesecure.web.beans.X509CertificateBean does not contain a property named 'email'. Available properties: CA, URIDistributionPointNames, delete, expired, extendedKeyUsage, info, issuer, keyAlias, keyUsage, notAfter, notBefore, select, serialNumberHex, subject, subjectKeyIdentifier, thumbprint, thumbprintSHA1. (mitm.mimesecure.web.pages.user.UserEncryption)
      org.apache.tapestry5.ioc.internal.util.TapestryException: Bean editor model for mitm.mimesecure.web.beans.X509CertificateBean does not contain a property named 'email'. Available properties: CA, URIDistributionPointNames, delete, expired, extendedKeyUsage, info, issuer, keyAlias, keyUsage, notAfter, notBefore, select, serialNumberHex, subject, subjectKeyIdentifier, thumbprint, thumbprintSHA1. [at classpath:mitm/mimesecure/web/components/CertificateGrid.tml, line 4, column 45]
      at org.apache.tapestry5.internal.structure.ComponentPageElementImpl.invoke(ComponentPageElementImpl.java:909)
      at org.apache.tapestry5.internal.structure.ComponentPageElementImpl.access$200(ComponentPageElementImpl.java:50)
      at org.apache.tapestry5.internal.structure.ComponentPageElementImpl$13.render(ComponentPageElementImpl.java:481)
      at org.apache.tapestry5.internal.services.RenderQueueImpl.run(RenderQueueImpl.java:68)
      at org.apache.tapestry5.internal.services.PageRenderQueueImpl.render(PageRenderQueueImpl.java:108)
      at $PageRenderQueue_11ba3016b06.render($PageRenderQueue_11ba3016b06.java)

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            martijn_brinkers Martijn Brinkers
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: