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
Similar Messages
-
Oracle Linux 6.6 I tried to edit the /etc/resplv.conf file on nano, gedit and VI but the result doesn't appear on the file when I cat it
Hi ! do you mean the file /etc/resolv.conf ? This file should be by default in the /etc/ diretory and contains the dns-name resolutions. http://linux.die.net/man/5/resolv.conf http://www.tldp.org/LDP/nag/node84.html http://en.wikipedia.org/wiki/Resolv.conf
-
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. -
Can anybody provide the SQL query to find the files uploaded in a particular folder?
Hi All,
Can anybody provide the SQL query to find the documents (document name) uploaded in a particular folder? While clicking on folder in
GUI I'm hitting the Timeout error. I would like to find the files uploaded into this folder from SQLPLUS.
Any help is greatly appreciated.
With best regards,
NevinNevin,
Be great if we could know the version of Portal. For Rel. 1, here's the query
select id,masterthingid from wwv_things
where siteid = &site
and cornerid = &corner
&site - Content Area id
&corner - Folder id
if you don't know the folder id, use
select id from wwv_corners where siteid = &site
and name = &folder
Hope this helps. I have run into this situation before. Usually, the culprits were
one of the following:
1. Junk Characters in description of item (caused due to Copy-Paste)
2. Special Characters in the File name
Hi All,
Can anybody provide the SQL query to find the documents (document name) uploaded in a particular folder? While clicking on folder in
GUI I'm hitting the Timeout error. I would like to find the files uploaded into this folder from SQLPLUS.
Any help is greatly appreciated.
With best regards,
Nevin -
1. when use com.oreilly.servlet.MultipartRequest to handle the file upload, can I change the upload file name .
2. how com.oreilly.servlet.MultipartReques handle file upload? do it change to byte ?
what different? if I use the following method?
File uploadedFile = (File) mp.getFile("filename");
FileOutputStream fos = new FileOutputStream(filename);
byte[] uploadedFileBuf = new byte[(int) uploadedFile.length()];
fos.write(data);
fos.close();My questions are
1) when use oreilly package to do file upload , it looks like i line of code is enough to store the upload file in the
file direction.
MultipartRequest multi =
new MultipartRequest(request, dirName, 10*1024*1024); // 10MB
why some example still use FileOutputStream?
outs = new FileOutputStream(UPLOADDIR+fileName);
filePart.writeTo(outs);
outs.flush();
outs.close();
2) can I rename the file name when I use oreilly package? -
Hi,
I have a <af:inputFile> component which will upload only image file and render the corresponding image...
It work with normal application deployed on weblogic server however when i use same taskflow as a part of human task in SOA BPM worklist...
I get this warning message "Warning: The file upload failed.No such file or directory." for certain files where as it works for certain image files.
And in BPM whenever i upload PNG file it throws this error.
Please help.For some files like Images with .png extensions it gives following error :
java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1705)
at java.io.File.createTempFile0(File.java:1726)
at java.io.File.createTempFile(File.java:1803)
at org.apache.myfaces.trinidadinternal.config.upload.UploadedFileImpl._createOutputStream(UploadedFileImpl.java:284)
at org.apache.myfaces.trinidadinternal.config.upload.UploadedFileImpl.loadFile(UploadedFileImpl.java:208)
at org.apache.myfaces.trinidadinternal.config.upload.CompositeUploadedFileProcessorImpl._processFile(CompositeUploadedFileProcessorImpl.java:344)
at org.apache.myfaces.trinidadinternal.config.upload.CompositeUploadedFileProcessorImpl.processFile(CompositeUploadedFileProcessorImpl.java:95)
at org.apache.myfaces.trinidadinternal.config.upload.FileUploadConfiguratorImpl._doUploadFile(FileUploadConfiguratorImpl.java:329)
at org.apache.myfaces.trinidadinternal.config.upload.FileUploadConfiguratorImpl.beginRequest(FileUploadConfiguratorImpl.java:162)
at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl._startConfiguratorServiceRequest(GlobalConfiguratorImpl.java:610)
at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.beginRequest(GlobalConfiguratorImpl.java:216)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:155)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bpel.services.workflow.client.worklist.util.WorkflowFilter.doFilter(WorkflowFilter.java:175)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bpel.services.workflow.client.worklist.util.DisableUrlSessionFilter.doFilter(DisableUrlSessionFilter.java:70)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221) -
Hi all,
I am going to build a form and run on the web. I am going to do a form which intend to do the file upload and download (any type of file). How can I achieve it?
Also, once I put it on the web, I would like to do a 'web-like' function: when the user click on the file name, it can open it with the association with the browser (For instance, when I click on the *.doc file, it opens the word automatically). Is it poosible to do so and how to do so? Thanks first.
PatrickGo to Utilities>more Utilities>upload/download is there.
Amresh. -
How to include the file name as an XML field
Hi,
I'm using a file adapter for process a flat file and convert it into an XML. Does anybody knows how to include the file name into an XML field.
Ex.
I process the file named <b>XXIMN21022007.txt</b> and I need an XML like:
<MT_FILE>
<field1></field1>
<field2></field2>
<field3></field3>
<filename><b>XXIMN21022007.txt</b></filename>
</MT_FILE>
Regards
GonzaloJust go for dynamic configuration.
Check the sender file adapter to write the filename in the header (as explained in Michal's blog) and then read that header in some mapping.
U can use that even in simple message mappings.
http://help.sap.com/saphelp_nw2004s/helpdata/en/43/03612cdecc6e76e10000000a422035/frameset.htm
Your code for the filename tag would be something like:
<i>DynamicConfiguration conf = (DynamicConfiguration) container
.getTransformationParameters()
.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create(
http://sap.com/xi/XI/System/File,
FileName);
return conf.get(key);</i>
Regards,
Henrique. -
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 -
Problem in dynamically generating the file upload field
Hello all
I am using netbeans 5.5 and visualwebpack for my jsf project.
i have a problem in dynamically generating the file upload field and using it.
I have a panel say "panelA" which holds file upload fields.
Depending upon the count value i generate the file upload field using following code snippet:
Upload upload1 = new Upload();
upload1.setId("upload1");
getPanelA.getChildren().add(upload1);
The page successfully shows up the file upload fields. While the user clicks the submit button, i have used following logic to perform upload:
List components = getPanelA().getChildren();
for(int i = 0; i<components.size(); i++){
if(components.get(i) instanceof Upload){
UploadedFile uploadedFile = ((Upload)components.get(i)).getUploadedFile();
I am getting this UploadedFile object null.
How can i solve this problem.Anyway,
I solved the problem.
Actually i was using label property of the upload field due to which i got null pointer exception.
I removed the label property of the upload field and things worked as i wanted. -
Hot to call processValueChange() method of the file upload component?
When the value changes (when I choose a new file to upload) in the file upload component the processValueChange() method is not called.
I am planing to show the preview of the image to be uploaded using the processValueChange().
Thanks.Is there a bug connected with this issue?
Thanks. -
Form UIBB using the File Upload display type
Hello,
I have a Form UIBB within the GAF. The Form UIBB contains
1. Two input fields - Date(Input Field) and File Name(which is marked as Display Type - File Upload)
2. Action button - (Upload).
The File Name field is created as Predefined Type STRING in the underlying structure which gets read in eo_Field_catalog. If I enter some date and select an excel file after clicking Browse and then click Upload, the file name which gets read in method IF_FPM_GUIBB_FORM~FLUSH attribute IS_DATA shows junk characters and not the uploaded file name. The date field correctly shows the modified date.
On debugging UPDATE_CHANGELOG (CL_FPM_FORM_UIBB_ASSIST) which gets called on clicking Upload,
object LO_ELEMENT_VALUE -> STATIC_ATTRIBUTES has the changed structure which has the file name as junk characters(numeric).
Does anything special need to be done to handle the File Upload in FORM UIBB??
Regards,
PrajyotYou really should try SUSE support for help with that problem, as it sounds like a problem with the file browser, rather than Firefox. Plus, the version of Firefox you have installed is a modified version, and not an official Mozilla Linux build.
Personally, I am a real noob with Ubuntu, and I don't know of a helper at this forum who uses SUSE, so I'd be surprised if anyone else here would be able to provide an answer. -
Get the modified date of the files uploaded
What data dictionary do i query at the backend to find the date of modification of the files uploaded in all the folers created by all the users and all the mount points.
And to find out what users are currenty loged in?
Plz help me with this querytry having a look in the ifssys schema or whatever schmea name you specified during files installation to contain ifs.
-
How to see all the PO payment status with searching field project defin.
Dear all experts,
could you help me on the following issue?
In a large capital project, there are many POs, and all the POs are paid partially
for example, down payment 30%, 30% when the machine is received, 30% when the machine is commissioned, 10% is for warranty after a year.
how can i see the all the POs payment status with searching field project definition. for example, i have paid how much for which PO. i want to see the list by searching the project definition.
is it possible to achieve? or how can i do it?
Please share your opinion or give me some suggestions.
thanks a lot.
Judythanks for all of your replies.
i have activated FM. and i have a PO triggered by the project.
i enter the down payment for the PO using F-48.
i can see the down payment in the PO history.
but i can not see it using the committment item report, such as CJIA
is it correct or not? do i need to change something?
thanks a lot.
Judy -
Script doesn't take all the files in the folder
I have compiled a script from different resources. It pads images to specified dimensions. But I can't get it to process all the images in a folder. It only does one.
Here is the script.
(* IMPORTANT: The with pad color parameter of the pad command does not work in Mac OS 10.5.5. Use4 the SIPS command-line utility instead when padding with a color *)
set this_folder to (choose folder with prompt "Pick the folder containing the files to process:") as string
tell application "System Events"
set these_files to every file of folder this_folder
end tell
repeat with i from 1 to the count of these_files
set this_file to (item i of these_files as alias)
set this_info to info for this_file
end repeat
property target_dimensions : "1024, 768"
property default_color : {0, 0, 0}
set this_path to the quoted form of the POSIX path of this_file
-- get the final dimensions for the padded image
repeat
display dialog "Enter the target dimensions for the padded image:" & return & return & "target width, target height" default answer target_dimensions buttons {"Cancel", "Set Color", "Continue"} default button 3
copy the result to {text returned:dimensions_string, button returned:button_pressed}
if the button_pressed is "Set Color" then
set the default_color to choose color default color default_color
else
try
if the dimensions_string does not contain "," then error
set AppleScript's text item delimiters to ","
copy every text item of the dimensions_string to {width_string, height_string}
set AppleScript's text item delimiters to ""
set target_W to width_string as integer
set target_H to height_string as integer
if target_W is less than 1 then error
if target_H is less than 1 then error
set the target_dimensions to (target_W & ", " & target_H) as string
exit repeat
on error
beep
end try
end if
end repeat
set the hex_color to text 2 thru -1 of (my RBG_to_HTML(default_color))
try
tell application "Image Events"
-- start the Image Events application
launch
-- open the image file
set this_image to open this_file
-- get dimensions of the image
copy dimensions of this_image to {W, H}
-- calculate scaling
if target_W is greater than target_H then
if W is greater than H then
set the scale_length to (W * target_H) / H
set the scale_length to round scale_length rounding as taught in school
else
set the scale_length to target_H
end if
else if target_H is greater than target_W then
if H is greater than W then
set the scale_length to (H * target_W) / W
set the scale_length to round scale_length rounding as taught in school
else
set the scale_length to target_W
end if
else -- square pad area
set the scale_length to target_H
end if
-- perform action
scale this_image to size scale_length
(* The with pad color parameter is broken in Mac OS X 10.5.5
-- perform action
pad this_image to dimensions {target_W, target_H} with pad color default_color
-- save the changes
save this_image with icon
-- purge the open image data
close this_image
end tell
-- The with pad color parameter is not working in 10.5.5 so use the SIPS command-line utitlity instead
do shell script "sips " & this_path & " -p " & target_H & space & target_W & space & "--padColor " & hex_color & space & "-i"
on error error_message
display dialog error_message buttons {"Cancel"} default button 1
end try
on RBG_to_HTML(RGB_values)
-- NOTE: this sub-routine expects the RBG values to be from 0 to 65535
set the hex_list to {"0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F"}
set the the hex_value to ""
repeat with i from 1 to the count of the RGB_values
set this_value to (item i of the RGB_values) div 256
if this_value is 256 then set this_value to 255
set x to item ((this_value div 16) + 1) of the hex_list
set y to item (((this_value / 16 mod 1) * 16) + 1) of the hex_list
set the hex_value to (the hex_value & x & y) as string
end repeat
return ("#" & the hex_value) as string
end RBG_to_HTMLThe problem is this repeat loop
repeat with i from 1 to the count of these_files
set this_file to (item i of these_files as alias)
set this_info to info for this_file
end repeat
It goes through every file in the folder but only sets the variable this_file to one file. When the loop is finished this_file is only pointing to one file, which is the file that will be processed.
A few ways to handle this, the easiest is to move the
end repeat
at line 5 to the just after the do shell script at line 81.
Maybe you are looking for
-
G4 Powerbook running on Mac OS 10.4.11
Hi there! I have an old G4 Powerbook (currently using an Macbook Pro) that I thought I could pass on to my kid to watch Youtube, play games, etc. But it's running at a really awful snail's pace now (can hardly watch any Youtube videos even) and I'm w
-
How to get main class name in running program?
How can I get classname, which main method is executed? Of course in running program? Please help, Chris
-
I download Itunes and keep getting the message "Apple Appliation support was not found. Apple application support is rquired to run Itunes. Please uninstall itunes, then install itunes again." Anyone know what i need to do to get it downloaded?
-
Why I can't get in my App Store of my iPhone 5
I Bought a new iPhone and I put my iCloud acc but when I try to buy something from the app store is just send me we're my visa inf is but it can't move from there and I can't go back either what can I do ??
-
Hi group, I am trying to pass some fields values to text file(not on application server)on local desktop using write statements.its not tab delimited ,I need to give spaces between the field not exactly same(some times its 2 spaces and some times t s