Text does not wrap in the Details pane of the Cross-Platform Client

0 Likes

Problem:

Text does not wrap in the Details pane of the Cross-Platform Client

Resolution:

  • Product Name: StarTeam
  • Product Version: 2008 R2
  • Product Component: CPC
  • Platform/OS Version: All Support CPC Platforms


Description:
Text does not wrap in the details pane

In the Detail pane, long text field values do not wrap. This was not a problem in the Win32 client, but in all versions of the CPC, text does not wrap.

Solution

You can modify the display format and content of the Detail (lower) panes in the Cross-Platform client on a per-workstation basis by placing correctly named and formatted HTML templates in the same directory as the starteam-servers.xml and starteam-client-options.xml files. For example, on a Windows system these files could be located in the C:\Documents and Settings\USER\Application Data\Borland\StarTeam folder. Sample Detail pane templates are installed under the Cross-Platform Client root installation folder in the samples\details-templates folder.The name of the template file controls the StarTeam component to be modified. For example, a template named changerequest.details.html controls the format and content of the Detail pane display for the Change Request component.To customize the detail panes on your workstation

  1. Create an HTML template file for the corresponding component that you wish to customize. For example, if you want to format the contents of the Detail pane for a change request, you would create a template file named changerequest.details.html.
    You must use the following file names for the component detail panes that you wish to customize:
    • folder.details.html
    • file.details.html
    • changerequest.details.html
    • task.details.html
    • topic.details.html
    • requirement.details.html
  2. Make any desired modifications to the template file.
    Follow the formatting example in the sample template file. The fields used in the Detail pane HTML templates are recognized by the client when they are contained between double tilde ~~ characters. For example: ~~Status~~ represents the Status field found in the Change Request Properties dialog box.
  3. Save the template files in the same directory as the starteam-servers.xml and starteam-client-options.xml files. For example, on a Windows system these files could be located in the C:\Documents and Settings\USER\Application Data\Borland\StarTeam folder.

Examples of the HTML used in the templates can be found in the CPC"s Help feature.

Old KB# 29224
Comment List
Related
Recommended