Currency Symbol displays correctly locally, but not when I deploy to server
Hi have some number fields, where I set the control hint on the view to Currency format. When I run locally, everything displays properly: $1,234.56
But when I deploy my application to our development server, the $ is coming up as a ¤1,234.56. This happens to all my currency fields, not matter what object is displaying it.
I've seen one other post that talks about using a numberConverter tag everytime I display the values, but I'd prefer to stick with "best practice" of using the control hints. Especially since it works fine locally, I have to think this is some sort of server side setting that I am missing. Does anyone have any idea what might be happening here?
The ¤ symbol is a "neutral" currency symbol, it is used if no locale can be determined (no matter if you are using control hints or converters). Try setting a default local to your application on the faces-config.xml file.
<?xml version="1.0" encoding="windows-1252"?>
<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee">
<application>
<default-render-kit-id>oracle.adf.rich</default-render-kit-id>
<locale-config>
<default-locale>en</default-locale>
<supported-locale>en</supported-locale>
</locale-config>
</application>
</faces-config>Hope this helps.
Similar Messages
-
Locale Currency symbol present in Win but not Linux
I am trying to get the currency symbol for the locale en_NZ (English, New Zealand), which is '$'. However, it works on Windows, but not on Linux. On linux it returns "NZD" which basically means it did not find the symbol for the locale. I am using 1.4.0 on both linux and windows, I even tried overwriting jdk/jre/lib/ext/localdata.jar on the linux system with the one on the windows system, and it still doenst find the symbol.
I have also iterated through all available locales for both the linux and Win JREs, and en_NZ is available.
Has anyone come across this problem?
Thanks
- Adam LangleyYou have complete faith in that dont you?
It doesnt work. well, it works, but the Symbol is not found. Not on Linux. And the AU symbol is not fuond on Windows when it is on linux. Very annoying really.
I have quite alot of experience with i18n, and cant see why this wouldnt be found. the libraries are available, but not returning the currect data for some reason.
Try both of these.
System.out.println(java.text.NumberFormat.getCurrencyInstance(new Locale("","AU")).getCurrency().getSymbol()); // SHOULD RETURN $, but WIN=AUD, LINUX=$
System.out.println(java.text.NumberFormat.getCurrencyInstance(new Locale("","NZ")).getCurrency().getSymbol()); // SHOULD RETURN $, but WIN=$, LINUX=NZD -
Flv player works locally but not when uploaded
Another day, another issue...
I have a flash movie that includes an flv player with previews and buttons. It reads the content from an xml file.
It works without problem when I test it locally. Trouble is when I upload it, everything displays correctly but the flv movie file doesn't play. Here's the test link:
http://www.swsoftware.com/ncjhs/assets/video/flvplayer.html
XML file is http://www.swsoftware.com/NCJHS/Assets/Video/video.xml
Flash file is http://www.swsoftware.com/ncjhs/assets/video/flvplayer.fla
Anyone have any suggestions? I'm new to flash and this forum has been a tremendous help in resolving my (somewhat numerous) problems.
SamWhen I tried to view the posted url I got the following
errors in the order I have listed them.
CSInit is undefined Line 23
Line 75 Object Expected
Line 66 Object Expected
My Platform.
IE 7
Windows XP Pro -
Dynamic Parameter List works on desktop but not when run on Crystal Server
Hi,
I have a report, and the database command query takes one parameter ({?Year}. There is a second parameter used for a record select which is a dynamic paramenter list (multiple select, required). When running the report from Crystal Reports 2008 on my desktop, it first prompts for a year, and then once that is entered, it will come back with the list (of Companies) to select from. It works very smootly and as desired.
But when I load this report to Crystal Reports 2008 Server, it will ask for the year (which is a static list), and this is good, but then it comes back with an empty dynamic select list on the next screen.
Are there any special caveats that I need to be aware of in regards to dynamic lists when running from the CR server?
Thanks!Hi Pat,
This should work but a couple of things to check:
1) Are the two parameters linked to the same database? If the parameters are linked to fields from different tables in different databases then you need to make sure you set the Database Configuration and have the report log on to both databases.
2) Are Crystal Reports and Crystal Server the same version? I had problems with parameters after we upgraded to 2008. We had to install the latest service packs for both Crystal 2008 and the Enterprise Server. Then we installed Crystal 2008 on the same machine the Enterprise Server was on. Crystal Reports and the Enterprise Server share some common files. Some of those files were updated for Crystal but not for the Enterprise Server yet. Once we synched them our reports have run fine.
Good luck,
Brian -
Cfmail - works locally but not when uploaded
Hi,
I'm using cfmail with form variables for the email addreses.
It's so users can send email to political candidates. Here's the
code:
<cfoutput>#Form.semails#</cfoutput>,<cfoutput>#Form.hemails#</cfoutput></p>
<cfmail to="#Form.semails#,#Form.hemails#"
replyto="#Form.useremail#" failto="[email protected]"
from="#Form.useremail#" subject="Keep Maine Toxin-Free!"
server="mail.nosuch.com" port="26" timeout="40"
username="[email protected]" password="nosuch">
#Form.usermessage#
</cfmail>
The form submit page collects those variables and passes them
as form variables - GET. The "to" field in cfmail is populated by
hidden fields that contain session variables... they're forwarded
on as those .semails and .hemails form variables. Actual values
have been replaced with "none" or "nosuch" for security, but you
can see the structure anyway.
This works when run locally, sends the emails as it should.
When uploaded exactly as is to godaddy's server, it doesn't send
emails. Doesn't throw any errors, the form results page displays as
it should... but the emails just never get sent.
I'd really appreciate any ideas...
JoeAdam Cameron wrote:
> I don't know how these shared hosting outfits work, and
what access you
> have to what, but here's some questions:
>
> - have you inspected the mail logs to see if they cast
any light on the
> scene
> - have you configured CF to tell it where the SMTP
server is?
> - do you need to authenticate to it, and that sort of
thing?
> - are the email messages failing @ the CF end (in which
case they'll be in
> the mail/undeliverable dir (not entirely sure that's the
name of it, but
> have a shufti around in the cfusion dir...), or are they
getting to the
> SMTP server and failing there (check the SMTP server's
logs).
>
Unfortunately all that can't be done by us users of these
shared hosting
outfits. You'll need to contact GoDaddy support and ask them
to take
these steps. I'm sorry about your probably experience with
this.
While I use GoDaddy for my personal hosting where I care more
about not
spending a great deal of money over high performance. I do
not wish my
support experiences on anybody. If you know ColdFusion well
and can
tell support what needs to be done, they should be able to do
it. Or,
more likely, you would be able to figure out the self help
tools to do
it yourself. But, unless this has changed since my last
experience,
their support staff is not ColdFusion literate and are unable
to guide
other, inexperienced ColdFusion users.
Saying all that. Email works just fine on my GoDaddy website
and I do
not believe I had to do anything special to use it. -
Azure SQL database working locally but not when published to Azure
I have an
AngularJS solution that is connecting to a SQL Azure database. When
I run the solution locally, it’s configured to connect up to the SQL Azure database, the solution works fine. However,
when I publish the solution to Azure the connection to the SQL Azure database does not work.
When debugging with Chrome I get the error Failed to load resource: the server responded with a status of 500 (Internal Server
Error)
I'm not using EF. but dapper.
My connectionstring is as follows
<add name="PortalConnection" providerName="System.Data.SqlClient" connectionString="Server=tcp:xxx.database.windows.net,1433;Database=xxx;User ID="xxx";Password="xxx";Trusted_Connection=False;Encrypt=True;Connection
Timeout=30;"/>
When I run the web solution locally from Visual Studio, my sql queries runs like it should, it's only the published version having problems.
Any ideas?
Software DeveloperHi,
Thanks for answer.
I had followed that step by step guide for deploying to Windows Azure. So that was not the problem.
But I was able to get a better error message by turning off custom error in web.config.
I got the error message: "Windows login are not supported in this version of SQL Server"
I solved this by using the SqlConnectionStringBuilder instead of getting the connection string from
web.config.
So everything works great now, just think it's strange it worked locally before..
Regards
-entery
Software Developer -
Var Request Works Locally but not when Placed Online
When I run this code on machine locally, it works perfect, however when I put it online it no longer works, can anybody help?
Additionally the only the reason i placed the var request in a function was because I have another var request earlier in the code as was not sure how to run it without a duplicate entry error.
goresult();
function goresult() {
var request:URLRequest=new URLRequest("http://www.whichpartyshouldivotefor.co.uk/wp-content/themes/test/leadingparty.php");
request.method=URLRequestMethod.GET;
var getresult:URLLoader = new URLLoader();
getresult.dataFormat=URLLoaderDataFormat.VARIABLES;
getresult.addEventListener(Event.COMPLETE, completeHandler);
getresult.load(request);
function completeHandler(evt:Event) {
var conservativeresult=evt.target.data.conservative;
var libdemresult=evt.target.data.libdem;
var labourresult=evt.target.data.labour;
trace (conservativeresult);
vote.text = conservativeresult;My best guess is that you are coming across a security sandbox violation - AKA a crossdomain scripting error.
This means that you need a crossdomain.xml on the root of your web-host that allows "whichpartyshouldivotefor.co.uk" -
Preloader: works locally but not when live
1. give that you have website A, website B and local
directory structure
2. give that you have a class based (see code snippet 2
below) 444k swf
sitting on website A
3. give that you have a preloader swf on the local directory
structure
[that uses code in CODE SNIPPET 1]. _debug.text shows that
bytes total is
454103 and that the preloader rises smoothly up to that
point. great!
4. give that you move said preloader swf on to website B.
_debug.text
shows that bytes total is -1 for a bit, then undefined
and.... that's
about all until the swf actually finishes loading at which
point we
briefly see 454103 before displaying the swf
eh?ok, the trick is to use MovieClipLoader instead. its
onLoadProgress method does just the job you want... :)
thank &*$£ for that. :) -
Report works in Crystal Reports, but not when scheduled in Crystal Server
Hi,
I have a pretty simple report designed in Crystal Reports 2008. Basically it shows a list of call notes (memo field) from customer activities in our CRM system. The report works fine in Crystal reports, but when run or scheduled in Crystal Server 2008 the output is always blank. Furthermore, the page format etc. is "lost" in crystal server, so that the output is PDF of a quadratic blank sheet (not my standard A4 format)... Exporting to other formats - excel, Word etc. all gives the same result.
I have tried to strip out various formulas, formatting etc from the report, but nothing helps. Which leads me to thinking that the real problem is that the report contains a memo field? Anyone else had this problem?
wkr
Claus
Edited by: Claus Poulsen on Nov 9, 2010 3:34 PMHi Claus,
I've had issues between what Crystal does and what the Report Server does. To resolve this, we found out Crystal Reports 2008 latest service pack has some things that will fix Server 2008 and they aren't in the latest Server update.
We updated Crystal Reports 2008 on our machines. Installed the latest update for Crystal Server and then installed Crystal 2008 on the Report Server and installed the Crystal Reports 2008 update. A lot of our compatibility issues went away after that.
Good luck,
Brian -
ACE connection refused but not when accesing directly the server
Hello,
I am facing the following problem when I try to load a specific webpage using the VIP:
If I skip the load balancer and hitting the real server, then the page is correctly loaded:
I capture traffic and I saw that the VIP sends a 400 http error to both real server and to my laptop IP (10.160.8.73)
Has someone any idea why this is happening?
Thanks in advance
IonHi,
This may help you:
The ACE's tengig port is always /1.
Let's say your ACE is in slot 3. It's backplane interface would then be
Te3/1. You then use
the monitor command to configure the source (SPAN) port to this interface.
monitor session 1 source interface TenGigabitEthernet 3/1 both
monitor session 1 destination interface GigabitEthernet x/y
monitor session 1 filter vlan 510 - 511 , 640 , 652 - 656 <---- Line
is optional and will capture only specified VLANs
Configure the destination (SPAN) port as a trunk port so that the VLAN IDs
will be preserved:
interface Gix/y
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
Be sure that the network analyzer connected to the destination port can
monitor VLAN tags
(a trunked port). Here is a link on how to configure NICs using some of the
Intel chipsets to
pass the VLAN tagging info:
http://support.intel.com/support/network/sb/CS-005897.htm
Wireshark has posted this info, as well as how to configure NICs with the
Broadcom chipset:
http://wiki.wireshark.org/CaptureSetup/VLAN#head-e0dc0f9fe0cc6b1b1866d78da7b97ead34dca1d8
With IOS Release 12.2(18)SXD and later releases, when a destination port is
a trunk, you can
use the list of VLANs allowed on the trunk to filter the traffic transmitted
from the
destination port. This should not be necessary if you configured the
optional 'filter' line
in the monitor session configuration.
interface Gix/y
switchport
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 102, 103
switchport mode trunk
switchport nonegotiate
For additional information, see:
http://www.cisco.com/en/US/docs/switches/lan/catalyst6500/ios/12.2SXF/native/configuration/guide/span.html#wp1036881
http://www.cisco.com/en/US/products/hw/switches/ps708/products_tech_note09186a008015c612.shtml#topic6
Cesar R
ANS Team -
Why won't CSS changes save - Are Reflected Locally, but not there when uploaded.
I have recently re-installed Dreamweaver CC 2014.1.1. I am editing an existing site http://www.travelight.tv/test.html. CSS changes won't save (i.e ".righthalf" and <strong> and H3.) I finally replaced the class with a table for the sake of time. Still can't save <strong> and H3 changes. CSS Designer Panel correctly shows the H3 font and the hex color (ee5e33) - but the color palate shows black. The uploaded document reflects gray. The changes are reflected properly locally, but not when uploaded to server. The time/date stamp doesn't update, despite saving several times. What am I missing?
Sorry about that, I managed to get the test URL wrong. http://www.travelight.tv/test/index.html. I had to remove the righthalf class from the document, but the <strong> and <h3> tags are still having issues.As for the location, I am opening the one that is linked to the document from the bar at the top of the document - it is the only one named travelight.css. When I logged in this morning, I noticed that it is showing the icon as a Wordpad document even though the File Type shows it as a Cascading Style Sheet - I have tried saving it as an html file and have re-created it, but it remains a Wordpad document. Below is the a screen shot of the folder.
-
Flash videos showing locally, but not on my site. help please
Hi,
I converted several avi's to flash, I then inserted the FLV
file into and html file in dreamweaver.
The flash files will play locally, but not when i upload them
to web server. Check it out here please
http://kdsi.org/kds/demo.html
please check the demos above to see what i mean. I just get a
blank page.
Anyway to insert video into the page like youtube? (instead
of the "demo video" button have the video embedded and just click
play to play it. without using the popup like i did.)
thank you.
thanksHi,
I am sorry i did not get what you mean with the last
sentence, but generally, this may be a path problem, you need to
check your FLV path and make it meet the path on the server not the
local machine. -
Swf works locally, but not on server
I have an issue with an xml-driven swf file. It plays fine when I test the site locally, but not when it's uploaded to a server. Here is a link to the page. There are many posts on this and other forums describing the same problem, though I can't find the right solution. The only thing it has convinced me of, is that it is probably a pathing problem. I purchased the file online, and instead of one swf and one xml there are about ten of each to make it work. In addition to this there are about 40 .as files. (all this to make it "easier" to customize). Since I plan to use this banner rotator on multiple pages, it will be very unconvenient to upload all these files for every page I make. I checked with support for this product, and was told I could make a flash directory, only duplicating the xml-files for each new page and linking the xml back to the swf-files. Otherwise the support answer was very short and unhelpful. I have renamed every path in the xmls so that it should be right. As I said, the file works locally, so I'm not sure what I am doing wrong.
I have posted in adobe forums before, and I have alwas found helpful and kind responses.
Thank you,
SiriThey're all uploaded to the server, it is also possible for me to dowload them from there. When i run the main swf file through flash player debugger, I get this message:
Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: file:///Users/Siri/Documents/gullstolen/hjemmeside/flash/produkter/deploy/xml/abrMain.xml
at com.sQrt121.utils::CustomLoader/configureLoader()
at com.sQrt121.utils::CustomLoader()
at com.sQrt121.utils::LoadJob/initJob()
at com.sQrt121.utils::LoadJob()
at com.sQrt121.utils::ContentLoader$/addJob()
at AbrMain/init()
So I guess it can't locate the xml folder (since it is not there), but I don't know how to change the path. I can change it in the xml, pointing to the swf, but how do I do it the other way?
This is the main xml-file:
<?xml version='1.0' encoding='UTF-8'?>
<abrMain
width = "300"
height = "250"
pauseOnOver = "off"
>
<item swf = "/Users/Siri/Documents/gullstolen/hjemmeside/flash/produkter/deploy/abrcontent.swf" xml = "xml/abrContent.xml" config = "xml/config.xml"/>
<item swf = "/Users/Siri/Documents/gullstolen/hjemmeside/flash/produkter/deploy/abrbuttonscolor.swf" xml = "xml/abrButtonsColor.xml" config = "xml/config.xml"/>
<item swf = "/Users/Siri/Documents/gullstolen/hjemmeside/flash/produkter/deploy/abrpreloadercircle.sw f" xml = "xml/abrPreloaderCircle.xml" config = "xml/config.xml"/>
<item swf = "/Users/Siri/Documents/gullstolen/hjemmeside/flash/produkter/deploy/abrpreloaderline.swf" xml = "xml/abrPreloaderLine.xml" config = "xml/config.xml"/>
<item swf = "/Users/Siri/Documents/gullstolen/hjemmeside/flash/produkter/deploy/abrplaypause.swf" xml = "xml/abrPlayPause.xml" config = "xml/config.xml"/>
</abrMain>
the abrMain.xml tells the swf what files it shold use, and where to find them, but where do I tell the abrMain.swf to find the xml? Maybe this is an issue for product support instead, though they only answer short and cryptic.
Murray *ACP* wrote:
None of your SWF files are found in the location where the page's code places them.
For example:
<param name="movie" value="../../../flash/produkter/deploy/abrmain.swf" />
Did you upload them? -
Flash Video plays locally, but not on web
I have a htm page that I have inserted a Flash Video. It
plays locally, but not when I have it on the web. I get nothing -
no skins, nothing. If I rt click, there are the settings for flash.
I have the scripts in my scripts folder - double checked that. Can
anyone see what I'm doing wrong?
Here is the link.
http://www.metuchen-edisonymca.org/video/test.htmright off the top ..
You have two script calls to the Scripts folder and file ..
one is root
relative and the other goes up one level. One of them needs
to be removed.
Nancy Gill
Adobe Community Expert
Author: Dreamweaver 8 e-book for the DMX Zone
Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
2003)
Technical Editor: Dreamweaver CS3: The Missing Manual,
DMX 2004: The Complete Reference, DMX 2004: A Beginner's
Guide
Mastering Macromedia Contribute
Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
Web Development
"motomoto111" <[email protected]> wrote in
message
news:fm8808$7lo$[email protected]..
>I have a htm page that I have inserted a Flash Video. It
plays locally,
>but
> not when I have it on the web. I get nothing - no skins,
nothing. If I
> rt
> click, there are the settings for flash. I have the
scripts in my scripts
> folder - double checked that. Can anyone see what I'm
doing wrong?
>
> Here is the link.
>
>
http://www.metuchen-edisonymca.org/video/test.htm
> -
Flash Vidio plays locally, but not online - Help!
I have a htm page that I have inserted a Flash Video. It
plays locally, but not when I have it on the web. I get nothing -
no skins, nothing. If I rt click, there are the settings for flash.
I have the scripts in my scripts folder - double checked that. Can
anyone see what I'm doing wrong?
Here is the link.
http://www.metuchen-edisonymca.org/video/test.htm"motomoto111" <[email protected]> wrote in
message
news:fmbc9v$l68$[email protected]..
>I have a htm page that I have inserted a Flash Video. It
plays locally, but
>not
> when I have it on the web. I get nothing - no skins,
nothing. If I rt
> click,
> there are the settings for flash. I have the scripts in
my scripts
> folder -
> double checked that. Can anyone see what I'm doing
wrong?
>
> Here is the link.
>
>
http://www.metuchen-edisonymca.org/video/test.htm
Make sure your server is configured to serve .flv files. Ask
your host if
there is a mime type set up for that file extension.
Al Sparber - PVII
http://www.projectseven.com
Extending Dreamweaver - Nav Systems | Galleries | Widgets
Authors: "42nd Street: Mastering the Art of CSS Design"
Maybe you are looking for
-
Adobe Photoshop CS2 crashes under Mac OS 10.411
Hy, I have a Big Problem with Adobe Photoshop CS 2 under Mac Os 10.4.11. When i click the Photoshop CS2 Icon then Adobe Photoshop crashes. I delete all file in Preferences and Library and reinstall Adobe Photoshop CS2 - its the same Problem. I don´t
-
Image resolution for Photoshop EPS bitmaps
Greeting all, I've posted about getting image resolution before and have a script we've been using with great success but I just learned from my operator that the script never returns the resolution for Photoshop EPS bitmap files. I'm using .Graphics
-
*Hello* **I recently got an imac. I am trying to put my photos from my old laptop to the imac. I can't use the usb or the cd dvd drive on the laptop to transfer my photos. I have tried emailing the photos. But my email only lets me email 4 photos at
-
Working with WebCenter Portal & ADF Skin Editor Together
Hi all. I want to ask to webcenter community developers about the best practice to work with ADF Skin Editor for WebCenter Apps. I usually deployed my ADF Skin JAR Libraries as Shared Libs and consumed them from pure ADF Applications without problems
-
Hi all: Recently upgraded to Lion 10.7.3 now on Safari 5.1.3, It loads fairly well on most anything, but there are certain pages that it hangs and never completes loading on 2 or 3 specific and particular pages, that I never had a problem to load wit