[REBOL] Re: cheyenne and RSP
From: compkarori:gm:ail at: 13-Jan-2007 21:54
Alan
You have the Rebol interpreter available between the <% .. %> so all
you need to do is establish the database connection,grab the data into
a variable, and then print it to the screen. The html stuff gets
interspersed with the actual data you are printing.
I haven't used the encapped version of Cheyenne, but in the source
code one you can open the database connection, and then use that
globally so you don't have to keep opening and closing database
connections.
On 1/14/07, Alan <fergus4-bellatlantic.net> wrote:
> I've been using Cheyenne to host a small website from home. It's great!
> Simple set up, no configuration for RSP, fast CGI already set up.
>
> My question is on RSP. I've got some simple functions working but some of
> the more complicated stuff I do not know where to look for info on. The RSP
> document I found is minimal.
>
> I'm trying to get a web form to fill with info from a database based on the
> name selected from a droplist. Sort of a phone book application with a drop
> list to pick the name.
>
> I do not know how to "read the selected name and insert thme into the form
> without exiting the page to CGI a new page. Is it possible. I've seen
> similar things done in Java Script.
>
> -alan
>
> --
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
>
--
Graham Chiu
http://www.synapsedirect.com
Synapse-EMR - innovative electronic medical records system