file service upload page button and text not showing well.

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

xren
Ebase User
Posts: 272
Joined: Fri Dec 14, 2012 2:55 pm
Location: Ottawa

file service upload page button and text not showing well.

#1

Postby xren » Fri Jul 31, 2015 7:32 pm

Hi,

I am using the FileService upload function.

The Upload and Cancel button only show two very narrow buttons with no words on them.

The functions work fine.

And all the text on that page do not appear.

How this can be fixed?
0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

#2

Postby Jon » Mon Aug 03, 2015 12:52 pm

It sounds like the texts are missing for the language the form is using. The texts for the "Upload" and "Cancel" buttons are system texts 322 and 323. You can check these with Tools > System Texts in the designer.
0 x

xren
Ebase User
Posts: 272
Joined: Fri Dec 14, 2012 2:55 pm
Location: Ottawa

#3

Postby xren » Tue Aug 04, 2015 3:52 pm

I can see them under Tool/System texts maintenance
0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

#4

Postby Jon » Tue Aug 04, 2015 4:43 pm

Can you check if the other system texts display ok. If you display a list (any type of list will do) do you see "Please Select" at the top of the list? This is system text 21. If it's missing, it implies that the form is running in a language for which there are no configured texts. You can check the runtime language with script statement form.language. If you don't explicitly specify a language, this should be the default language which is usually EN.
0 x

xren
Ebase User
Posts: 272
Joined: Fri Dec 14, 2012 2:55 pm
Location: Ottawa

#5

Postby xren » Tue Aug 04, 2015 7:19 pm

Hi Jon,

No "Please select" text for a list.

I run the script form.language, the result is: EN

Then How this can be fixed?

Xiaoli
0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

#6

Postby Jon » Wed Aug 05, 2015 8:17 am

Xiaoli,

I haven't seen this before. I don't know why all your system texts are missing. I still think that the most likely cause is a mismatch between the runtime language and the language the system texts are configured in. Though it looks as if both will be English (EN) on your system. Have you made any configuration changes to the languages setup?

Things to try (one at a time):
1. Delete all files in UfsServer\tomcat\work\Catalina\localhost\ufs and restart the server.
2. Export system texts (They are under "System" in the export dialog). Check the export file contains the correct content e.g. for system text 21, you should see the English "Please select" text like this:

Code: Select all

<text textId="21">
  ..
  <languageText>
    <languageId>EN</languageId>
    <content>Please select</content>
  </languageText>
</text>
Then re-import the export file.

Regards
Jon
0 x

xren
Ebase User
Posts: 272
Joined: Fri Dec 14, 2012 2:55 pm
Location: Ottawa

#7

Postby xren » Fri Aug 14, 2015 8:43 pm

Thank you Jon.

The issue has been fixed. I exported the system text from my development server and imported to this testing server. It works fine now.

Xiaoli
0 x


Who is online

Users browsing this forum: No registered users and 27 guests