|
Pages: [1]
|
 |
|
Author
|
Topic: Displaying 'populated' "views" (Read 510 times)
|
|
jfdutcher
|
I have a Rebol 'View' for my user to use to select one of multiple radio buttons .....
I'm trying to get my arms around the 'logical flow' that should follow once they have done so...
I presume I would close the current view ....but how do I properly initiate one of various new views (depending on the radio button selected)....and more than that... these views must be 'populated' with data from a database 'before' presentation. This is to mirror my current CGI PHP version where I would call to a server script which would retrieve the data and 'write back' the HTML with all the many (in this case) drop downs, check boxes , text boxes etc. populated. I'm looking at docs .... but haven't seen anything that takes the process that far yet ?
|
|
|
|
|
Logged
|
|
|
|
|
CarlRead
|
I'm not sure if this answers all your question, but I think it at least shows how to keep track of the status of radio buttons... REBOL [ ]
show-status: does [ r1/text: reform [a1/data a2/data a3/data] r2/text: reform [b1/data b2/data b3/data] show [r1 r2] ]
radio-lo: layout [ across a1: radio of 'a1 a2: radio of 'a1 a3: radio of 'a1 button "Update" [show-status] b1: radio of 'b1 [show-status] b2: radio of 'b1 [show-status] b3: radio of 'b1 [show-status] return button "Close" [show-status unview radio-lo] ]
view layout [ button "Set Radios" [view/new radio-lo] across label "Radio1 status:" r1: info return label "Radio2 status:" r2: info ]
|
|
|
|
|
Logged
|
- Carl Read
|
|
|
john.dutcher@highmark.com
Guest
|
Very enlightening ......Thanks much.
John D.
|
|
|
|
|
Logged
|
|
|
|
|
|
Pages: [1]
|
|
|
 |