Several File Browse in region

Hi,
I need to upload 2 files simultaneously, so I added 2 file browse items to a region and a submit button. When I press the submit button both files are uploaded to the wwv_flow_file_objects$ table, but in my After Submit process it only gives me the name of one of items ... the other is NULL, even thought the uploadded file as a name. What's wrong?
Do you have any idea what I might be doing wrong?
Thank you,
NV

Problem solved... Just redone the all region..
Don't know what was wrong as I did everything as before
Thanks anyway,
NV

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.

  • Different issues with file browse item

    Hi everybody,
    I'm trying to create a file upload page using the file browse item. To achieve this I followed the how-to document :
    http://download-west.oracle.com/docs/cd/B19306_01/appdev.102/b16376/up_dn_files.htm.
    I've created my own table to store the documents as I store some extra information.
    When I test this functionality I discovered many issues.
    - If I upload a PDF file this gives me HTTP 404. When I go back, choose the same file with the browse button and upload again this will pass.
    - If I upload a file with spaces in it's name this file will be uploaded twice. (I see the same file two times in the table with 2 different names.
    - At random times I will just arrive at a blank page after clicking the upload button. It appears to me as this will happen more often when I use a double-click to select the file in the browser dialog compared to selecting the file and clicking open. However, I suppose this is just coincidence. It happens in both cases. I'm confronted with the problem with small files (1k, 4k) as well as with larger files (6m)
    - Like I said before, I store some extra information as well. In some cases this information is stored with the document. In some other cases he takes the description from a previous document to store along with the new document. I suppose this is some kind of session problem probably caused by the other problems I currently have and the fact I press back quite often in my browser (each time I arrive at a blank page)
    Version of HTML DB 2.1.0.00.05
    (Included with Oracle 10g express edition)
    I read several posts on this forum before creating my own thread.
    -> I found several discussions about the size of the file but the problem exists for files of 1K as well so I don't see a link with those discussions.
    -> I found several discussions about security and tablespace quota. I granted unlimited tablespace to each and every user : flows_020000, flows_020100, flows_files, htmldb_public_user and the user who is used in the application.
    Tx very much for your help!
    Kris

    Hi Kris,
    I think you're problem is coming from local session info... using the back button is not that good. Put a back button in your application ;-)
    An other thing I wonder is; are you developing and testing on the same machine and at the same time? - I did that before and that gave me some problems. Now I'm developing in Firefox and test with IE or vice-versa.
    Dimitri

  • File browser not functioning correctly in some programs...

    I'm not sure if I can blame this on Finder, but I am pretty sure it is related. If it's not, please point me in the right direction. =)
    When in various programs, via the browser for opening a file or adding an image, etc. a certain directory (on a network drive) is showing several files that don't exist, and won't display the live contents of that folder. It looks as though it's showing a cached view of that folder. Is there some way to clear this cache, or have it update its view?
    The problem is NOT present when using Adobe Photoshop CS2, and Adobe Illustrator(my understanding is these use their own cache/browser,) but IS present when using some other Adobe software.
    It is ALWAYS happening in MS software(word, powerpoint,) Quark, as well as other programs made by different vendors. The fact that it happens in software made by different vendors has me thinking it's an Apple-related or Finder-related issue rather than that software specifically.
    Any ideas?
    Thanks!
    Mac OS X (10.4.9)
    Mac OS X (10.4.9)

    Did you check the locale settings on your Windows machine?

  • File Browse

    Hi,
    I have a problem with file browser item.
    I have a table with a BLOB column (and another column).
    I have a region based on this table.
    I have a file browse item based on blob item.
    I use this sintax on item source: COLUMN_PHOTO::::::
    When I save my application and selected an image i don't have problem.
    When i save my apllication and NON select an image i have this error:
    "ORA-06550: riga 1, colonna 39: PL/SQL: ORA-009"
    Excuse for my bad english.
    Lorenzo
    Edited by: user1748814 on 12-nov-2008 6.10

    if you're simply trying to track extra info about the files you've uploaded into your wwv_flow_files view of wwv_flow_file_objects$, that's pretty well explained at File Download and somewhat at File Upload ( again! ) and Referencing Uploaded Files . if you're really trying to capture the path to the file as it was stored on your local machine at the time of upload, that's a much trickier matter. as opposed to a regular text field like...
    <INPUT TYPE="text" NAME="p_t02" SIZE="30" MAXLENGTH="2000" id="P9_LOCAL_PATH" >
    ...File Browse item types use html like...
    <input type="file" name="p_t01" size="30" >
    ...to facilitate this file upload stuff. after fiddling around a bit and talking to our UI guy, i'm currently under the impression that capturing the path to the uploaded file from your local machine is prevented by design. you might be able to use javascript to somehow trap the value shown on your screen before the upload occurs, but it didn't seem trivial after my cursory investigation. that's not to say that it's not possible, i just don't know the javascript off-hand.
    hope this helps,
    raj

  • File in File Browse item disappears if validation fails on any item ....

    Greetings:
    I'm using APEX 4.0. I have a region with 7 data elements, one of them being a File Browse page item. The BLOB file loads in the WWV_FLOW_FILES table first, then in the "After Submit" page processing, I move the BLOB into my own custom table. This works great in normal processing.
    However, if any of the other data elements in this region fails validation, the page renders with the validation messages, but the file in the File Browse page item disappears. Therefore, the user would have to re-select the file to upload before they resubmit and process the page again.
    How can I avoid this? Why does the path and file name disappear when page validation fails?
    Thanks,
    Stan

    bondurs wrote:
    Greetings:
    I'm using APEX 4.0. I have a region with 7 data elements, one of them being a File Browse page item. The BLOB file loads in the WWV_FLOW_FILES table first, then in the "After Submit" page processing, I move the BLOB into my own custom table. This works great in normal processing.
    However, if any of the other data elements in this region fails validation, the page renders with the validation messages, but the file in the File Browse page item disappears. Therefore, the user would have to re-select the file to upload before they resubmit and process the page again.
    How can I avoid this? Why does the path and file name disappear when page validation fails?It is a required security feature. Per the HTML specification, APEX will not render a value in a file browse item on page show. This protects the user from nefarious persons changing the file item value during spurious "failed" validation (hoping the user is distracted correcting the "failed" item and does not notice) in order to capture a file the user does not intend to submit (e.g. /etc/passwd).

  • File Browse Item in APEX versions prior 4

    Hi there,
    we are currently struggling with a strange issue concerning the File Browse Item in earlier APEX versions: The item value is not submitted correctly when using APEX Listener. There is always a F<randomnumber>/ as prefix that is not visible anywhere in the page source code (so it's not generated by APEX itself) or browser (Firebug trace didn't see any prefix transmitted) and this value is even there when the file browse dialogue is submitted empty. The latter case causes severe problems, as validations fail to detect null values. Our current workaround is a regex on that prefix, but this obviously is no clean solution.
    We found out that F<randomnumber>/ is the prefix of the name that is created temporarily in WWV_FLOW_FILES. If submitted correctly, the name is prefix + actual filename.
    This problem does not occur when using OHS and it does not occur when running the APEX Listener on top of APEX 4.0.2.
    The problem occurs reproducible in the following environments:
    - APEX Listener 1.1.2 standalone or any JEE Container, JDK 1.6.0_26, Linux or Windows
    - APEX 3.1.2 or APEX 3.2.1
    The problem seems to be related to the one discussed in {thread:id=2205973}, but describes some different effect that is not reproducible on OHS.
    I appreciate every clue where this may come from and any hint on how to turn it off...
    Thanks,
    Udo

    Hello Claudio,
    After reading this story, I have same problem with version 1.1 of the apex listener and version 4.1 application express.I still think it affects only versions prior to 4.0. I'm not able to reproduce it on 4.1.
    How do I resolve this problem?I think you ran into a bug in GlassFish 3.1.2. This has been discussed and resolved here: {thread:id=2357381}
    I hope this helps you solve your problem.
    -Udo
    P.S.: Please always open a new thread if you are not sure you are in the same situation and especially when the original thread is long "dead" like this one. Of course you can reference other threads with possibly similar issues in your thread.
    Thanks!

  • File Browse Item in Master-Detail Form

    Hi,
    This is what I need to do.
    I have a master table called Regulations. As part of the Regulation Creation process, users need to upload supporting files. The number of files is not fixed, so I have a detail table for the uploaded files. I was planning to create a Master Detail form and have a File Browse item in the detail region? Is there a way I can put a File Browse item in the detail region of the Master Detail form?
    Any other implementation suggestions are welcome.
    Thanks,
    Ramesh

    See
    http://the-stickman.com/web-development/javascript/upload-multiple-files-with-a-single-file-element/
    It has some interesting implementation ideas relating to your question.
    Also see
    Upload Multiple Files
    Re: insert multiple files from a single form

  • Sloooow file browsing....

    Hi all
    Just got a new Mac Pro (YAY!)....
    One thing kind of bugging me is how slow it is when displaying the contents of folders.
    I keep my windows in columns view. When I click on a folder, there is a lag of 2 or 3 full seconds before the contents of the folder displays in the next column. This happens for every level of the folder contents and so file browsing is very slow and tedious.
    It was not like this on my old Macbook under Tiger, and I am wondering if other people have this experience or if it is unique to my system.
    Possible culprit.... I have my files on a 1TB drive, which I did not partition because I have been led to believe it is not necessary with new drive technology.
    Running 10.5.2, 10GB ram, system and apps are running on a 320GB internal, files are on a 1TB internal, and 1TB internal for Time Machine.
    Anyone have any thoughts that might be helpful?
    Thanks!!!!
    V Silly
    http://www.bittybox.com
    http://www.myspace.com/bittyboxdotcom

    I use File Manager, and although it does not supot FTP its a pretty good manager. With several cloud options. 
    https://itunes.apple.com/us/app/file-manager-free/id479295290?mt=8
    However, a quick google search of the App store revealed this:
    iUnarchive Lite - Archive and File Manager with support for Dropbox, Box, Skydrive, SugarSync, WebDAV en FTP
    https://itunes.apple.com/us/app/iunarchive-lite-archive-file/id380663019?mt=8

  • Prepopulate data in File Browse in APEX

    Hi,
    Here is what I am trying to do and yet unable to figure it out -
    I have a record in a database table with one of the field being the BLOB type.  I need to update several data fields for this record but need to leave the BLOB data untouched. 
    I have a APEX form for this.  On the form, the BLOB data field is displayed as a "File Browse" item (say, File ABC) and is a required field.  However, I am having problems retrieving the corresponding data from the database.  Upon submit, the form always fails with a message saying "File ABC must have some values".
    How can I go about pre-populating the data for this "File Browse" item?  I just need the BLOB data staying untouched and yet being able to bypass the validation for an update of the entire record.
    Any suggestion is highly appreciated.  Thanks in advance!
    Ning

    951789 wrote:
    Please update your forum profile with a real handle instead of "951789".
    I have a APEX form for this.  On the form, the BLOB data field is displayed as a "File Browse" item (say, File ABC) and is a required field.  However, I am having problems retrieving the corresponding data from the database.  Upon submit, the form always fails with a message saying "File ABC must have some values".
    How can I go about pre-populating the data for this "File Browse" item?  I just need the BLOB data staying untouched and yet being able to bypass the validation for an update of the entire record.
    You can't. For security reasons the value of the file browse item cannot be set on the server.
    Make the validation on the file browse item and processing of the uploaded file conditional, for example making it mandatory on insert (when the row PK item is null).

  • How to drive bridge like a file browser

    File browsers normally have an address bar, or box showing current address, and allowing user to type in addresses.
    Why does bridge not have that feature?
    With that missing, bridge, instead of being a file browser is really about half of a file browser.
    Then even using the limited folders dialog, on windows 7 I sometimes see differences in what bridge is able to see, and what a real browser sees.
    An example might be when bridge is started by way of being called to download pictures from a connected camera, C:\users\<USER>\My Pictures... is no where to be found when browsing with the `folders' dialog, although it is clearly visible to real browsers.
    In fact if I drag an image from that directory to bridge preview pane, in the past, that would instantly show in the folders panel, and I would see the exact folder I just dropped the image from... Not so, on my new windows 7 installl with CS4 installed.  At least it is not always the case.
    Instead of the folder view snapping to the folder where the image came from it just snaps to the top level `computer' folder.
    But if I close bridge and restart it, then the folder view starts to behave more normally.
    This occurs regularly if bridge is opened by way of connecting my camera and choosing bridge as the tool to open the pictures.
    Closing and reopening corrects the behavior.
    But back to the lack of a navigation box:  With that missing, I find it necessary to do a lot more traipsing through the filesystem than should be necessary.   I have to clickety clack my way to foldes several layers deep in the filesystem rather than typing a quick address and going directly there.
    Several versions back some kind soul wrote an add-on the created a navigation box... But far as I know, there isn't one for recent versions of bridge.
    I'm really curious why something so basic and so obviously usefull would be left out in version after version of brigde.
    Are there any add ons that add a navigation box to bridge?

    HarryPutnam wrote:
    File browsers normally have an address bar, or box showing current address, and allowing user to type in addresses.
    Why does bridge not have that feature?
    Are you using bridge cs5?  In cs5 you can use the path bar directly to type in an address.  Click on the last item in the path bar to open bar for editing at that folder.  Clicking on a higher level item/folder will open the path bar for editing at that folder.  For example, navigate to <username/My Pictures>.  In the address bar you should see Desktop > user > My Pictures.  Clicking on My Pictures will change the address bar into one that you can type in: <C:\Users\username\Pictures.\        >.  If you click on the username you should see <C:\Users\username\      >.  Type away!

  • Is there a file browser which can play DVD contents from Time Capsule?

    Using File Manager (free Zheng) app I can reach all my files on the Time Capsule (3TB) from my iPad Air2 (64GB). Also I am able to play video content MP4. So far so good.
    However I have also several DVD VOB files of homevideo. These I can play on my iMac using DVD player or VLC.
    Is there a way to play the DVD content just as easy as the MP4 files do on my iPad? Most file browser do not support this.
    I have read a solution to perform it via a server via my iMac. However this is not to my liking.
    Should it be possible to re-direct a file URL to lets say VLC player like Stratospherix filebrowser can do?
    Is there a good file browser which can play VOB DVD contents?
    Can anybody help me before buying several apps and perform the trial and error method ?

    I'd recommend File Explorer (orange icon on the iOS app store) - find your NAS with it and try and play your media. It has a video decoder built in so should be able to handle your MP4s. If not, Plex is very good - but would require £2.99 and your Mac to be on when you wanted to watch on your iPad. Let me know how you get on.

  • File browsing bug?

    Hi
    Today a bunch of nice Chinese hackers were trying to get remote access to my tomcat server (6.0.24).
    I booted them out after a few minute they were in trying to load their root kit package. The interesting part is, after I cleaned everything, I took a quick look at their software (their rootkit webapp) and it's pretty interesting.
    The root kit gives the user total access to the system and allowing the user to traverse outside of the tomcat container. What is bothering me, even though Tomcat is running on top of JVM, why didn't Tomcat developers protect against access outside of its own container?? From that webapp i could access the drive root like it's just a regular file browser, and execute commands as SYSTEM (equivalent to root user in linux based systems), doesn't make any sense in my mind.
    is this an expected behavior or did I miss something in the security configurations?
    The root kit is a modified JFilder class. I cannot attach a file here but I can send it by email if anybody wants to install it on their system to play around with it offline.
    best!

    Tomcat runs on a JVM and the JVM generally has full system access, except the parts you protect on the OS level of course.
    However, it is possible to install security policies in the JVM itself - a good example of that is the sandbox in which Java Applets run which is severely limited. So with some work you can protect your system in any way you want.
    [http://java.sun.com/javase/technologies/security/|http://java.sun.com/javase/technologies/security/]
    (what will interest you is what is written under "authentication and access control").

  • File Browser with multi select....

    Is it possible to have a file browser with multi- select??? I have several (possibly dozens) of files in a directory that I'd like to up load using a file browser style item, but be able to select several at a time to up load rather that doing them on at a time. Is this possible???

    Different idea, look at this thread, where you could just have multiple file upload capacity in a form.. The multi-select with browser I believe is NOT possible with current version of APEX.
    how to Upload Multiple Files
    Thank you,
    Tony Miller
    Webster, TX

  • Pse2 inability to view file browser tree

    i cannot get the file browser tree to open in the top left pane. i have a gray file folder icon, but cannot get it to expand to show file folder grouping. photoshop elements 2. xp. it used to work before i had to reformat my drive, requiring reinstallation (which i have tried several times)

    Try to import some images and the expand the tree view.

Maybe you are looking for

  • Sharing out a printer via SMB on Lion

    I have a complex situation where we share out a printer from a Mac workstation to a windows computer in another location. It worked fine until we replaced the Snow Leopard Mac with a Lion one. Now, the windows computer no longer sees the printer, eve

  • Bug in faces-config.xml parser?

    According to the spec, the FactoryFinder is supposed to call the one-arg constructor taking the Abstract factory. For instance, I have this factory class: public class ExtendedLifecycleFactory extends LifecycleFactory {   public ExtendedLifecycleFact

  • Can jmf broadcast mp3 files?convert mp3 to wav format to enable streaming?

    Hello... can jmf broadcast mp3 file format audio files.. so that it can accessible.. since it is playable... or does it require conversion to another for in audio in order for it to be streamed on LAN... Thanks and more power to JAVA..

  • Video(s) on wb page show up as a blck rectangle

    Whenever (85% of the time) a video is supposed to show on the web page, all I get is a blank rectangle. I have to copy the URL and go to the IE browser where the video plays as intended.

  • Video Capture using VFWCapture

    Hi, I have been looking in the JMStudio source code for a solution to my problem, but no luck so far. Specifically, I have been concentrating on VFWManual, which uses the VFWCapture class and sets the desired format. However, I never can get any vide