You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "seong (JIRA)" <de...@tapestry.apache.org> on 2008/09/15 09:51:44 UTC

[jira] Created: (TAPESTRY-2672) use tag to determine column to show and not remove property in

use <td>tag to determine column to show and not remove property in <tr>
-----------------------------------------------------------------------

                 Key: TAPESTRY-2672
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2672
             Project: Tapestry
          Issue Type: Improvement
          Components: tapestry-core
    Affects Versions: unspecified
            Reporter: seong


Use <td>tag to determine column to show and not remove property in <tr>. This is because the hibernate domain contains many properties. It is not the good practice to list down all the remove properties.
The following sample is just show 2 column only. 
<table width="100%" >
<tr t:type="grid" t:source="users" t:value="user" rowsPerPage="1">
        <td> ${user.email}</td>
        <td>${user.name}</td>
</tr>
</table>

-- 
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


[jira] Closed: (TAPESTRY-2672) use tag to determine column to show and not remove property in

Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-2672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAPESTRY-2672.
------------------------------------------

    Resolution: Invalid
      Assignee: Howard M. Lewis Ship

The Grid component has an include parameter, used to restrict the columns displayed.  You could also use the @NonVisual annotation on columns that should not be displayed.

> use <td>tag to determine column to show and not remove property in <tr>
> -----------------------------------------------------------------------
>
>                 Key: TAPESTRY-2672
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2672
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: unspecified
>            Reporter: seong
>            Assignee: Howard M. Lewis Ship
>
> Use <td>tag to determine column to show and not remove property in <tr>. This is because the hibernate domain contains many properties. It is not the good practice to list down all the remove properties.
> The following sample is just show 2 column only. 
> <table width="100%" >
> <tr t:type="grid" t:source="users" t:value="user" rowsPerPage="1">
>         <td> ${user.email}</td>
>         <td>${user.name}</td>
> </tr>
> </table>

-- 
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