APEX_Lib -- Text Messages [message #259979] |
Fri, 17 August 2007 01:31 |
sk_oradba
Messages: 1 Registered: August 2007
|
Junior Member |
|
|
Downloaded the APEX_Lib works beautifully, but as said in the APEX_Lib frame work, to change or translate the text used by the framework, create the following Text Messages (Shared Components/Text Message)
For example the message in (Shared Components/Text Message)
Is
APEXLIB_ITEM_INVALID_FORMAT
%label doesn't match to the format "%0" (eg %1).
Display's like
Eg 1251">Year doesn't matdch to the format "9999" (eg 1251).
How would change the value of "%0" or "%1" in the above message text?
I used a format "9999" for a year field, I would like to change the example value (eg 1251) to (eg 2007). Also this work only when the language turned to English US. Also I do not want any extra (Eg 1251) in the front of the messge as well.
thanks in advance
Cheers
|
|
|
|
Re: APEX_Lib -- Text Messages [message #260252 is a reply to message #259979] |
Fri, 17 August 2007 15:55 |
patrick_wolf
Messages: 11 Registered: August 2007 Location: Vienna, Austria
|
Junior Member |
|
|
Hi,
%label, %0 and %1 are placeholders.
%label as you probably already noticed is filled by the label of your page item.
%0 with the format mask of your page item and
%1 with the hardcoded value 1251 (internally it's longer and has decimal digits) which uses the defined format mask for display.
The used example 1251 can't be changed for a specific page item, it's always the same.
About your problem with the leading 1251, are you using the latest version of the framework (1.6)? Can you post the exact string what you have configured?
>Also this work only when the language turned to English US.
What do you mean with that? Doesn't it use your translation? It depends on the language you set there.
Patrick
----------------------------------------------------------------------------------------------------
My APEX Blog: http://inside-apex.blogspot.com
The ApexLib Framework: http://apexlib.sourceforge.net
The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/
|
|
|