NF2.1 Configurable Status Line

From iDempiere en

Feature: Configurable Status Line

Goal: Usability

Developer: Nicolas Micoud

Video: by Jan.thielemann - evenos Consulting GmbH


Now you can define in a configurable way a status line to be shown for any window/table (in past you needed to hack GridTab.getTrxInfo).

Firstly you define a translatable message with the text you want to display in the status line, please note the usage of the MessageFormat parameters. Here you can define positional parameters numbered from zero, describe the type (number, date, time, format, choice or undefined for a default string), and the format style:

01 SL Message.png

Then you define the associated query for the message, please note the number of values returned by the query must match the number and order of the positional parameters of the message. You can (and maybe must) use context variables referencing the window fields to restrict the query:

02 SL Query Used.png

The resulting status line is shown in next screenshot:

03 SL StatusLine.png

Technical Info: IDEMPIERE-1150

See also: Quick Info Widget, Java Message Format

Cookies help us deliver our services. By using our services, you agree to our use of cookies.