Home » Developer & Programmer » Application Express, ORDS & MOD_PLSQL » APEX_Lib -- Text Messages
APEX_Lib -- Text Messages [message #259979] Fri, 17 August 2007 01:31 Go to next message
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 #260234 is a reply to message #259979] Fri, 17 August 2007 14:26 Go to previous messageGo to next message
andrew again
Messages: 2577
Registered: March 2000
Senior Member
Try posting on http://forums.oracle.com/forums/forum.jspa?forumID=137 where Patrick Wolf is a regular...
Re: APEX_Lib -- Text Messages [message #260252 is a reply to message #259979] Fri, 17 August 2007 15:55 Go to previous message
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/
Previous Topic: how use the "tooltip" in Oracle Application Express
Next Topic: Accessing external API (COM Objects)
Goto Forum:
  


Current Time: Fri Mar 29 03:36:25 CDT 2024