Page 1 of 1

changing the default message

Posted: Wed May 25, 2011 3:16 am
by mwhiting
Hi - is there a way to change the message that shows up "Select or drag and drop file to upload"?

Thanks.

Re: changing the default message

Posted: Wed May 25, 2011 7:10 pm
by support
Sure, use "resources" parameter and update this text in i18n.properties file. See the following tutorial to update any resource:
http://www.jfileupload.com/products/jfi ... ation.html

Re: changing the default message

Posted: Fri May 27, 2011 3:44 pm
by mwhiting
Thanks - I have it working now, I can change the message.

I noticed on the info page you supplied under the 'look & feel' section, where they are demonstating changing to a native look & feel, that the pictures have a "Select file(s)" button next to the cancel button. How do I turn that button on? I tried uncommenting the following code:

Code: Select all

filechooser.dialog.open.button=Open
filechooser.dialog.open.button.tooltip=Open file or folder
lines in i18n.properties, but no effect.

Also, I am curious what these lines will do if uncommented (and perhaps enabled too):

Code: Select all

#filechooser.dialog.enterkey=disabled
#filechooser.dialog.lnk=disabled

Re: changing the default message

Posted: Fri May 27, 2011 4:42 pm
by mwhiting
OK, I got the file chooser to work fine now. I uncommented the

Code: Select all

progress.button.select=Select file(s)
line in the porperties file.

I would still like to know what the other two lines do though.

Code: Select all

#filechooser.dialog.enterkey=disabled
#filechooser.dialog.lnk=disabled

Re: changing the default message

Posted: Fri Jun 10, 2011 12:53 am
by mwhiting
Thanks - I have now found and am using the properties file.

I would like to remove the initial message and separator bar text from the initial display, but still be able to use a separator bar later on between subsequent messages. I have deleted the content of the initial message and the dashes of the bar, but is there a way to have nothing display initially and still show a separator later?

Also, is there a way to have the progress bar (of the upload) only appear when the upload begins, and not be there all the time. My boss feels it suggests that the upload is already in progress, but is not progressing, when in fact it hasn't yet begun. (before files are selected)

Michael

Re: changing the default message

Posted: Mon Jun 13, 2011 8:13 pm
by support
You can modify the separator in i18n.properties too. Just replace it by a space
For initial message in progress bar, only JBatchUpload add-on allow it.