Re: [Rails] Re: iFrame and routes

2010-11-30 Thread Colin Law
On 30 November 2010 15:18, Albert C. wrote: Please don't top post it makes it difficult to follow the thread. Insert your comments in the previous message. Thanks. > Thanks, Perfect!!! as you can see I'm new in linux (mac)... all my live > with windows > > Before you leave, please: this was a s

[Rails] Re: iFrame and routes

2010-11-30 Thread Albert C.
Thanks, Perfect!!! as you can see I'm new in linux (mac)... all my live with windows Before you leave, please: this was a simple example to see somthing in iframe, bu files, in fact are en the local network. How i have to put, in iframe? src="//shared_dir/dir/6465_p_61_620_15674.pdf" ??? or

[Rails] Re: iFrame and routes

2010-11-30 Thread Albert C.
Ok, don't panicm another wat to make the question: id DreamWeaver i can do: but in a ruby form (_frame_pdf.html.erb) i Can not do the same If i inspect FireBug i get: "try { Element.update("frame_oc", "\n"); } catch (e) { alert('RJS error:\n\n' + e.toString()); alert('Element.update(\"f

Re: [Rails] Re: iFrame and routes

2010-11-30 Thread Colin Law
On 30 November 2010 14:42, Albert C. wrote: > Ok, lets begin, I'm newest, sorry because this is a low level question: > > If I have this, and of course I've saved before, this file in public dir > > > > ¿Why doesn't work? if it is in the public folder of your app then you just want src="/6465_p_

[Rails] Re: iFrame and routes

2010-11-30 Thread Albert C.
Ok, lets begin, I'm newest, sorry because this is a low level question: If I have this, and of course I've saved before, this file in public dir ¿Why doesn't work? * this is called from "firmas" controller and "mostrar_pdf" action =>the iframe says, if i have Javascript: No route matches "

Re: [Rails] Re: iFrame and routes

2010-11-30 Thread Colin Law
On 30 November 2010 14:09, Albert C. wrote: > Hi, I'm looking for answers for the same problem and the solution > therfore is? What problem? Colin > > => maybe read the file in the server and create it as a tmp file in > public/ > > ¿Is this a correct solution? > > -- > Posted via http://ww

[Rails] Re: iFrame and routes

2010-11-30 Thread Albert C.
Hi, I'm looking for answers for the same problem and the solution therfore is? => maybe read the file in the server and create it as a tmp file in public/ ¿Is this a correct solution? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the

Re: [Rails] Re: iFrame and routes

2010-11-23 Thread Colin Law
On 23 November 2010 17:26, Ralph Shnelvar wrote: > Colin Law wrote in post #963366: > >> By putting the file in your_app/public/documentation.  Then your link >> will find it. >> >> Colin > > While this works, it sorta doesn't answer the question. > > Let's say that the document is in /documentati

[Rails] Re: iFrame and routes

2010-11-23 Thread Ralph Shnelvar
Colin Law wrote in post #963366: > By putting the file in your_app/public/documentation. Then your link > will find it. > > Colin While this works, it sorta doesn't answer the question. Let's say that the document is in /documentation (not /public/documentation), how do I tell RoR to look ther