search for: dispostion

Displaying 8 results from an estimated 8 matches for "dispostion".

Did you mean: disposition
2006 May 22
2
Problem with send_data and csv file produced
...y_csv.clear end end report.rewind send_data(report.read, :type => ''text/csv; charset=iso-8859-1;header = present'', :filename => ''report.csv'') this is quite standard as i compared with the others... i didnt include the dispostion option as it is default to :attachment.... is there anything wrong with it????? -- Posted via http://www.ruby-forum.com/.
2008 Jul 14
0
How to Send Itext Generated PDF to Browser?
...the second last line of the above blog (that is I can generate the document and even the toByteArray or byte[] ). As in the example: document.close // <<<--- I can get this document send_data String.from_java_bytes(m.toByteArray), :type=> "application/pdf", :dispostion=>"inline" // I can call the toByteArray and get the array of bytes byte[] but I dont know how to send_data to the browser with the document and byetarraystream available. I try to do a byte[].toString() and send that to send_data but when I get byte[].toString() from the java classes...
2012 Apr 14
2
Dynamic Variable Names?
Hi, I've written some R code that runs through a loop a certain number of times. I want to save the output of each loop under a new variable name, but I seem unable to do so. I have a [10,1] matrix of stock tickers, and I want to save the output to the variable name: paste(matrix[i,1],"rets",sep=""). Eg: AAPLrets would be the name of the variable that I would save the
2009 Sep 10
2
ASR & ACD
Is there any program Asterisk users use to calculate ASR and ACD ?? Thanks for any comments. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090910/af1f9656/attachment.htm
2011 Sep 29
1
Broken mail clients? [MIME] Long attachment encoded filenames (for non-ASCII characters etc)
Hi, I've noticed a possible minor issue with long encoded filenames for attachments where these filenames are split across multiple lines. My understanding of character encoding and MIME is not as good as it should be, so I may easily have got this all mixed up, in which case sorry for the noise... Although I understand the preferred method for handling filenames split across multiple
2008 Jul 05
18
Java Bridge Itext Example Anyone?
I MAY be able to derive something out of the present example given here : http://blog.codeinmotion.com/index.php/2006/12/22/pdf-generation-in-ruby-on-rails/ but this deals with filling out forms. Is there a simpler example that just allows you to talk to itext , send it some plain text and get back a pdf and then send that pdf to the user as downloadable / renderable data? -- Posted via
2007 Feb 28
8
Export/save csv-file to desktop of user?
Hi, looking for something that simple, but can''t find it. I got: outfile = File.open(''teams.txt'', ''wb'') CSV::Writer.generate(outfile) do |csv| for team in @teams csv << [team.id, team.name] end end outfile.close send_file "teams.txt", :filename => "teams.txt",:disposition =>
2001 Dec 10
10
hang on exit bug under Linux
>From what I understand, the problem is due to people's disagreement about what the "correct" behavior should be. I'm pretty sure that the following is the correct behavior from running rsh and ssh often (both fsecure and openssh). Lets say you have a stupid script that does while 1 do sleep 1 done Called foreverSleep on your remote host: rsh remotehost