Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/DISPL-63

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: DISPL-63
    Summary: changing column order/hiding columns
       Type: Wish

     Status: Unassigned
   Priority: Minor

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: DisplayTag
 Components: 
             Tag Library
   Versions:
             1.0 RC1

   Assignee: 
   Reporter: fabrizio giustina

    Created: Sat, 16 Oct 2004 3:43 AM
    Updated: Sat, 16 Oct 2004 3:43 AM

Description:
====
imported from sf tracker
id 711740 
submitted by Dariusz Wojtas - dwojtas
http://sourceforge.net/support/tracker.php?aid=711740 
====

It would be excellent to add possibility to change the
order of defined columns, and/or hide some of them.
All columns are identified by the 'property' attribute.
Why not to add List of columns to be displayed?
It could contain names of these columns in the order it
should be displayed on the screen. If some column is
defined in the JSP page, but it's name cannot be found
in the list, skip it. If the list contains names not defined
in the JSP definition, silently skip it, or just log some
info message. Columns might be shown in the same
order as elements in the list.
If the sort tag is not provided, just use the JSP definition.
Simple example of the idea:

<display:table width="75%" name="test" >
  <display:sort name="definitions" scope="session"/>
  <display:column property="id" title="ID" />
  <display:column property="name" />
  <display:column property="email" />
  <display:column property="status" />
  <display:column property="description" title="Comments"/>
</display:table>


The sort element could do the job - if present.
Of course it could contain more attributes, the same as
table: name, property, scope, list, etc.

If needed I could provide sample implementation.

Dariusz Wojtas 


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to