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)" <ji...@apache.org> on 2009/06/02 19:06:07 UTC

[jira] Created: (TAP5-732) When using the add parameter with Grid and adding in a @NonVisual property, you must currently supply the cell renderer, but it should be automatically provided

When using the add parameter with Grid and adding in a @NonVisual property, you must currently supply the cell renderer, but it should be automatically provided
----------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: TAP5-732
                 URL: https://issues.apache.org/jira/browse/TAP5-732
             Project: Tapestry 5
          Issue Type: Improvement
          Components: tapestry-core
    Affects Versions: 5.1.0.5
            Reporter: Howard M. Lewis Ship
            Priority: Minor


To make it work you must:

<t:grid source="persons" inplace="true" add="id" row="person" reorder="id,title,firstname,lastname">
		<p:idcell>${person.id}</p:idcell>
	</t:grid>


I don't think the <p:idcell> should be necessary; the Grid should identify that id is a property of the bean and include a default renderer for it.  Without <p:idcell>, the Id column is simply blank.

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