AppleScript to perform Safari file upload?

I need an AppleScript to handle the file picker dialog in Safari for an upload operation.
I have most of it working, except for the small fact that I can't figure out how to actually SELECT the file from the list.
Mac OS X 10.7.3, Safari 5.1.3
Here's what I have so far:
on run argv
          if (count argv) = 1 then
                    set file_name to item 1 of argv
          else
                    return "Usage: FilePicker.scpt file"
          end if
          tell application "Safari"
                    if not frontmost then activate
                    tell front window
  activate
                              tell application "System Events"
  -- enable List View
  keystroke "2" using {command down}
  -- move input focus to the search field
  keystroke "f" using {command down}
  keystroke file_name
                                        delay 1
  -- select the "Filename Contains" suggestion
  keystroke (ASCII character 31) -- down arrow
  keystroke return
                                        delay 1
  -- TODO: select the first file from the list of matches
  keystroke return
                              end tell
                    end tell
          end tell
          return 0
end run
Any suggestions?

Finally got it working. Thank you for your help!
on run argv
          set returnVal to 0
          if (count argv) = 1 then
                    set file_name to item 1 of argv
          else
                    return "Usage: FilePicker.scpt file"
          end if
          tell application "Safari"
                    if not frontmost then activate
          end tell
          tell application "System Events"
                    tell process "Safari"
                              tell window 1
                                        if sheet 1 exists then
  -- enable List View
  keystroke "2" using {command down}
  -- move input focus to the search field
  keystroke "f" using {command down}
  keystroke file_name
                                                  delay 2
  -- select the "Filename Contains" suggestion
  keystroke (ASCII character 31) -- down arrow
  keystroke return
                                                  delay 3
                                                  tell sheet 1
                                                            tell group 1
                                                                      tell splitter group 1
                                                                                tell scroll area 2
                                                                                          tell outline 1
                                                                                                    select row 1
                                                                                          end tell
                                                                                end tell
                                                                      end tell
                                                            end tell
                                                            click button "Choose"
                                                  end tell
                                        else
                                                  set returnVal to -1
                                        end if
                              end tell -- window 1
                    end tell -- Safari
          end tell -- System Events
          return returnVal
end run

