tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tam Du (JIRA)" <j...@apache.org>
Subject [jira] Commented: (TAP5-700) Improve Grid component of Tapestry
Date Fri, 15 May 2009 08:08:45 GMT

    [ https://issues.apache.org/jira/browse/TAP5-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709753#action_12709753
] 

Tam Du commented on TAP5-700:
-----------------------------

I'll try using your suggested component.

Besides, I found that some users are acquainted with using Grid component and sometimes they
want to control the display of the Grid header. I think that it may be easy to serve this
requirement. 
We can add a new attribute for Grid; the attribute name is "showHeader". 
If showHeader ="true", the header is visible; if showHeader="false", the header is hidden.

Here is the example:

<table t:type="Grid" t:source="weathers" 
       t:showHeader="false"
       t:row="weather" t:rowsPerPage="2" 
       t:pagerPosition="top" 
       t:add="edit, delete" 
       t:include="cityName, weatherType, weatherTemperature, visible, weatherTypeModifiedDate"
       style="margin:0px auto;" 
       width="95%" t:rowClass="prop:evenodd.next">
. . .
</table>


> Improve Grid component of Tapestry
> ----------------------------------
>
>                 Key: TAP5-700
>                 URL: https://issues.apache.org/jira/browse/TAP5-700
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.1.0.5, 5.0.18
>            Reporter: Tam Du
>
> When using Grid component of Tapestry, I found that we should have an option to display/not
display the header of the Grid. The reason of this requirement is: when developing my product,
in some cases, I need to use Grid but I don't want to display the header of that grid.
> For example, I use Tapestry to write the list topic page of this website http://62.101.68.227:8888/snippetrepobrowser/,
the header of Grid is unnecessary.

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


Mime
View raw message