JHS has a kludge to not display input lines that start with jev_... This means that sentences run as the result of an event handler do not clutter up the jijx log. But it also behaves as you see if you type it directly in jijx. Doing this properly is complicated and so far the effort hasn't been warranted.
A page can definitely load a different page and this could be done in several different ways. In javascript you can directly set a new URL, which would get the new page. And it J you can open a new page. Normally this is done as a pop-up in another browser window, but if the target is set properly then it will open in the same page. Study open and windowopen_jhs_ (particularly the NOPOPUP path) for ideas. Examples of this would be good additions, perhaps eventually in app7. On Sun, Nov 13, 2016 at 1:36 PM, Brian Schott <[email protected]> wrote: > Eric, > > Thanks for your reply. > > I have experimented a little with gd_.. in the following way (I am showing > my jijx window session below). > > runapp_jhs_ 6 > 'NEW' app6 'load' > jev_get_data_NEW_app6_ > > Right after I enter that last line, that line itself changes to the > following line, which is correct, but a little surprising, because it > replaces the entered line. > > load > > But I think I see what has happened, because entering > jev_get_data_app6_app6_ is replaced -- as expected by analogy -- with > calendar or whatever the most recent verb requested in app6. So it looks > like a good experiment. > > I think a good (additional?) app building example might show how one page > (containing a form, for example) can call another page (acknowledging > receipt of the form, for example) to replace the first page. Or maybe I > missed an example that does so. > > Thanks, again, > > On Sun, Nov 13, 2016 at 12:07 PM, Eric Iverson <[email protected]> > wrote: > > > Brian, > > > > [snip] > > > > > > > Your later question about gd_set and gd_get can probably be resolved by > > some more study and experiments. Those verbs provide simple local storage > > for a browser page with the use of global nouns in the app locale. > Create 2 > > browser pages for the same app and notice how with gd_.. they mantain > their > > state. When you are displaying 2 browser pages, examine the nouns in the > > app locale. > > > > -- > (B=) > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