Similar Messages

  • Does IXOS record the name of the file uploaded in a R3 table?

    Does IXOS record the name of the file uploaded in a R3 table?

    Hi Christiana,
    When you perform a file upload to IXOS, the filename is not being record. The archivelink table (toa*) will keep track  the document type of the file only.
    Hope this help.
    thanks,
    Jess

  • CF9 Multi File Upload Widget

    This new CF9 Multi File Upload widget looks great but it appears it is built using the old CFFILE code rather than that found in the new fileOpen, fileRead etc. functions - the difference being that the latter doesn't load the entire document in memory before writing which avoids several problems.
    Am I correct in that this new widget is built on CFFILE 'technology'?
    Thanks!
    Shane

    No - they do not work the same.  Unfortunately, there is no fileUpload.
    I cannot find a single example of how to use the new functions to perform a file upload.  This is the code I have come up with and it works fine - except the doc gets saved with the temp name instead of the 'real' name.
    <!--- get file name --->
    <cfset originalFileName = GetFileFromPath(FORM.sFile)>
    <!--- upload file --->
    <!--- instantiate object --->
    <cfset fileOb = fileOpen(FORM.sFile, "read")>
    <!--- move file from temp directory to final folder --->
    <cfset destinationfile = "c:\fileUploads\test\#originalFileName#">
    <cfif FileExists(destinationfile)>
         <cfoutput>A copy of #destinationfile# already exists.</cfoutput>
    <cfelse>
         <cfscript>
           FileCopy(originalFileName, destinationfile);
           </cfscript>
           <cfoutput>Copied: #originalFileName# <BR>
           To: #destinationfile#</cfoutput><BR>
    </cfif>
    <!--- close object --->
    <cfset fileClose(fileOb)>
    <cfset info = getFileInfo("c:\fileUploads\test\#originalFileName#")>
    I'm looking into using JS to set a hidden form value with the original name (file upload object defaultValue) but I'm still not particulary proficient at JS and I doubt it is necessary - I must be doing something wrong with these new CF8 file functions.

  • Cmd+v doesn't paste in the file upload dialogue's search field in Safari

    In Safari 4.0.4 on OS X 10.6.2, cmd+v doesn't paste in the file upload dialogue's search field in Safari. It just makes an audio beep to indicate an error.
    Using a sample file uploader:
    1.) Visit http://upload.youtube.com/myvideosupload
    2.) Click the "Upload Video" button.
    3.) Select file(s) to upload to s.ytimg.com
    4.) Click on the search text field
    *5.) Cmd+V to paste text. Nothing happens.*
    However, if you right-click, "Paste" is not grayed out, and you can paste normally.
    This is for version 4.0.4, but this behavior has been present for as long as I can remember using Safari.
    Can anyone confirm this bug?

    HI,
    I can't confirm a bug but you can report it.
    From the Safari Menu Bar click Safari/Report Bugs to Apple.
    Carolyn

  • Safari needs to click submit button twice when file uploading

    Hi all,
    I'm using Safari 4.0.5 and developing the html (no AJAX, but plain PHP posting) form with the file uploading on my local environment. I tested it fast and thick several times, then suddenly Safari stopped to upload the jpeg file, indicating loading animation on the address bar. So I tried to click the submit button once again, I succeed in sending two posts including one jpeg image.
    There's no problem with other browsers like Firefox and Chrome. Additionally, I tried to reinstalled Safari, rebooted Snow Leopard and checked file's permissions by Disk Utility app, but no dice.
    Any suggestions would be greatly appreciated.
    Thanks,

    I am having the exact same problem except that I'm in Safari 5.0. Did you ever come to any resolution on the problem?
    I am having trouble uploading certain jpegs (can't find a common thread between the images that won't work though they tend to be larger than 100k and larger than 800px wide). When I have the problem the progress bar just hangs at about 10%. The page never times out. Never throws any kind of error. I confirmed that the file is never making it to the application layer. Such a weird and intermittent problem. All other browsers are fine. Just Safari is a problem. Even with these images that are giving me a problem, sometimes they work - especially after restarting the browser.
    Any help or insight from anyone would be greatly appreciated.
    Message was edited by: Neal Ferrazzani

  • File Upload in Firefox/Safari

    I have been trying to do file upload in Flash player 9 (AS3)
    using filereference and PHP server-side code. This works fine in
    IE, but not in Firefox and Safari. As far a I can ascertain this is
    a problem that a lot of people have - the problem seems to be that
    the session id is different to the original session id when the
    flash player requests a file upload.
    We are getting the session id from a javascript function and
    passing it into the flash app and appending that session id to the
    filereference url, and then the upload PHP script gets this session
    id and tries to use it, but to no avail...
    I have seen other people post to this forum asking about
    uploading to https, which has been going on for a long time... is
    this the same problem or is this a different problem.
    Testing machines/browsers done using the filereference
    upload:
    * Win XP:
    - Flash player 9.0.115
    + IE 6 -
    fine
    + IE 7 -
    fine
    + Firefox 2.0.12 -
    does not work (receive a fileIO error)
    - Flash player 9.0.103
    + Firefox 2.0.12 -
    does not work (receive a fileIO error)
    - Flash player 9.0.45
    + Firefox 2.0.12 -
    does not work (receive a fileIO error)
    * Windows Vista:
    - AS ABOVE: WIN XP
    * Mac OSX:
    - Flash player 9.0.115
    + Firefox 2.0.12 -
    does not work (receive a fileIO error)
    + Safari 3 -
    does not work (receive a fileIO error)
    + Safari 2 -
    does not work (receive a fileIO error)
    Please help - this is really frustrating.

    Had exactly the same issue, very frustraing especially on
    friday afternoon :)
    my movie consists on a main swf that was loading an external
    swf in a different directory which contains a form to upload a
    file.
    when i put them in the same directory i didn't get the I/O
    error anymore.
    hope that could help
    N.

  • Performance concerns in upload flat file into SEM-BPS.

    Hi,
    we are using HOW-TO document to upload flatfile into SEM-BPS.
    in the same exit function, we have a need to derive missing characteristic values from reference data.
    So, we are reading reference data using API_SEMBPS_GETDATA.
    upload is taking around 10 minutes in test systems. our concern is, if taking so long for test systems with less data , what about production time with more data?
    from what all I can see is, most of the time is being consumed at reading reference data.
    I'm dealing around 14000 records of reference data & around the same number of uploaded records. Initially, system status is, "number of cells to be formed : 33092" and then immediately after 5 seconds, status changes to, "formed cells : 33000" and this status stays for like 8 minutes.
    I'm not using any input/output layouts but just exit planning function in the planning folder. So, I anticipate that above status is while reading reference data but not due to huge amounts of uploaded records.
    When I ran the same exit funciton by commenting just the "reading reference data" code, upload function execution time came out as 2 minutes.
    What is the best bet in dealing this scenario?
    Usually, what is the best approch to read reference data / to derive missing characteristic values?
    I couldn't able to use "Char Relationship using reference data" as it might not be suitable in my case. Even if suits, am missing enough documents/info/examples to deal "Char Relationship". Documentation on help.sap.com is not enough in this case.
    PS: initially, when I tried to read 14000 records at detailed level, exit funciton returned no reference data & in the debugging mode, I could see a message "too many records".
    Can a given layout read only a maximum of 9999 records / excel rows?
    records are at CALMONTH level. As I don't need CALMONTH for derivation of characteristic values, I have deleted CALMONTH from " READ reference data" level to avoid the above message. Does this anyway relates to peformance?
    Appreciate any help

    Hello Hari,
    it is touch to say what exactly causes this performance problem. Since you are dealing with custom coding (the how-to + your derivation logic), I suggest to do an ABAP trace (SE30) to see where the time is really spent.
    The API call to read data should not take more than a few seconds. Test it separately by putting the API call into a simple ABAP program.
    As Mary pointed out already, there's a 9999 line limit for layouts and therefore the GETDATA API as well.
    Note: The file upload/download how-to solution was never meant for mass data loads. This needs to be done using regular BW functionality.
    Regards
    Marc
    SAP NetWeaver RIG

  • Performance isues for uploading file

    Hello -
    Has anyone hit any performance issues when uploading files, using the obj.setSource('HTTP'...) method?
    Seems like all the examples I've seen have to call the "upload" procedure one time per upload. That is, unless you know haead of time that you have 3 documents to upload, then you can put 3 update statements within the procedure.
    But if you don't know ahead of time how many files a user is going to upload, are we stuck then calling the "upload" procedure once per file (say if a user wants to upload 5 files, the the "upload" procedure has to be called 5 times, once per file).
    Will this cause a major performance hit, or will it be OK because the procedure is already compiled and loaded in the SGA so it can be run multiple times by multiple users?
    I hope that makes sense. Thanks for any input

    hi ST,
    1   http://www.sap-img.com/financial/sap-fi-transaction-code-list-1.htm
    2  http://www.sap-img.com/general/easy-to-remember-transaction-codes.htm
    3  http://www.4soi.de/transactions-f-h.php
    4 http://www.saptransactioncodes.com/search
    5 http://www.sap-img.com/financial/sap-fi-transaction-code-list-2.htm
    6 http://www.sap-img.com/financial/some-important-tcodes-for-fi-gl-ar-ap-asset.htm
    Hope this will helps u .............
    Ranjit

  • Large File Upload ~50mb Fails using Firefox/Safari. Upload Limit is 1gig set at Web App. IIS timeout set at 120 seconds.

    Strange issue.  User can upload the file using IE9, but cannot do the same using Safari, Chrome, or FireFox.  The library resides in a Site Collection that was migrated from a 2010 Site Collection.  The timeout on IIS is 120 seconds.Very strange
    indeed.
    Haven't been able to trace the Correlation ID at this point.

    try using rest api for this much file upload if you are using custom solution.
    try below links for reference:
    http://blogs.technet.com/b/praveenh/archive/2012/11/16/issues-with-uploading-large-documents-on-document-library-wss-3-0-amp-moss-2007.aspx
    https://angler.wordpress.com/2012/03/21/increase-the-sharepoint-2010-upload-file-size-limit/
    http://social.technet.microsoft.com/wiki/contents/articles/20299.sharepoint-2010-uploading-large-files-to-sharepoint.aspx
    http://stackoverflow.com/questions/21873475/sharepoint-2013-large-file-upload-1gb
    https://answers.uchicago.edu/page.php?id=24860
    http://sharepoint.stackexchange.com/questions/91767/multiple-file-upload-not-working
    Please mark it as answer if you find it useful happy sharepointing

  • File upload is not perform by weblogic 10

    Hello,
    I'm working a project my root folder name is "tcap1" in that folder "test" is another folder inside that folder I place "image" folder and develop a image file upload program in JSP. when user upload his/her photo that photo should be store in image folder. I'm tested that jsp file in tomcat7.0 i.e working good and image will store in image folder.
    Other hand side I'm using Weblogic10g. I crate a war file my project and deployed in weblogic10g and run my application it is working but my fileupload.jsp is not working.how is it possible to work my code working in Tomcat7.0 but not working in Weblogic10g.
    WebLogic10g exception come on console:_
    Releasing conn back to pool
    <May 26, 2012 10:46:28 AM IST> <Error> <HTTP> <BEA-101020> <[weblogic.ser
    ternal.WebAppServletContext@1cb1d37 - appName: 'tcap1', name: 'tcap1.war'
    xt-path: '/tcap1', spec-version: '2.5'] Servlet failed with Exception
    java.lang.NullPointerException
    at java.io.File.<init>(File.java:222)
    at com.braahmam.tcap1.test.AddImageServlet.doPost(AddImageServlet
    01)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAct
    (StubSecurityHelper.java:227)
    Truncated. see log file for complete stacktrace
    >
    In JSP page error comes_
    Error 500--Internal Server Error
    java.lang.NullPointerException
         at java.io.File.(File.java:222)
         at com.braahmam.tcap1.test.AddImageServlet.doPost(AddImageServlet.java:401)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3498)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Edited by: 936878 on May 25, 2012 11:34 PM
    Edited by: 936878 on May 25, 2012 11:35 PM
    Edited by: 936878 on May 26, 2012 12:04 AM

    I figured out the problem.
    I kept jce.jar file under bea\jdk131_06\lib\ext.
    Plus changed java.policy,java.security to look like jre1.4 poicies.
    Added local_policy.jar, US_export_policy.jar
    I found these suggestions from web for a search of "install sun JCE"
    Thanks

  • Threading problem during File Upload with Apache faces upload tag

    First I am going to tell you "My Understanding of how JSF Apache Upload works, Correct me if i am wrong".
    1) Restores View (to show Input box and Browse button to facilitate users to select a file for upload)
    2) Translates Request Parameters to Component Values (Creates equivalent components to update them with request values).
    3) Validates Input(Checks to see whether the User has input the correct file)
    4) Updates Backing Bean or Model to reflect the values.
    5) Renders response to user.
    I am uploading huge files of sizes 400MB and above with the help of JSF apache extensions tag
    <h:form id="uploadForm" enctype="multipart/form-data">
    <x:inputFileUpload style="height:20px;" id="upload" value="#{backingbean.fileContents}" storage="file" size="50" />
    </h:form>
    In the backing bean
    private UploadedFile fileContents;
         public UploadedFile getFileContents() {
              return fileContents;
         public void setFileContents(UploadedFile fileContents) {
              System.out.println("File being uploaded...");
              this.fileContents = fileContents;
    Since, the file size is so huge, I am using temp folder to use for the apache tag instead of memory.
    In web.xml i am using like this
    <filter>
    <filter-name>ExtensionsFilter</filter-name>
    <filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter</filter-class>
    <init-param>
    <param-name>uploadMaxFileSize</param-name>
    <param-value>600m</param-value>
    </init-param>
    <init-param>
    <param-name>uploadThresholdSize</param-name>
    <param-value>10m</param-value>
    </init-param>
         <init-param>
    <param-name>uploadRepositoryPath</param-name>
    <param-value>/uploadfolder/</param-value>
    </init-param>
    </filter>
    <filter-mapping>
    <filter-name>ExtensionsFilter</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    </filter-mapping>
    The upload process is working perfectly fine.
    Now coming to the problem:
    Suppose one user is logging into the application & uploading say 400MB of files.
    Until these files are linked to the model objects as my understanding of step 2, if second user tries to open the application he gets stuck with the loading page.
    The page gets loaded only after the request files are linked to the component values(Step 2 above) and updates the backing bean's values.
    I don't see any error in the logs. User is getting stuck. The user is getting stuck only when uploading the files. The other operations like searching are not blocking any other activities performed by the user.
    Server used: IBM Application Server V6.0. CPU is normal, memory usage is normal.

    Dear friend,
    i am also trying to upload using the common file upload.
    when try to run the file error is coming
    can give some suggestion.
    can i use if concurrent user file upload at a time

  • How can I increase the thumbnail size when using Safari to upload an image to a website?

    I upload many images to multiple websites and when using Safari to upload these images, the thumbnails are so small I can barely make out what the image is. I can easily figure out how to increase the thumbnail size when viewing them in Finder and set the default to my liking, but I cannot seem to find a way to do this in Safari. The last topic I saw on this was form 2013 and have not seen any update. Is there a way to do this?

    Delete all unused, invisible layers.
    Sometimes zip compression is better than jpg compression (in the pdf output settings). Zip is lossless, and works better with non gradient colour or no images.
    Flattening the image before you save it to pdf can reduce the file size if you are using jpg compression.
    Post a preview of your pdf and we can comment further on how to reduce the file size.

  • Problem with Multi File upload example, help needed

    I got the code from the following location.....
    http://www.adobe.com/devnet/coldfusion/articles/multifile_upload.html
    And I've got it to work to some degree except I cant get the file transfer to work when pressing, Upload.   Below is what my debugger outputs.  Any thoughts on how to fix this or even what it means?
    At the very bottom of this message is the upload.cfm code.......
    Thanks in advance for the help
    <html>
    <head>
      <title>Products - Error</title>
    </head>
    <body>
    <h2>Sorry</h2>
    <p>An error occurred when you requested this page.
    Please email the Webmaster to report this error.
    We will work to correct the problem and apologize
    for the inconvenience.</p>
    <table border=1>
    <tr><td><b>Error Information</b> <br>
      Date and time: 12/07/09 22:25:51 <br>
      Page:  <br>
      Remote Address: 67.170.79.241 <br>
      HTTP Referer: <br>
      Details: ColdFusion cannot determine how to process the tag &lt;CFDOCUMENT&gt;. The tag name may be misspelled.<p>If you are using tags whose names begin with CF but are not ColdFusion tags you should contact Allaire Support. <p>The error occurred while processing an element with a general identifier of (CFDOCUMENT), occupying document position (41:4) to (41:70).<p>The specific sequence of files included or processed is:<code><br><strong>D:\hshome\edejham7\edeweb.com\MultiFileUpload\upload.cfm      </strong></code><br>
      <br>
    </td></tr></table>
    </body>
    </html>
    <!---
    Flex Multi-File Upload Server Side File Handler
    This file is where the upload action from the Flex Multi-File Upload UI points.
    This is the handler the server side half of the upload process.
    --->
    <cftry>
    <!---
    Because flash uploads all files with a binary mime type ("application/ocet-stream") we cannot set cffile to accept specfic mime types.
    The workaround is to check the file type after it arrives on the server and if it is non desireable delete it.
    --->
        <cffile action="upload"
                filefield="filedata"
                destination="#ExpandPath('\')#MultiFileUpload\uploadedfiles\"
                nameconflict="makeunique"
                accept="application/octet-stream"/>
            <!--- Begin checking the file extension of uploaded files --->
            <cfset acceptedFileExtensions = "jpg,jpeg,gif,png,pdf,flv,txt,doc,rtf"/>
            <cfset filecheck = listFindNoCase(acceptedFileExtensions,File.ServerFileExt)/>
    <!---
    If the variable filecheck equals false delete the uploaded file immediatley as it does not match the desired file types
    --->
            <cfif filecheck eq false>
                <cffile action="delete" file="#ExpandPath('\')#MultiFileUpload\uploadedfiles\#File.ServerFile#"/>
            </cfif>
    <!---
    Should any error occur output a pdf with all the details.
    It is difficult to debug an error from this file because no debug information is
    diplayed on page as its called from within the Flash UI.  If your files are not uploading check
    to see if an errordebug.pdf has been generated.
    --->
            <cfcatch type="any">
                <cfdocument format="PDF" overwrite="yes" filename="errordebug.pdf">
                    <cfdump var="#cfcatch#"/>
                </cfdocument>
            </cfcatch>
    </cftry>

    Just 2 things in my test:
    1) I use no accept attribute. Coldfusion is then free to upload any extenstion.
    Restricting the type to application/octet-stream may generate errors. Also, it is unnecessary, because we perform a type check anyway.
    2) I have used #ExpandPath('.')#\ in place of #ExpandPath('\')#
    <cfif isdefined("form.filedata")>
    <cftry>
    <cffile action="upload"
                filefield="filedata"
                destination="#expandPath('.')#\MultiFileUpload\uploadedfiles\"
                nameconflict="makeunique">
            <!--- Begin checking the file extension of uploaded files --->
            <cfset acceptedFileExtensions = "jpg,jpeg,gif,png,pdf,flv,txt,doc,rtf"/>
            <cfset filecheck = listFindNoCase(acceptedFileExtensions,File.ServerFileExt)/>
    <!---
    If the variable filecheck equals false delete the uploaded file immediatley as it does not match the desired file types
    --->
            <cfif filecheck eq false>
                <cffile action="delete" file="#ExpandPath('.')#\MultiFileUpload\uploadedfiles\#File.ServerFile#"/>
                <cfoutput>Uploaded file deleted -- unacceptable extension (#ucase(File.ServerFileExt)#)</cfoutput>.<br>
            </cfif>
    Upload process done!
            <cfcatch type="any">
                There was an error!
                <cfdocument format="PDF" overwrite="yes" filename="errordebug.pdf">
                    <cfdump var="#cfcatch#"/>
                </cfdocument>
            </cfcatch>
    </cftry>
    <cfelse>
    <form method="post" action=<cfoutput>#cgi.script_name#</cfoutput>
            name="uploadForm" enctype="multipart/form-data">
            <input name="filedata" type="file">
            <br>
            <input name="submit" type="submit" value="Upload File">
        </form>
    </cfif>

  • Can not select a PDF file in the file uploader window after clicking the Browse... button for a file type input element.

    After upgrading to 5 (this worked in 4) I can not select a PDF file in the File Upload dialog that appears when I click the Browse button next to an HTML file type input element. The specific HTML element source code has the attribute: ACCEPT="image/*". I can select image files such as jpg, png, tiff, etc. But not PDF. This worked great in Furefox 4 and works in the latest version of Safari.
    The HTML code for the form element is:
    INPUT TYPE="file" NAME="file_1" ACCEPT="image/*" SIZE=35
    The File Upload dialog lists all files with PDF extension as dimmed and not selectable in Firefox 5.
    Can you help?

    Hi Purush
    Unfortunately we couldn't solve the problem. Our IT specialist checked it with SAP directly. SAP doesn't support the SAP KW solution anymore. Therefore we checked-in the document in ".doc"-Format.

  • In File Upload the file name disappears once a drop-down option is chosen

    Hi,
    There is a pop-up which contains File Upload UI element, an input field and a drop-down list.  After specifying the file path, if i choose an option from the drop-down list, the file path disappears. However, the context attribute still holds the file path but at the UI level its not visible to the user. Please let me know what could be done for that.
    Thanks in advance.
    Regards,
    Deebika

    Hi Anoop & Heidi,
    Thanks a lot for your reply. It was really helpful.
    When contacted the framework people, they informed that once a file name is being specified in the client and a roundtrip is performed, in the meantime the file gets uploaded to the server. The file path is reset afterwards, in order to prevent the file from being transferred again and again.
    Regards,
    Deebika

Maybe you are looking for

  • Sun Java Studio Enterprise 8 naming Web Service parameters

    I have a Web Service "hello" with operation "sayHello", which has one parameter "String name". When I build the project and look into the WSDL created I see that Studio named this parameter String_1. Why? And how can I make it name it correctly? (I k

  • Total pages printed issue in Smartforms

    Hi, I have small issues in Smartforms, I wm working for Check Printing in Smartforms. Here after printed the various checks i am printing the summary report, here i printede the details of total transactions and total printed pages. If  i have more t

  • Secondary non-blocking window

    I am maintaining a several year old AppleScript application and I want to add a secondary window to the application that will have some simple controls. The user will be able to open and close the secondary window at will. The secondary window should

  • How to use Find option not Filter in my webdynpro app

    Hi,      I have a table which displays data extracted from R/3 System. Now if i want to see a particular number record how to do that with out using Right and Left arrows of table. Here i tried by using filters..but i want to enter the record Number

  • Unstable After Effects CC with dynamic link

    Hi all, I just bought a new iMac for editing etc. (Before the iMac I used my MacBook Pro). Everything works just fine but there is one issue with After Effects CC. When I have Premiere Pro CC open in the background and there is a dynamic link sequenc