Changeset 3917


Ignore:
Timestamp:
Oct 25, 2010, 10:07:25 AM (13 years ago)
Author:
olle
Message:

Refs #713. Class/file action/directory/ViewActiveDirectory.java in
client/servlet/ updated to set Boolean isBigText attribute to
true for the Name columns in the file and directory tables:

  1. Protected method void runMe() updated to set Boolean isBigText

attribute to true for the Name column in the file table.

  1. Private method

List<Column> adaptTableHeader(int startIndex, Table templateTable, Table sourceTable)
updated to set Boolean isBigText attribute to true for the
Name column in the directory table.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/servlet/src/org/proteios/action/directory/ViewActiveDirectory.java

    r3916 r3917  
    237237        // Create file table
    238238        Table fileTable = tableFactory2.build();
     239        // Set isBigText to 'true' for name column
     240        List<Column> fileTableHeader = fileTable.getHeader();
     241        for (int i = 0; i < fileTableHeader.size(); i++)
     242        {
     243            Column column = fileTableHeader.get(i);
     244            if (column.getValue().equals("Name"))
     245            {
     246              column.setIsBigText(true);
     247            }
     248        }
    239249        // Add asPopup parameter to hide the menu in the next step. This is needed when the action is used
    240250        // in the wizard
     
    10211031                    column.setValue("");
    10221032                }
     1033                // If name column, set isBigText to 'true'
     1034                if (column.getValue().equals("Name"))
     1035                {
     1036                    column.setIsBigText(true);
     1037                }
    10231038                tmpTable.add(column);
    10241039                log
Note: See TracChangeset for help on using the changeset viewer.