Opened 12 years ago

Last modified 9 years ago

#868 new enhancement

IZ296: we need -format switch that will format the cell in the table

Reported by: marcingoldyn Owned by:
Priority: normal Milestone:
Component: hedeby Version: 1.0
Severity: Keywords: Sun cli
Cc:

Description

[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=296]

        Issue #:      296          Platform:     Sun           Reporter: marcingoldyn (marcingoldyn)
       Component:     hedeby          OS:        All
     Subcomponent:    cli          Version:      1.0              CC:    None defined
        Status:       NEW          Priority:     P3
      Resolution:                 Issue type:    ENHANCEMENT
                               Target milestone: 1.0u5next
      Assigned to:    marcingoldyn (marcingoldyn)
      QA Contact:     adoerr
          URL:
       * Summary:     we need -format switch that will format the cell in the table
   Status whiteboard:
      Attachments:


     Issue 296 blocks:
   Votes for issue 296:     Vote for this issue


   Opened: Tue Jan 8 04:00:00 -0700 2008 
------------------------


   if specify the -format switch, the default format for each column of a table is
   used. The developer of the cli command can define the default format in the java
   code. This default format can be overridden with the -format switch.


   Example:

   Java code:

        TableModel tm = ...;

        table = new Table(tm);
        table.setConversion(0,"tr");  -> will be expanded to "%tr"
        ...

   Assuming that column 0 has the name timestamp user can override the format
   (conversion with):

     % sdmadm  show_history -format timestamp:tT
               ------- Additional comments from marcingoldyn Wed Jan 16 06:47:49 -0700 2008 -------
   reassign

               ------- Additional comments from marcingoldyn Wed Jan 23 02:35:27 -0700 2008 -------
   it is enhancement not defect
               ------- Additional comments from marcingoldyn Wed Aug 6 03:39:58 -0700 2008 -------
   we can do this
               ------- Additional comments from rhierlmeier Wed Nov 25 07:21:11 -0700 2009 -------
   Milestone changed

Change History (0)

Note: See TracTickets for help on using tickets.