[REBOL] How to create different context in View?
From: ale870::gmail::com at: 24-Jul-2007 7:35
Hello,
I have a problem (my friends say that I have a lot of problems... :-( ).
Can I create a Rebol/View form, separating the contexts inside?
What I want to do, is something like this:
view layout [
context1 [ f: field ]
context2 [ f: field ]
button [
alert context1/f/text
alert context2/f/text
]
]
Is it feasible? I need to refer the same variable name, insulating it.
Obviously, in the previous case, the system renders either context1 or
context2. Final output, when program starts, could be something like:
|==== field in context1 =====|
|==== field in context2 =====|
|== button ==|
Thank you!
--
--Alessandro