Grouping and decimal characters in rtf templates.
Hi guys and girls,I'm really struggling with a problem here about decimal characters for the price in my outings.
I use XML Publisher 5.6.3.
My goal is to control the character grouping and decimal of my model.
The numbers in the XML data file can be 10,000.00 or 10,000.00. The format is managed by the users nls_numeric_characters profile option.
The output of the model will be based on the locale and not the data generated by Oracle reports. For example: reports to U.S. customers must show the number in the format according to 10,000.00. Reports to our European customers must indicate the numbers in this format 10,000.00.
How can I achieve this in my models? It is possible at all?
Thank you in advance.
Kenneth Kristoffersen
Published by: Kenneth_ on May 19, 2009 01:30
If you go, stick to the old query and want new changes, I fear its bit difficult and that he must go around to bypass only :)
use function to translate and replace points like this
Re: XML-22036 cannot convert XXXXX number
Tags: Business Intelligence
Similar Questions
-
Trinidad - config.xml, number-grouping-separator and decimal separator
Hello
Depending on my location of the application, the numbers are formatted into 1.234,56
Now, I want numbers to shape US flavor: 1,234.56
Here's my content in the file config.xml - Trinity :
<? XML version = "1.0" encoding = "windows-1252"? >
< trinidad-config xmlns = "http://myfaces.apache.org/trinidad/config" >
mySkin < skin-family > < / skin-family >
< number-grouping-separator >, < / number-grouping-separator >
> decimal separator <. < / decimal separator >
< / Trinity-config >
The file above is declared in the file web.xml (although I'm not sure this is really necessary):
< context-param >
javax.faces.CONFIG_FILES < param-name > < / param-name >
/Web-INF/Trinidad-config.XML < param-value > < / param-value >
< / context-param >
And an example of digital input text:
< af:inputText value = "#{row.bindings.Salary.inputValue}" label = "#{bindings. EmployeesView3.hints.Salary.label}.
required = "#{bindings." EmployeesView3.hints.Salary.mandatory} "columns =" #{bindings. "." EmployeesView3.hints.Salary.displayWidth}.
maximumLength = "#{bindings." EmployeesView3.hints.Salary.precision}"shortDesc =" #{bindings. " EmployeesView3.hints.Salary.tooltip}.
ID = "it5" >
< f: validator binding="#{row.bindings.Salary.validator}"/ >
< af:convertNumber pattern = "#{bindings." EmployeesView3.hints.Salary.format}"/ >
< / af:inputText >
Where the model is defined at the level of the Entity object: EO employees > attribute salary > UI tips > Format: #, # 0.00
But it does not work. I don't know what I'm missing... Help, please!
JDev 11.1.1.3.0Marge,
A number of things I found after I played with him (very simple example: HR schema / table Employees / salary attribute):
(a) the docs are wrong - there should be trinidad-config. XML
(b) no matter what I did with the af: convertNumber and the Trinity-config-xml delimiters picked up from my locale
(c) until... I took the advice of of EO (type attribute set to "" format) and then things started working - even deleted the attribute of the af model: convertNumber did not help. So, remove the tips of the EO and put "#, # 0.00" in the attribute of the af model: convertNumber and everything is good. I dropped an e-mail to someone at Oracle to report the bug in the documentation as well as the apparent bug that conversion does not work correctly if there is a hint of control on the attribute. John
-
Regex to allow only integer and decimal numbers.
Hi all
I need a regex to allow only integers and decimal numbers.
Examples:
100 licences
100.00 - Unauthorized
100 - unauthorized
100.11.22 - unauthorized
all characters other than numbers - unauthorized
I used the regular expression - ^ [0-9] +. ? [0-9] * $- but its allowing the "100" also.
Can someone help me solve this problem.
Your timely assistance is greatly appreciated.
Thanks in advance.
Hello
inDiscover wrote:
Hi all
I need a regex to allow only integers and decimal numbers.
Examples:
100 licences
100.00 - Unauthorized
100 - unauthorized
100.11.22 - unauthorized
all characters other than numbers - unauthorized
I used the regular expression - ^ [0-9] +. ? [0-9] * $- but its allowing the "100" also.
Can someone help me solve this problem.
Your timely assistance is greatly appreciated.
Thanks in advance.
Use
^[0-9]+(\.[ 0-9] +) ? $
to make the decimal point and the following figures (of which there must be at least 1), as a unit, as an option.
-
Every time I close Firefox and I have a tab open, it records the tab as if I had recorded as a group and it opens the next time I start firefox again.
You can check the startup parameter:
- Tools > Options > general > startup: 'When Firefox starts': 'Show my home page' "show a blank page.
-
I followed some groups and contributors
But did not get any updates by email all weekend.
Change something?
Thank you!
Holly
Make sure that you always follow these groups and that it contributes. Over the years, I found that from time to time the forum destroyed my following, and I need to re - follow the things that I'm interested.
I don't know if that's a problem, or if there is a way to ensure that the user is always really interested in getting these emails, and if they aren't, it will reduce the number of servers forum need to send emails. TOTAL speculation on my part, but it happened to me several times since 2005 when I began to participate in the forums.
-
Question
I pressed (Control) (offset) when to bet and my characters of Gmail (the full screenshot) reduced to about 25 to 35%. How to restore? I already signed my Gmail account, restarted my computer (Windows XP has) nothing works.'Ctrl + 0' (zero) to restore normal size
-
Tecra A9 - keyboard "unlocks" and bad characters are typed
Keyboard "unlocks" and bad characters are typed using the QWERTY layout. Have tried to change the language options with some success in the short term.
However changes in languages quickly becomes "unlocked".
How can I solve this problem?Advice please.
Thanks, MikeHello
To be honest, I don't know what you're talking about.
If your keyboard does not match the language of the keyboard, then you should change that and should add new language.In this case, you will be able to switch between languages, using SHIFT + ALT shortcuts
Of course, you can also remove the other languages. In this case, the SHIFT + ALT will not function.
-
Added properties (Group and channel) are not a numeric data type.
I use a use to add two groups and channel custom properties. The properties are text and digital, double and whole.
When I create a request in the browser, I selects the custom using the drop-down list property, but has only the drop operator "=" or "<>". "" The property is displayed in the data portal is a number of float. I had this problem when I was adding properties custom by using a script. I then tried "Navigatorinstallation / my Index DataFinder/Reset/Reset", then repopulated my search box, using the use on my raw data files. At this point, all the properties of my have only the "=" or "<>" choice of operator in the query.
It seems that my properties are digital in the data portal, but the the query string of the browser.
Thanks in advance,
Hi Bill,
You don't have to delete the files. Choose the NAVIGATOR menu "settings > My DataFinder > reset... '. "can clilck on the UPPER part of the two buttons, one called"reset the index. Which will remove all records in database and re-index all of your data files. If you one of these properties have already optimized, set their State not optimized before resetting the index, otherwise the optimized property data types will persist.
If this does not help, then the problem could be in the use that you use.
Brad Turpin
Tiara Product Support Engineer
National Instruments
-
How do you find the name of the Group and channel your TDMS file name?
How do you find the name of the Group and channel your TDMS file name?
Nevermind, I've used the file viewer.
-
Database Toolbox and Chinese characters
Hi all
I have a problem with a function where users can search inside a Microsoft SQL Server database for a specific entry.
I used the database with the DB tools tool run Query.vi, users can add keyword here for example. 'blue %' inside a control of the chain, then the request is passed to the DB.
(e.g. SELECT field1 FROM TABLE1 WHERE FIELD1 LIKE N 'blue %')
That works very well in the German version.
Now, the application is also used in China. As long as they are looking for ASCII characters everything works fine also. Now, they began to create entries with Chinese characters (which also works), but when they try to pick up some Chinese characters, they do not get a result. (when searching for entries with Chinese AND English characters and search for English characters all works too)
I do not use the Unicode functions, and the database field is an nvarchar.
Unfortunately I don't have a Chinese Version of Windows to do a few tests here.
Anyone an idea what could be the reason (Chinese codepage?) and how to solve this problem?
Thanks and best wishes,
Helmut
LabView 8.5 / Microsoft SQL Server 2008
You can try this test even without changine the code (language of non-unicode programs) page. First change your chain control '-' code display. In the places where the Chinese characters would appear, enter some hexadecimal codes above 7F by fleeing with a '-'. Here are the codes that are traditionally displayed differently depending on the settings of operating system as the language for non-unicode programs.
UPDATE table
Foobar SET = "test\AA\BB\CC\DD."
WHERE the blah - blah
SELECT foobar FROM table WHERE foobar LIKE 'test % '.
The returned string has \AA\BB\CC\DD after test? Now try...
Foobar SELECT FROM table WHERE foobar LIKE '% \AA\BB\CC\DD'
Get something? Try it now with the N prefix...
-
Major difference between the Group and the organizational unit?
Pls explain me what is the difference between the groups and the organization unit in simple terms with an example in real time.
Hello
https://en.Wikipedia.org/wiki/Organizational_unit _ (computing)
https://en.Wikipedia.org/wiki/Group _ (computing)
See you soon.
-
How to remove messages in Exchange 2010 by dates. in a group and exclude the Contacts, record retention and calendar.
I'm deleting emails from users in a group called MX_Purge file. I need to delete the emails date xx/xx/xxxx to xx/xx/xxxx.
I also need to exclude the excluded the following records 'calendars' folders 'Contacts' and 'Retention '.
The server people hang around more in the TechNet forums, if you ask, you will get a much better response:
http://social.technet.Microsoft.com/forums/en-us/Exchange2010/threads
-
WinXP
user belongs to a domain and user does not belong to the local administrator or power users groups, or any custom group and the user is not part of the domain administrators group, but user show that it is adminI did a gpupdate/force and restart twice PC
Yet, user indicate it is always admin when we right click on Start menu and see the possibility to open all usersHi elena_ad,
Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the public on the TechNet site. Please post your question in the below link:
http://social.technet.Microsoft.com/forums/en/winserverManagement/threads
-
M/S using wireless keyboard 800 and some characters are not displayed correctly
Have just connected a new wireless keyboard M/S 800, and some characters are not displayed correctly. For example, I get "when @ (update 2) is pressed on the keyboard and the £ runs it shift 3.» Am currently using XP SP3.
No problems with my original keyboard, Wired.
Hi simoncd.
What is your location. The reason why I ask this is that your keyboard is set to the standard UK layout. Looks like you have the keyboard for the U.S. keyboard layout. Shift + 2 is the "on the UK keyboard, @ on the U.S. keyboard."
To change the keyboard settings you must go to "Control Panel", then "regional and language options". The first page allows you to set the number format and character relative to your location and also set the location. Check these and modify accordingly so badly. You want to then go to the second 'languages' tab and click on the button "Details". Here you can set the default keyboard. This changes if necessary. This should, hopefully restore your keyboard to the presentation that you want.
-
What support DH Cisco ASA 14 group and more
What support DH Cisco ASA 14 group and more.
Model and IOS
Hi John,.
You must have ASA executes code 9.1 and above for DH group 14 and this only work for ikev2 only.
Kind regards
Aditya
Please evaluate the useful messages and mark the correct answers.
Maybe you are looking for
-
My question is.
-
HP Officejet Pro 6830 does not connect to WiFi
I got the HP Officejet Pro 6830 for 6 to 9 months, it has been great to work wireless any time. Three nights ago, we had a power outage, now the printer will not connect to the wireless router. He sees the SSID, but when I enter the password, it sa
-
Satellite L850 - special function key not working not properly
Hello world I had Satellite L850 bite of windows 8 64 (pskg8a-07f001) running for only 2 months.Only within this week, the special function key does not work do not, whenever I start the pc, I have to go into toshiba assist office then the function k
-
Problem syncing Email folders.
IAM difficult to synchronize my e-mail folders. Message appears. We will have a problem with synchronization of your e-mail folders. Change your synchronization schedule, or reduce the number of e-mail being synchronized. Error code: 0 x 86000112. Pl
-
How to remove virus from the "Windows xp recovery"
Hello My computer has been infected with the "windows xp recovery virus" which hinddering access to programs, sending some eror messages and hid program and office files. Can someone tell me how to remove this virus? Thank you Gravitas