File Browse field in other languages

Hi all
I'm using Apex 4.0.2 with theme Scarlet(21) and I'm writing from Italy (this could be important for someone to understand my Windows 7 settings).
When I put a File Browse control on a form, at runtime, I see the form with all the fields and label in English as I wrote them but my control is in Italian.
Is there a possibility to "customize" the control to obtain it in English independently from the local settings ?
Thanks a lot,
Massimo

Massimo,
I'm sorry.. I had different priorities today.
Have a look here:
http://www.quirksmode.org/dom/inputfile.html
Regards,
Richard
blog: http://blog.warp11.nl
twitter: @rhjmartens
If this question is answered, please mark the thread as closed and assign points where earned..

Similar Messages

  • File browse : How to keep the file path in the file browse field?

    Hello,
    I have
    1) file browse field called P2_FILE_PATH.
    2) a select list with submit : P2_REGION
    If i upload some file d:\abc.gif , then select some region in the P2_REGION,
    P2_FILE_PATH will become empty. But in the session, i can find the blob value. but not the "d:\abc.gif "
    Using the following script I could capture the value of P2_FILE_PATH in a field
    P2_TEST.
    onload="javascript:document.getElementById(P2_FILE_PATH').value = document.getElementById('P2_TEST').value;"
    P2_TEST contains d:\abc.gif .
    How to retain the file path, though some other field is selected and submitted?
    Thanks in advance.
    Regards,
    Archana

    Hello Archana,
    You can't do what you want because of some HTML security restrictions – nothing to do with APEX. As you found out, You can capture the value of this item. You can't set it. After submitting the page, the browser is the one to clear the item.
    The only workaround is to work with AJAX and not submit the page until the end of the user input phase.
    Regards,
    Arie.

  • File Browse filed in the manual tabular form

    Folks,
    I am using Oracle APEX 4.0. I want to create a tabular form with one column as File Browse field.
    I've created form using APEX_ITEM and file browse item using pure HTML tags as we do not have any such item in APEX_ITEM. So these fields are appearing now but how do I save uploaded files in APEX_APPLICATION_FILES and then in my table?
    Thanks in advance for your help.
    Regards,
    Chintan

    ChintanGandhi wrote:
    Can anyone please advice on this?My personal opinion is that tabular forms are evil: +{thread:id=850889}+. Trying to add file browsers to them only makes things much, much worse. (Take a moment to think about this: have you ever seen this kind of UI pattern on any decent website?)
    The advice therefore is to redesign this, build it using standard APEX components (form + report), and enjoy the rest of the weekend.

  • Modifying File Browse item through Javascript

    I would like to modify the value of a File Browse item with javascript in my Submit button under certain circumstances. I would like to remove the file name (and path) from the File Browse field, so that the file is not automatically uploaded when the Submit button is pressed. It would seem I could "null" out the filename within the javascript function and then follow that with doSubmit ('SUBMIT'). The rest of the page values would be posted to the database, but the file would not get loaded. However, I cannot figure out how to access and modify the filename in the File Browse field with javascript. I've tried using ".value" and ".src" but to no avail. Saw a thread that says there is a bug with File Browse items in versions earlier that 2.2 (I'm using 2.0), and that you needed to fall back on the "p_t xx" notation, but I can't find any information on what that is. Appreciate any help.

    I apologize for the multiple threads. The response to my initial inquiry on thread Inserting/uploading data without inserting/uploading a document was that "others" would be better equipped to help me than the initial responder, so I didn't think I was supposed to continue with that thread. (Haven't used this forum much.) I found a second thread (the one with the "p_tXX" notation, and responded to it, but wasn't sure if all older threads were still active, so I also iniitiated a thread on my own.
    In response to the inquiry about why not using an after submit computation to null out the File Browse item, what I am trying to prevent is the uploading of a file to the WWV_FLOW_FILE_OBJECT$ table, if there is an entry in my File Browse item, when all the user really wants to do is update some data items on the main portion of the page. I have a Apply Changes button on the main data entry form, and then I also have (at my user's request) a separate form and Submit button on the page where the user may enter a file name to upload. The trouble exists when the user is only trying to modify data in the main form, but has also left an entry in the File Browse item. When the page is submitted, the data is uploaded OK, but the file is also uploaded via HTMLDB_APPLICATION_FILES, since there is an entry in the File Browse item. What I'm trying to do, is clear that File Browse item out when the user presses the main form Apply Changes button, so that the file does not get uploaded. The users want the ability to upload a file, but only when that is their direct intent. Obviously, I do not want to clear out the File Browse item under those circumstances. Hope this is clear; sometimes difficult to satisfy the users needs (whims?). Appreciate any help.

  • File Browser capabilities for V1.6

    Hello,<br>
    I am using a File Browser to add/upload files to my reports just like the How To: Build File Upload/Download App. The reports are working fine and so are the files until I want to edit/update individual records. When the FETCH ROW is executed, all fields for that record are returned except for the File Browse field. My question is, can the File Browser be used to recall the file that was attached, so that the user can decide if they would like to edit/update that record with another file?
    <br>
    <br>
    Right now I have all the records fields returning data except for File Browser field that remains blank. When I click it, select a different file, then save, all the other fields are updated except for this one that continues to display the original attached file.
    <br>
    <br>
    The File Browser's setting are:<br>
    HTML Form Element Attributes:onchange="htmldb_item_change(this)"<br>
    Source Used:Always, replacing any existing value in session state<br>
    Source Type:Database Column<br>
    Maintain Session State:Per Session<br>
    Source value or expression:FILE_NAME<br><br>
    Thanks,<br>
    Leo

    Try this parameters....<PARAM NAME=cache_version VALUE=0.0.0.1><PARAM NAME=cache_option VALUE=Plugin><PARAM NAME=cache_archive VALUE=AnalyzerClient.jar>Comment first the ARCHIVE VALUE line parameter.Use this link for more information...http://java.sun.com/j2se/1.3/docs/guide/misc/appletcaching.html

  • "File Browse" type item: at what point the fields mime_type, file_name, last_update_date get their values?

    Hi there,
    I have an issue with "File Browse" type item, my question is: at what point the fields mime_type, file_name, last_update_date get their values? I want to add them to the collection but if I try to do it in Process "On Submit - After Computations and Validations" the values in those fields are still null (that's for the insert, and for the update they have old values). Also I don't seem to be able to add blob to the collection ("File Browse" type item (which has the source as blob database column) can't be assigned as parameter p_blob001 of APEX_COLLECTION.ADD_MEMBER, error is: PLS-00306: wrong number or types of arguments in call to 'ADD_MEMBER').
    What I am trying to do is this: I have parent table (TABLE1), and child table (TABLE2).  In TABLE2 I store documents. I have a main page that is form on TABLE1, and on it I have button "Add documents" that opens popup window with form on TABLE2. On submit of popup page I want to avoid inserting document into TABLE2, instead I want to send data to the main page (using collection) and insert in only once the main page is submitted.
    I would appreciate any advice on this...
    Thanks,
    Tanya

    Hello Tanya,
    Can you post your PL/SQL code which you are trying?
    Regards,
    Hari

  • How Does The Browser Know The "File Name" field in the "Save As" dialog

    Hi!
    I have a servlet called co.com.SomeStaff who reads a binary file from the server an sends it to the breowser.
    The Browser opens the "Save As" Dialog whith the value "co.com.SomeStaff" in the File name field, but and I need the name "SomeBinariFile.exe" instead.
    How can I change that value?
    Thanks All.

    Use <%
    response.setHeader("Content-Disposition", "attachment; filename=filename.2save");
    %>

  • Excel files with fields linked to other excel files take a long time to open from SharePoint library

    Trying to track a problem for a user.
    Most of the documents opened from our SharePoint libraries appear to open in a timely fashion.
    But...one user has noticed an issue, and I just noticed something with her files that are a little less common than other stuff we've seen.
    she has a lot of pricelist excel files.  there are some master price list files, and then other files that link to fields from within the master files.
    the files that contain links to other files appear to be the ones that open very slowly.
    the files are being opened via excel itself, not the owa viewer or editor.
    is there a trick to setting up either the library, the site, site collection or web app... or some client-side setting that affects how quickly/efficiently excel will open files that link to other excel files shared within sharepoint?

    Hi  carphuntin_god,
    According to your description, my understanding  is that when you click a hyperlink which redirect to other files , the file are opened very slowly via excel client.
    How about you download the same file and open it using excel client? If it is opened quite fast, the issue should be caused by some third-party add-ins in the office program or antivirus soft.
    Here is a similar thread you can have a look:
    http://social.technet.microsoft.com/Forums/en-US/ff0c5306-5300-4010-a760-c4cca320b6fc/excell-file-taking-long-time-to-open-and-edit?forum=officesetupdeploylegacy
    http://social.technet.microsoft.com/Forums/en-US/5c746958-418a-44f6-a777-9f8bddf6dbb6/sharepoint-file-open-takes-long-time?forum=sharepointdevelopmentlegacy
    If you want to open the files using excel service after click the link in the excel file, you can create the hyperlink in the following way:
    General Syntax:         
    http://<server_name>/<site_name>/_layouts/ xlviewer.aspx?id=<workbook path>&range=<location>
    For example:              
    http://CorpServer/DeptA89/_layouts/ xlviewer.aspx?id=http://Mfct/Stats/Shared%20Documents/Parts.xlsx&range=Widgets!A1:F25
    For more information: 
    http://office.microsoft.com/en-001/sharepoint-server-help/using-hyperlinks-in-excel-services-HA010173679.aspx
    If you want to open the files using Office Web Apps after click  the link in the excel file,  you can create the hyperlink in the following way:
    http://<server name> / <site name> / <library name>/<your file name> ?web=1
    For example:
    http://sp/Shared%20Documents/exceltest.xlsx?Web=1
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • How to send other language data into excel file in attachment thru mail

    Hi - ,
    I have to send other language data (russian) into excel file and send as an attachment through e-mail.
    I had used F.M SO_NEW_DOCUMENT_ATT_SEND_API1 to send email.
    In internal table , it is in correct format, but when using SO_NEW_DOCUMENT_ATT_SEND_API1, the excel file sent has junk characters in it.
    Can u please help me on this?
    Thanks,
    Gyanaraj

    Hi ,
    Can anyone help me on this.
    Thanks,
    Gyanaraj

  • Making PDF Files Viewable In Other Languages

    I have a fairly large PDF file, about 150 pages written in English that I'l like to make available in Spanish, Italian, German, etc.  Is there an easy way to do this?
    Thanks!

    beerguy99 wrote:
    One would think this would be integrated within Acrobat?  Isn't that kind of "within the meaning of the application itself"?  It does install multiple languages.
    No. Acrobat is mainly an aplication to create PDF files. Not do translations. I think you may have misunderstood the whole "install multiple languages" thing. That's so people can view PDF's in other languages. Not so they can translate them.
    beerguy99 wrote:
    Even if the translation was not 100% perfect I would think there's an easy way to do this as I've seen so many miniscule software apps (which don't generate much revnue) available in a zillion languages.  I'm sure these people aren't hiring translators.
    I am responcible for a lot of translations (sending them out to be done, not doing them myself). If you aren't looking for something that is 100% correct then, the applications "may" do an ok job. But they don't take regional dialects in to account at all.
    Try one of those applications. Translate something from say English to Spanish. Then translate it back and see what you get. Usually it's a mess.
    Again, if you aren't worried about accuracy and have no reason to worry about offending someone, go for it. We had someone try and use an app once (without our knowledge) to translate something to Spanish. One of the phrases that they came up with basically called anyone with HIV "dirty people".

  • Dynamic action on File browse change event

    Hi Experts,
    apex version 4.1
    This is what i'm trying to do..
    i have a file browse control and a text field. when user selects a file, selected fiel's name (without file type extension) should be set to text field.
    I tried adding a dynamic action to file browse control's change event and within pl/sql Set Value logic i queried the wwv_flow_files and tried to return the file name it didn't work. i got no data found error. i assumed file is being inserted into wwv_flow_files when a page submission happens.
    In my second approach within the SetValue pl/sql logic i got the file browser control's (by directly accessing field, not by querying wwv_flow_files)value and did some string manipulation and tried to return only the file name. yet i got the same no data found error.
    Any idea how can i implement this ?
    Thanks in advance.
    - kurubaran

    Hi,
    I think PL/SQL approach will not work before you submit data to database.
    Have you think use $v function to get value from file browser?
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/javascript_api.htm#BGBGDGIH
    Regards,
    Jari
    My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • How to populate DB column with filename from file browse item?

    Hi,
    Using APEX 3.1.2, I'm trying to easily allow maintenance of a filename stored in a DB column (VARCHAR2(1000)). Using the column as a file browse item seemed to be the way to go, but of course I don't want the resulting file to be uploaded and it appears as though an existing filename is not shown in a form when the row is retrieved.
    After much searching, I found Checking filename length in File Browse item before uploading , but I'm not able to connect the dots. I was thinking that I could create a hidden file browse item and use a button to call Javascript function to activate it, then save the resulting filename to my DB column item and wipe out the hidden item before it was uploaded. But the hidden item doesn't appear, so I'm not able to reference it's form input name.
    Hopefully this mess makes sense. Anyone?
    Thanks!
    Rich
    Edited by: socpres on Sep 5, 2008 2:02 PM because message was truncated after attempting to preview it first.

    Hi John,
    From what I can tell, the path of a local file browsed from a file browse item cannot be retrieved because of security concerns. Although, it seems that while Firefox 3 only returns the filename sans directory, IE6 returns the full path:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
    <head><title>Form Test</title>
    </head><body>
    <script type="text/javascript" language="JavaScript">
    function GetDirectory()
    strFile = document.FileForm.filename.value;
    intPos = strFile.lastIndexOf("\\");
    strDirectory = strFile.substring(0, intPos);
    alert(strDirectory);
    document.FileForm.Directory.value = strDirectory;
    </script>
    <form id="FileForm" name="FileForm">
    <input type="file" id="filename" name="filename" value="" onChange="GetDirectory(this.value)">
    <input type="hidden" id="Directory" name="Directory" value="">
    </form>
    </body>
    </html>
    This Win-specific code displays the path via IE6, but not in Firefox 3. Then again, I can't seem to preview posts here using FF3, either...
    Rich

  • Using File Browse to update stored file

    Hi all,
    I have a form with a File Browse item on it which is (surprisingly!) used to upload a file and associate with a record. The filename is stored in a varchar column in the table. This works fine when I create (INSERT) the initial record and I can retrieve the stored file just fine. However the problem I have is when I want to update the uploaded file. It seems the normal mechanisms for update / save requests don't apply to uploaded files. My other attributes get updated fine but the new uploaded filename is not reflected in the table.
    I've put together a simple example of this on a when apex.oracle.com :
    http://apex.oracle.com/pls/otn/f?p=40740
    Which has two fields, a file name and an 'attribute'. Try as I might I can't update the file name although the attribute changes just fine.
    Any suggestions will be much appreciated. I realise I may be missing something fundamental here and am more than happy to be enlightened.
    FYI, the purpose for such functionality is to allow users of our system to store a photograph of themselves along with their details. This functionality is required to allow the photograph to be updated if required.
    Thanks,
    Steve

    If i am not mistaking, using a file browser item type will not set the uploaded file (blob) in this item, to be processed in the standard processing on you're page.
    In a recent project i wrote a stored procedure for handling with uploaded files. This procedure, which based on the filename ( Fnnnn/<filename> ) , select the uploaded content through apex_application_files, the location apex saves the files. and procedure outputted the file as a blob, which then can be used to insert/update in youre table
    Hope this example code will help you:
    procedure upload_bestand( p_file_name in varchar2
    , p_file out nocopy blob
    , p_filetype out nocopy varchar2 )
    is
    -- Cursor voor bepalen bestand uit apex_application+files
    cursor c_file ( b_file_name in varchar2)
    is
    select aaf.filename
    , aaf.mime_type
    , aaf.blob_content
    from apex_application_files aaf
    where aaf.name = b_file_name
    r_file c_file%rowtype;
    begin
    open c_file ( b_file_name => p_file_name );
    fetch c_file into r_file;
    if c_file%notfound
    then
    -- Upload van bestand niet geslaagd
    close c_file;
    raise e_file_err;
    end if;
    close c_file;
    -- Geupload bestand uit temp_upload tabel verwijdern
    delete from apex_application_files
    where name = p_file_name
    commit;
    p_file := r_file.blob_content;
    p_filetype := r_file.mime_type;
    end upload_bestand;

  • Error in Browser field of  XML Form

    Hi All,
    We have recently upgraded our portal system from NW 7.00 (SP23) to NW 7.01 (SP09).
    Post upgrade we are facing an issue in XML forms for file browser element.
    On the XML forms we have an element u201Cfile browseru201D which we use for attaching documents as attachments in the XML forms.
    After upgrade, when we select a document using this element u201Cfile browseru201D, the file path is getting uploaded in the field without the file name. Hence after saving the XML forms when we try to display it and open the attachment in the XML forms, it is giving the following error.
    The folder you are looking for has no displayable content. You can try one of the following:
    u2022     Access the folder using the Navigation user interface.
    u2022     Access the folder as a Web folder. Your operating system and browser dictate whether or not this will work.
    Example : Suppose we are attaching a file f1.xls  in /documents/images folder, the path captured in the browser textbox is /documents/images  (it should be /documents/images/f1.xls).
    This was working fine before the upgrade to NW 7.01 SP09.
    Our system is already running LIVE on production and we are facing major issues due to this problem. Kindly provide a solution at the earliest.
    Regards,
    Nitesh

    It was a bug .
    SAP released two new patches
    EPBC209P_10-10005895
    SAPJTECHS09P_16-10005886
    issue resolved after patch application.
    Regard,
    Nitesh

  • File Browse is emptied after failed validation

    Why does the file browse text box get emptied after a failed validation? Is there any way to prevent this?
    To further explain, create a form on a page with two page items, a text box and a file browse item, then put a not null validation on the text box. When you submit the page with a null text box, but with a file selected for the browse button, then validation catches and throws the error message back to the user when the page refreshes. However, the file browse text box is emptied, and the user has to reselect the file before resubmitting the page.
    Is this a bug, or just the way it is supposed to work? Any way around it?
    Thanks,
    Kris
    Edited by: kshenn on Oct 31, 2008 7:06 AM

    Hello,
    >> Is this a bug, or just the way it is supposed to work?
    This is not a bug. Actually, it has nothing to do with APEX. The behavior of the file browse item is controlled by the HTML standard, which clears the field for security reasons.
    If you pay close attention to Denes example, you’ll see that even when the validation error page is displayed, the file browse item itself is being cleared. The JavaScript generated file path is the one that retain its value. I don’t have access to Denes code, but I’m assuming that in his uploading procedure he’s using the JavaScript generated path.
    >> Any way around it?
    Where the file browse item is concern, no workaround.
    In your specific case, where the validation you need is “not null”, you can create a JavaScript validation, and fire it before submitting the page (as part of the submit button). That way, the browser will not clear the file browse item, because the page will not be submitted without proper values in your items.
    Regards,
    Arie.

Maybe you are looking for