You are not logged in. Click here to log in.

codebeamer Application Lifecycle Management (ALM)

Search In Project

Search inClear

Tags:  not added yet
By default, outgoing references are not completely loaded for performance reasons. Therefore, the description properties of these references are not accessible. Those have to be loaded first, in order to be able to use them.

The following two templates add reference descriptions to the content: Template1 (table) , Template2 (list)

  • One of them keeps the table format from the default template, extending it with an extra column for description.

  • The other one shows references in a list format:

Both templates are alterations of the default one. The important additions to the code are the following:

## render references list

#set($resolver = ${Class.forName('com.intland.codebeamer.persistence.dao.impl.EntityResolver').getInstance()})
      .
      .
      #foreach...
         .
	 .
         #set($dto = $resolver.resolve($user, $version))
           .
           .
           #set($dtoWikiContext = ${exporter.createWikiContext($request, $dto)}) $wikiMarkupProcessor.transformToHtml(${dto.description}, ${dto.descriptionFormat}, false, false, $dtoWikiContext)
           .
           .
     #end
     .
     .