From: "B. Randy" Date: 2009-04-20T23:42:36+09:00 Subject: Sinatra : examples and FRAME. Hi, I'm working on Sinatra for days. The 'book' and the 'FAQ' are clear but haven't real examples. I use only "dbi" for database, I'm using Oracle with real tables. On a page, I have a FORM and below I would see the result of the request. I have tried something like : - I use a session; - put the form in the main page '/', the form make a "post 'action'"; - make a " get '/'"; - make a "post 'action'", work on data, " redirect '/'". The selected value in the form are lost. I must make a reload of the page to see the selected values of the form. This is my problems : - How to have a form AND the result of this form in the same page ? - How to recall the values taken from the form in the form ? - May be using some frames is a good idea but I don't see how to define the "src" attribute ? Well, some have a real and SIMPLE example of a web application for Sinatra ? or could help me to find a solution ? I'll take the ideas :) Thanks. -- Posted via http://www.ruby-forum.com/.