You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org> on 2008/08/08 18:53:44 UTC

[jira] Commented: (TAPESTRY-2564) Grid does not allow the same column name in reorder and in exclude

    [ https://issues.apache.org/jira/browse/TAPESTRY-2564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12620971#action_12620971 ] 

Howard M. Lewis Ship commented on TAPESTRY-2564:
------------------------------------------------

This is an order of operations.

The BeanModel is modified via the reorder, include and exclude parameters.

Exclude takes place first, which is why properties in reorder that reference excluded properties fail.

> Grid does not allow the same column name in reorder and in exclude
> ------------------------------------------------------------------
>
>                 Key: TAPESTRY-2564
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2564
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: Core Components
>    Affects Versions: 5.0.14
>            Reporter: Martijn Brinkers
>            Priority: Minor
>
> 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) 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org