Welcome Guest! You need to login or register to make posts.



Go to last post Go to first unread
#1 Posted : Monday, November 10, 2008 11:45:14 PM(UTC)

Rank: Newbie

Groups: Member
Joined: 11/10/2008(UTC)
Posts: 1

We're localizing the image uploader.

We've specified MessageSwitchAnotherFolderWarningText (which needs to be multiple lines) as a string with "\n" (backslash, 'n') in it for newlines. That works for the ActiveX version of the control, but the Java version (seen on Mac OS X with Firefox 2 and 3) is showing the entire message on one line, with the window sticking off the sides of the screen.

The example (seen here in help) shows the string literally split into multiple lines, but that's not valid JavaScript and causes errors in Firefox.

Here's our java version.

$ java -version
java version "1.5.0_16"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b06-284)
Java HotSpot(TM) Client VM (build 1.5.0_16-133, mixed mode, sharing)


Edited by user Wednesday, November 12, 2008 3:49:03 PM(UTC)  | Reason: Not specified

#2 Posted : Wednesday, November 12, 2008 3:47:23 PM(UTC)

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)

Image Uploader Java supports html tags in text fields. So you can use the following setting for Java version:


iu.addParam("MessageSwitchAnotherFolderWarningText", "<html>The first line<br>The second line</html>");
Sincerely yours,

Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.