File upload uix controller (how to access/save file name in DB returned by

sorry i am new in uix xml.
my question is how to save/access file name in DB returned by FileUploadManager.
I have used example Using a Controller in ADF UIX. Its uploading the file fine but i am not able to save this filename in DB so that i can access later.
I only want to upload the files in Web Server not DB so only i need file name to save in DB.
anybody can help me.

you can use the movieclip properties, currentLabel (the current or previous, if there is no current, frame label), currentFrameLabel (may be null ) and currentLabels (an array of the movieclip's frame labels).

Similar Messages

  • How to access XM attribute name in servlet ?

    Hi All,
    Anybody please tell me how to access attribute name in servlet ?
    Thanks

    Hi All,
    I have modified the source code of af:showDetailItem as following:
    <af:forEach items="#{bindings.VerticalAppMenus.children}" var="globalMenu" varStatus="globalMenuVarStatus">
               <af:showDetailItem text="#{globalMenu.MenuLabel}" id="sdi1" disclosureListener="#{pageFlowScope.globalMenus.refreshLineMenus}"
                 disclosed="#{(pageFlowScope.globalMenus.currentVerticalMenuId == globalMenu.MenuId) ? true : false}">
                  <f:attribute name="currentVerticalMenuId" value="#{globalMenu.MenuId}"/>
    </af:showDetailItem>
    </af:forEach>For the code *disclosed="#{(pageFlowScope.globalMenus.currentVerticalMenuId == globalMenu.MenuId) ? true : false}"*, at runtime it is giving the following error:
    *java.lang.IllegalArgumentException: Cannot convert 32 of type class oracle.jbo.domain.Number to class java.lang.Long*.
    Is there any way to cast the long to number or number to long in EL?
    Any help will be highly appreciated
    Thanks ... Best Regards
    Bilal
    Edited by: Bilal on 04-Apr-2012 19:32

  • How to access PO host name in SAP BPM

    Dear experts,
       I want to give BPM inbox link as a customized message to "potential owners" in "Email Notification" step in BPM. I want to identify the <hostname> and generate the BPM inbox link. Is they any way to access the host name as "system variable" in BPM?
    Thanks!
    Amulya

    Thank you for your reply Siddhant.
    Ya, I am aware of NWA config to get an automated email for human activity. The reason I can not use this option because, automated email can not be customised. I have the requirement to customize the email with some payload variables.
    I have implemented some workaround to get the host name in BPM.
    Thanks and Regards,
    Amulya

  • How would I save and name multiple images automatically acquired from a Imaqdx camera?

    I have a code that can save images however, there is a need for user input when it comes to saving the images.
    I also attached the code.
    Attachments:
    CodeForPictures.vi ‏116 KB

    Hi Theydon,
    The number of photos is going to be set by how often you are calling that IMAQdx Snap.  This right now is going to be limited by the prep time between shots.  If you make it so the loop will run more than once a second, you will get more photos.  
    Secondly, why do you have that while loop around the write to file?  You don't actually need it, and this is probably what is causing the files to skipover those files.  If you would still like to decide whether or not to save the image, you could use a case structure instead of this while loop. 
    Cheers,
    Marti C
    Applications Engineer
    National Instruments
    NI Medical

  • Ref Cursor - how to access through parameter name

    Hi,
    I'm using the below table and sample data. The below script named 'Script1' works well, my concern is values for the first and second parameters need to be used for the thrid and fourth one as well.
    When I try with 'Script2' it gives "ORA-01008: not all variables bound ORA-06512: at line 17" error. I know Paramterized cursor can handle this effecively, since it is a dynamic SQL, I need to use from a parameter table, I don't have any control over the number of parameteters, parameter name, type and other things. So, I cannot go for parameterized cursor.
    As of now, for my requirement, Script1 works fine, is there any way to make Script2 to work as well, I need to pass paramters by name, not by position, please give your suggestions, thank you.
    CREATE TABLE T1
    F1 NUMBER(5),
    F2 VARCHAR2(100),
    F3 DATE
    Insert into T1
    (F1, F2, F3)
    Values
    (1, 'One', TO_DATE('08/02/2012 07:43:34', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into T1
    (F1, F2, F3)
    Values
    (2, 'Two', TO_DATE('08/02/2012 08:15:24', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into T1
    (F1, F2, F3)
    Values
    (3, 'Three', TO_DATE('08/02/2012 08:16:34', 'MM/DD/YYYY HH24:MI:SS'));
    COMMIT;
    Script1:
    declare
    TYPE t_ref_cursor IS REF CURSOR;
    v_cursor t_ref_cursor;
    v_query_str varchar2(3000);
    v_f1 number(5);
    v_f2 varchar2(100);
    v_f3 date;
    begin
    v_query_str := 'SELECT f1, f2, f3 from t1 where f1 = :p1 and f3 = to_date(:p2, ''DD-MON-YYYY hh24:mi:ss'') union ';
    v_query_str := v_query_str || 'select 1, ''c1'', sysdate from dual where not exists (select 1 from t1 where f1 = :p3 and f3 = to_date(:p4, ''DD-MON-YYYY hh24:mi:ss''))';
    --dbms_output.put_line(v_query_str);
    open v_cursor for v_query_str using 1, '02-AUG-2012 07:43:34', 1, '02-AUG-2012 07:43:34';
    loop
    fetch v_cursor into v_f1, v_f2, v_f3;
    exit when v_cursor%notfound;
    dbms_output.put_line(v_f1 || ' ' || v_f2 || '' || v_f3);
    end loop;
    dbms_output.put_line('rowcount ' || v_cursor%rowcount);
    close v_cursor;
    end;
    Script2:
    declare
    TYPE t_ref_cursor IS REF CURSOR;
    v_cursor t_ref_cursor;
    v_query_str varchar2(3000);
    v_f1 number(5);
    v_f2 varchar2(100);
    v_f3 date;
    begin
    v_query_str := 'SELECT f1, f2, f3 from t1 where f1 = :p1 and f3 = to_date(:p2, ''DD-MON-YYYY hh24:mi:ss'') union ';
    v_query_str := v_query_str || 'select 1, ''c1'', sysdate from dual where not exists (select 1 from t1 where f1 = :p1 and f3 = to_date(:p2, ''DD-MON-YYYY hh24:mi:ss''))';
    --dbms_output.put_line(v_query_str);
    open v_cursor for v_query_str using 1, '02-AUG-2012 07:43:34';
    loop
    fetch v_cursor into v_f1, v_f2, v_f3;
    exit when v_cursor%notfound;
    dbms_output.put_line(v_f1 || ' ' || v_f2 || '' || v_f3);
    end loop;
    dbms_output.put_line('rowcount ' || v_cursor%rowcount);
    close v_cursor;
    end;
    /

    This link shall answer your Question. PL/SQL Dynamic SQL.
    If it had been an Anonymous Block, your code would work through.
    Please see demonstration below:
    create or replace procedure emp_data (dep_id    number, sal   number, emp_id    number)
    is
      l_cnt   number;
    begin
      select count(*)
        into l_cnt
        from hr.employees
       where department_id = dep_id
         and salary >= sal
         and employee_id > emp_id;
      dbms_output.put_line('Count :: ' || l_cnt);
    end;
    declare
      l_cnt           number;
    begin
      execute immediate 'begin emp_data(:1, :2, :2); end;' using 20, 100;
    end;
    anonymous block completed
    Count :: 2
    --Trying the Similar example as in your OP.
    --Execute the same Select statement as in emp_Data with Bind Variables;
    declare
      l_cnt           number;
    begin
      --execute immediate 'begin emp_data(:1, :2, :2); end;' using 20, 100;
      execute immediate 'select count(*)
        from hr.employees
       where department_id = :1
         and salary >= :2
         and employee_id > :2' into l_cnt using 20, 100;
      dbms_output.put_line('Count :: ' || l_cnt);
    end;
    Results in error :- ORA-01008: not all variables bound

  • How do you add File name to returned forms as a field

    I'm sure this can be done just not sure how, I have begun a database using returned forms but want a field/footer at bottom of page showing the file name of the returned form so that each returned form can be identified easier for the purpose of the database. That is when I look up the dataset file I wouls like file name as one of the fields. The files use the format Sub Defect Form (1), Sub Defect Form (2), Sub Defect Form (3) etc etc. It is this file name I want to include in the dataset information and as a field on the bottom of the returned form. Any help with this would be much appreciated.

    Now it's taking hours for emails.
    Not good.
    Bob

  • XML element name contains (.) periods, how to access each element value?

    Hi All,
    This is the xml that needs to be processed.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <com.companyx>
    <person>
    <employee.data>
    <employee.name>mrx</employee.name>
    <employee.number>1001</employee.number>
    </employee.data>
    <employee.data>
    <employee.name>mry</employee.name>
    <employee.number>1002</employee.number>
    </employee.data>
    <employee.data>
    <employee.name>mrz</employee.name>
    <employee.number>1003</employee.number>
    </employee.data>
    <page>0</page>
    </person>
    </com.companyx>
    Please tell me how to access the <employee.name> value of
    the first <employee.data> element.
    An early help is much appreciated.......
    Thanks in Advance,
    Vijay Karthik

    Give this a try... should do the trick
    trace(myXML.person["employee.data"][0]["employee.name"])

  • Running CS6 on Mac OS 10.9.5 - File Name Change - Flash

    - When one of my students was working with Flash they some how managed to save their name to the program so that when you create a new file their name is part of the file name. I am unsure how to remove this as I don't see anything in the preferences panel to change this so the example would be ** joe smith : untitled-1.fla** Suggestions???? Thanks!!

    reset preferences -
    after effects:  http://helpx.adobe.com/after-effects/using/preferences.html
    flash:  http://helpx.adobe.com/flash/kb/re-create-preferences-flash-professional.html
    illustrator:  http://helpx.adobe.com/illustrator/using/setting-preferences.html
    indesign:  https://forums.adobe.com/thread/526990
    photoshop:  https://forums.adobe.com/thread/375776

  • Wait_for_file() not working for certain file names

    Data Services Version: 12.1.1.3
    OS: Windows Server 2003.
    Hello,
    I'm using wait_for_file to poll for files in a certain directory. I've used this in the past for other projects and never had an issue until now.
    What seems to be happening is with certain file names, wait_for_file is returning a 1 (meaning at least one file found), however the file list is coming back as blank.
    For example:
    If I put a file name called cs.p.P110113CN.b.110114 in the directory, I get a blank return file list.
    If I then rename this to 110114, it works fine.
    Here's the code I'm using:
    wait_for_file($GV_InputDirectory || '*',0,0,1,$GV_InputFileName);
    $GV_InputDirectory varchar(1000)
    $GV_InputFileName varchar(100)
    Any ideas why this might be happening? Renaming the file isn't really an option as it's a standard format that we've used for years.
    Edited by: Craig Cartmell on Mar 7, 2011 11:16 AM

    Hi,
    Thanks for the reply.
    $GV_InputDirectory is set to
    wcs-dev-boweb2\c$\DebtManager\Dev\Interfaces\Bulk Payments\Agency\credit-security\Input\.
    I'm wondering if it's something to do with the length of the directory/filename combined?
    If I place a file called "110114" in there, wait_for_file() works perfectly. If I change it to "cs.p.P110113CN.b.110114", I have problems.

  • Getting jar file name with wrapper

    Hi,
    I'm using [java service wrapper|http://wrapper.tanukisoftware.org/] to launch my project,
    with the command
    File jarFile = new File(main.class.getProtectionDomain().getCodeSource()
              .getLocation().toString());witch opens the jar file name, this command returns the following
    file:C:/wrapper/../lib/project.jar
    this string raises the exception java.lang.IllegalArgumentException: URI is not hierarchical
    Is there any other why to get the application jar name ?, thanks

    Hi, the is the answer of my previous question
         public static String getJarNameURI () {
             String pathrojar = main.class.getProtectionDomain().getCodeSource()
                     .getLocation().toString();
             if (pathrojar.charAt(5) != '/')
                pathrojar = pathrojar.replace(":", ":/");
             return URI.create(pathrojar).normalize().toString();
    File jarFile = new File(getJarNameURI ());

  • How can I save adobe reader file from gmail into my adobe reader app?? i would like to open one file in place where I'm not able to access internet and for that reason i would like to save it. is that even possible?

    How can i save adobe reader file from my gmail into my adobe reader application. or is there any other way i can save it into my phone so I'm able to open in any situation not just from my gmail???

    Long hold on the document in mail and it should give you the open in... option, select adobe reader and the file is now saved locally for viewing even while offline.

  • How To Access Uploaded File Data Prior To CFFILE

    Hi:
    Can anyone say why #GetHttpRequestData().content# is empty when I upload files using the conventional input type="file" and form method="post" enctype="multipart/form-data" HTML?
    My goal is to inspect the binary data before using cffile action="upload". Is there a way to do this through CF or perhaps Java? Thanks.

    Supposing the form field is <input type="file" name="myUpload">, then you could simply intercept the uploaded binary like this:
    <!--- We are in the upload form's action page --->
    <cffile action="read" file="#form.myUpload#" variable="binaryData">
    <!--- Dump the binary data --->
    <cfdump var="#binaryData#">
    <cffile action = "upload"
        fileField = "myUpload"
        destination = ... etc.>

  • In iphoto, how do i save a photo after editing, in the same or higher file size, it's saves in a lower size

    in iphoto, how do i save a photo after editing, in the same or higher file size, it's saves in a lower size

    It's rather more complicated that this.
    iPhoto is a lossless editor. You don't lose any quality on your shot in iPhoto.
    The file size you see reported is the size of your iPhoto Preview: this is what gets used if you access the data via a media browser. It's a "good-enough-for-most-uses" version of the shot. Email it, upload to websites, use it in Presentation, Word processing file etc
    If you want to set the quality yourself then Export the photo using the File -> Export command.
    You can choose to export to Jpeg, Tiff or png. Tiff is lossless but the file sizes are up to 10 times larger. Jpeg allows you to choose different qualities: High, Medium or low. The difference is the amount of compression involved. High quality means very little compression. It's not unusual for photos exported at this setting to have a larger file size than the original.
    Which setting you choose depends on the use you intend. Further editing, printing then high is important. Sending to Facebook? Well low will do just fine there as they're going to trash the file anyway.
    But the key point: the file size only becomes an issue when you export.
    Regards
    TD

  • Where does iPhoto save imported files????  how do you "save"?

    ok this is driving me crazy:
    I've imported photos and movie clips from my camera through usb through iPhoto.
    Where does iPhoto save these files?
    I've opened iMovie to find the movie clip and I can't find it anywhere...
    also: after editing a photo in iMovie, how do you "save" it?

    Chris
    You’ve a bit of a learning curve ahead of you as you obviously haven’t really understood iPhoto, what it is and how it works. You could do yourself a favour and have a look at the tutorials at http://www.apple.com/ilife/tutorials/#iphoto
    To specific cases:
    When you press "done" it doesn't save it (find the photo in its original file and open it with Preview, you'll see it hasn't been saved).
    Yes, but it has! You see iPhoto will always preserve your Original file. So when you make edits it carries out these on copy of the file. You can see this in the iPhoto Window. There is no way to make iPhoto edit the original file.
    I have opted for iPhoto not to duplicate my photos and keep its own library (to me that doesn't make any sense, my photos are about 15GB, I wouldn't want them to turn into 30GB for no reason!),
    1. The best solution for that it to allow iPhoto to copy the files into the Library and then remove your own copies.
    2. When you go to iPhoto Menu -> Preferences -> Advanced and uncheck 'Copy Files to the iPhoto Library on Import', you are running what is called a Referenced Library. In a Referenced Library iPhoto will not copy the files on import, but rather simply reference them on your HD. To do this
    it will create an alias in the Originals Folder that points to your file.
    It will still create a thumbnail and,
    if you modify the pics, a Modified version within the iPhoto Library Folder.
    However, you need to be aware of a number of potential pitfalls using this system.
    1. Importing and deleting pics are more complex procedures
    2. You cannot move or rename the files on your system or iPhoto will lose track of them on systems prior to 10.5 and iPhoto 08. Even with the later versions issues can still arise if you move the referenced files to new volumes or between volumes.
    3. Most importantly, migrating to a new disk or computer can be much more complex.
    Always allowing for personal preference, I've yet to see a good reason to run iPhoto in referenced mode unless you're using two photo organisers.
    If disk space is an issue, you can run an entire iPhoto Library from an external disk:
    1. Quit iPhoto
    2. Copy the iPhoto Library as an entity from your Pictures Folder to the External Disk.
    3. Hold down the option (or alt) key while launching iPhoto. From the resulting menu select 'Choose Library' and navigate to the new location. From that point on this will be the default location of your library.
    4. Test the library and when you're sure all is well, trash the one on your internal HD to free up space.
    If you're concerned about accessing the files, there are many, many ways to access your files in iPhoto:
    *For Users of 10.5 Only*
    You can use any Open / Attach / Browse dialogue. On the left there's a Media heading, your pics can be accessed there. Apple-Click for selecting multiple pics.
    Uploaded with plasq's Skitch!
    You can access the Library from the New Message Window in Mail:
    Uploaded with plasq's Skitch!
    *For users of 10.4 and 10.5* ...
    Many internet sites such as Flickr and SmugMug have plug-ins for accessing the iPhoto Library. If the site you want to use doesn’t then some, one or any of these will also work:
    To upload to a site that does not have an iPhoto Export Plug-in the recommended way is to Select the Pic in the iPhoto Window and go File -> Export and export the pic to the desktop, then upload from there. After the upload you can trash the pic on the desktop. It's only a copy and your original is safe in iPhoto.
    This is also true for emailing with Web-based services. However, if you're using Gmail you can use iPhoto2GMail
    If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto.
    If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser.
    *If you want to access the files with iPhoto not running*:
    Create a Media Browser using Automator (takes about 10 seconds) or use this free utility Karelia iMedia Browser
    Other options include:
    1. *Drag and Drop*: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
    2. *File -> Export*: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
    3. *Show File*: Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected.
    so the problem still exists, why doesn't it save new photos in my pictures folder?
    Because you told it not to. When you run a Referenced Library +you are responsible for File Management+. Remember that bit above where I said
    1. Importing and deleting pics are more complex procedures
    You need to put the files where you want them, then import them to iPhoto. Iphoto has no control over any file outside the Library Package. So when it comes to deleting things you’ll need to remove the pics from iPhoto and then go and root them out from your folder structure by hand.
    None of this is the case if you run a Managed Library.
    or ask me where to save them?
    Because that’s not what it does. Check out Image Capture for that.
    I'm worried that if I now let it save all my new photos to its iPhoto library (which is basically a virtual library as I understand it)
    What do you mean by a “virtual library”?
    and in a year's time I change laptops I run the risk of loosing photos as I won't know which photos are were (now I can do a back up to an external drive simply by copying the folders I choose from the pictures folder.
    If you run a Managed Library then backing up and migrating are both very simple. You simply back up the iPhoto Library or move it as the case may be. There are many, many back up utilities that will do incremental back ups if the Library: Time Machine, DejaVu Chronosync are several but there are a hundred more. Search on MacUpdate.
    If you run a Referenced Library you must +back up the Originals and the iPhoto Library+ (to get your Albums, Modified Versions and so on). Migrating rto a new machine is a bear too, as you cannot allow the path to the files to alter. (See my pitfall no. 3 above.
    Worst of all: a mixed Managed/Referenced Library: a recipe for data loss.
    My strongest advice to you is to start over with iPhoto. Create a new Library: Hold down the option (or alt) key key and launch iPhoto. From the resulting menu select 'Create Library' and import 100 pics into it and explore it for a week or two. Get to know the ins and outs a bit and se how it works. Then decide if it’s the right app for you. By all means post back if you need more info.
    Regards
    TD

  • How do I save .mov and audio files in QTX while using Safari?

    I used to have QT7 Pro, which would allow me to save files directly with the plug-in with the drop-down menu at the right side of the player. With QTX, that panel is gone. How do I save stuff now from Safari’s windows or make 7 the default browser plug-in? Thanks in advance. Peace.

    For most users just using a browser other than Safari solves the trouble.
    When I encounter pages that don't show the Pro "pull down" (right end of the controller) I simply Control click on the video window to bring up the contextual menu.

Maybe you are looking for

  • How can I delete a gmail account from showing up automatically when I sign into google?

    My husband checked his gmail on my iphone4. I am not sure what he did, but when I go to google to sign in to check one of my gmail accounts his is showing up with his password already filled in. How can I get this off of my iphone. I do not have the

  • Why cant I access my data back up?

    I am desperate. My C510 has stopped working and I can not access my backed up contact list to transfer to my new phone. I have got 200 from the sim, but have another 400 more in the 'dbk' file on my pc hard drive somewhere. My c510 occasionally swith

  • Windows Server 2008 R2 System Recovery Options - No disks!

    Hi, I have a Windows Server 2008 R2 VM running on CITRIX XenCentre v5.6 SP2. The XenCentre host is a HP ProLiant DL 580 G7. The VM's C:/ is hosted on a SAN which is controlled by DataCore SANSymphony-V PSP2. I need to perform some work to resolve an

  • JTIDY Html to XML convertor

    Hi this is nauman , and i want a tool or API which can convert or help to convert Html directly into the XML .. so plz tell me about this tool JTIDY, whether it converts HTML directly into XML or not.. Regards. Nauman

  • Forum Problem:  Date / Time ------------------

    Would somebody please try to get the date and time set right on this forum? It is 9-September, but current posts show up as 29-August!!!! And when I preview this post, it shows as 20-August