Difference between revisions of "NF2.1 Configurable Status Line"

From iDempiere en
(template)
 
(add video link)
 
(7 intermediate revisions by 2 users not shown)
Line 4: Line 4:
  
 
'''Developer:''' [[User:Nmicoud|Nicolas Micoud]]
 
'''Developer:''' [[User:Nmicoud|Nicolas Micoud]]
 +
 +
'''Video:''' http://www.youtube.com/watch?v=lLtjxjklfZY by [[User:Jan.thielemann|Jan.thielemann]] - [http://evenos-consulting.de evenos Consulting GmbH]
  
 
'''Description:'''
 
'''Description:'''
  
−
<span style="color:red">'''''To Be Documented'''''</span>
+
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:
 +
 
 +
[[Image: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:
 +
 
 +
[[Image:02_SL_Query_Used.png]]
 +
 
 +
The resulting status line is shown in next screenshot:
 +
 
 +
[[Image:03_SL_StatusLine.png]]
 +
 
 +
 
 +
'''Technical Info:''' [http://idempiere.atlassian.net/browse/IDEMPIERE-1150 IDEMPIERE-1150]
 +
 
 +
'''See also:''' [[NF2.1_Quick_Info_Widget|Quick Info Widget]], [http://docs.oracle.com/javase/6/docs/api/java/text/MessageFormat.html Java Message Format]
  
−
'''Technical Info:''' [http://jira.idempiere.com/browse/IDEMPIERE-1150 IDEMPIERE-1150]
 
  
−
'''See also:''' [[NF3.0_Quick_Info_Widget|Quick Info Widget]]
+
[[en:NF2.1 Configurable Status Line]]
 +
[[de:NF2.1 Einstellbare Statusleiste]]
  
−
[[Category:New Features v3.0|U]]
+
[[Category:New Features|U]]
−
[[Category:To Be Documented]]
+
[[Category:New Features v2.1|U]]
 +
[[Category:New Features User Experience (Usability)]]

Latest revision as of 17:07, 3 November 2016

Feature: Configurable Status Line

Goal: Usability

Developer: Nicolas Micoud

Video: http://www.youtube.com/watch?v=lLtjxjklfZY by Jan.thielemann - evenos Consulting GmbH

Description:

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.