Raul,

I have now created 2 similar files -- console.ijs and console.html -- to
produce a 3-frame browser page. Both files are used in a similar way by the
user. Both require that first the user creates a jijx window and in that
window executes one of the following two commands (or uses menus to
accomplish the same result).

a) load'~Projects/tgsjhs/console.ijs'

b) load'~Projects/tgsjhs/tgsjhs.ijs'

Only after that is completed, the user must create another tab or window
containing one of the following two urls. Which one depends on which file
was loaded above.

a) http://127.0.0.1:65001/console

b) file:///Users/brian/j64-801-user/projects/tgsjhs/console.html
Once either of those sequences are completed, the user needs to enter into
the jijx frame the command `cocurrent'tgsj'` to get full use of tgsjhs.
This last step seems annoying but I cannot see an easy way to eliminate
this last step. That's the issue I was trying to explain.

You can see console.ijs at this link.

http://www.jsoftware.com/jwiki/BrianSchott/code/turtleGraphics/tgsjhs?action=AttachFile&do=view&target=console.ijs

Below is the html code for console.html

<html><head><title>Turtle Graphics</title></head>
 <frameset cols="24%,*">
  <frame src="http://127.0.0.1:65001/jijx";
   name="ijx",
   scrolling='auto'>
 <frameset rows="87%,*">
  <frame src="http://127.0.0.1:65001/tgsj";
   name="ijs",
   scrolling='auto'>
  <frame src="http://127.0.0.1:65001/jhelp";
   name="jhelp",
   scrolling='auto'>
 </frameset>
 </frameset>
</html>

Does that clarify that question better?


On Mon, Mar 17, 2014 at 7:52 PM, Raul Miller <[email protected]> wrote:

> I see two different "locale" issues here. There's cocurrent (which is
> independent of the browser window you are interacting with), and there's
> the locale being used to handle http requests from javascript (which is
> determined by the url - jijx urls will be handled by the jijx locale). I
> guess I am not sure which of the two concepts you are reasoning about.
>
> Beyond that, you'd have to walk me through setting up a working example (or
> as close to working as you can get) along with a description of what you
> want different (both in terms of user experience and J queries) for me to
> sort out how to get your queries working. That said, maybe I can also offer
> you some advice on how to get it working on your own? I'd try installing
> Charles (http://www.charlesproxy.com/) and use that to study how the http
> requests to jhs (and your tgsj), and their responses. Once you see how
> those work maybe you'll find it easier to reason about what it is you want
> to be doing. This stuff isn't really all that hard, once you understand it,
> but you sort of have to see something similar in action before you can get
> anywhere.
>
> Thanks,
>
> --
> Raul
>
>
>
>
-- 
(B=)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to