Skip to main content

Velocity Templates

Velocity template syntax for defining server-rendered property expressions, including template patterns and error handling.

Context Variables

Variables available in the Velocity evaluation context: $item, $module, $tx, $context, and $wi.

Polarion Services

Platform services injected into Velocity templates: $trackerService, $txService, $repositoryService, and $securityService.

Computed Properties

Domain model property configuration for server-rendered fields, including type mapping, security, and read-only behavior.

JavaScript Functions

Client-side function expressions and dynamic value resolution using $context references.
Server-rendered properties execute Velocity templates on the Polarion server during data retrieval. The computed values are returned as read-only fields in the query response. Client-side rendering uses column formatters and display properties configured in the sheet configuration YAML.
diagram
Source Code
  • Property.java
  • MetadataTest.java
  • DataPropertyFactory.java
  • prod-powersheet-src/com.nextedy.powersheet.client/ltc-repo/packages/common/types/domain/document.ts
  • ServerRendererTest.java