i set up a htm page consisting of an ijx, ijs and help frame from the JUM:
<html><head><title>xsh</title></head>
<frameset cols="44%,*">
<frame src="http://www.jsoftware.com:53692/jijx" name="ijx",
scrolling='auto'>
<frameset rows="77%,*">
<frame src="http://www.jsoftware.com:53692/jijs" name="ijs",
scrolling='auto'>
<frame src="http://www.jsoftware.com:53692/jhelp" name="jhelp",
scrolling='auto'>
</frameset>
</frameset>
</html>
The next step is to set the IJS file to be a particular file (o/w the
system keeps generating a new one). But i cannot find a URL for such a
file. I can modify any file, but i cannot get the URL for that
modification...
greg
~krsnadas.org
--
from Björn Helgason <[email protected]>
reply-to Beta forum <[email protected]>
to Beta forum <[email protected]>
date 24 October 2010 08:14
subject Re: [Jbeta] default switching jhs
Finally got some time to test your suggestion here.
Pretty nice!
javascript:window.open(prompt('url'),
'_blank','status=0,scrollbars=0,location=0,menubar=0')
javascript:window.open("http://www.jsoftware.com",
'_blank','status=0,scrollbars=0,location=0,menubar=0')
javascript:window.open("http://www.jsoftware.com","mywindow")
javascript:window.open("http://127.0.0.1:65001/jhelp",
'_blank','status=0,scrollbars=0,location=0,menubar=0')
javascript:window.open("http://127.0.0.1:65001/jijx",
'_blank','status=0,scrollbars=0,location=0,menubar=0')
javascript:window.open("http://127.0.0.1:65001/jijx","mywindow")
--
2010/10/22 Raul Miller <[email protected]>
On Fri, Oct 22, 2010 at 8:59 AM, Brian Schott <[email protected]>
wrote:
> My understanding of browser interfaces is that such tessellation of
> frames/windows is not possible by the end user, but if it is I would like to
> know how, please.
You can have multiple browser windows though. And you can size and
arrange them as you please.
I think the biggest limitation here is the extra real-estate imposed
by the browser itself. However, chrome minimizes that, and also it is
possible to instruct the browser to open a window without decorations
(using javascript's window.open() method -- though if you are willing
to use that you also have some other options available to you).
Though, actually, you could make a bookmark and edit. For example, change it to:
javascript:window.open(prompt('url'), '_blank',
'status=0,scrollbars=0,location=0,menubar=0')
This lets you type in a url and get a window visiting that url with a
relative minimum of decoration real-estate. You could also make
multiple bookmarks, replacing the "prompt('url')" with whatever url
you want (in quotes). Or instead of having the bookmark always spawn a
new window you could change the second parameter from '_blank' to some
unique name for that bookmark and the bookmark would then bring the
named window to the front if it were already open...
FYI,
---
Raul
--
from Alex Rufon <[email protected]>
to Beta forum <[email protected]>
date 22 October 2010 07:01
subject Re: [Jbeta] default switching jhs
Come to think of it ... I also do this a lot. I would normally have
the IJX, PM and 1 to 3 IJS files open at the same time. You see, I
sort of put all my global variables and global initialization scripts
in two different files:
defs.ijs - global variables, sql commands, structures, constants
init.ijs - initialization scripts
I sort of keep this two files open (particularly defs.ijs) ...
In JHS, can I open scripts in another TAB or another browser window?
Would that help Brian?
Although I don't have time to look at JHS, I'm looking at java web
application development and later on integrating J through/as web
service. I'm currently drowning in reading materials for
VAADIN <http://vaadin.com/home>
DROOLS <http://www.jboss.org/drools>
SPRING Framework <http://www.springsource.org/>
My ears are bleeding ... :P
--
From: [email protected] [mailto:[email protected]]
On Behalf Of Brian Schott
Sent: Friday, October 22, 2010 9:00 PM
To: Beta forum
Subject: Re: [Jbeta] default switching jhs
When Bjorn mentioned labs in the context of having frames it finally
reminded me of how desirable it is to have multiple windows visible at
once in J. On the Mac I have always been able to reposition and resize
multiple windows to tessellate them, and that has been most desirable
with labs and with simulation ogl graphics that are refreshed when
code lines are entered in the ijx window (Eric has not quite gotten
that to work for me in the last two revisions, btw).
My understanding of browser interfaces is that such tessellation of
frames/windows is not possible by the end user, but if it is I would
like to know how, please.
(B=)
--
from Björn Helgason <[email protected]>
to Beta forum <[email protected]>
date 22 October 2010 01:12
subject Re: [Jbeta] default switching jhs
It is one thing what you can do as a knowledgeable user and send the
pages into frames, windows or tabs and then another if the jhs is
clever enough to assist you to separate processes/input/output to
different widgets.
It would be very nice to take advantage of frames in particular with
things like the labs and separate the instructions and helps into
different frames and the user trials into another frame.
So you could in the same window have more than one frame and have them
interact in intelligent ways.
Instead of going to different windows for each of the links you could
basically have them all at the same time open in different frames on
the same window.
The ijs and ijx side by side and then below several frames with demos and helps.
I usually do not like popups very much and would rather have a frame
open up and a popup is more or less a frame lifted out of the window.
The whole idea of getting a browser gui for J - the JHS - is so much
more powerful by using and utilizing frames.
--
2010/10/21 Raul Miller <[email protected]>
2010/10/21 Björn Helgason <[email protected]>:
> You can load pages into frames but then you have a lot of stuff around from
> the page.
If you have just the contents of a script in a frame and send a line
to be executed and you get the result in another frame where the ijx
is displaying the output it would be very neat and tidy.
Hypothetically speaking, you can apply styles to the pages to hide
things you do not want to see?
---
Raul
--
from Björn Helgason <[email protected]>
to Beta forum <[email protected]>
date 21 October 2010 02:38
subject Re: [Jbeta] default switching jhs
You can load pages into frames but then you have a lot of stuff around
from the page.
If you have just the contents of a script in a frame and send a line
to be executed and you get the result in another frame where the ijx
is displaying the output it would be very neat and tidy.
In J6 I do this all the time by having the ijs and ijx side by side
and do the work in the ijs and send individual lines to the ijx and
thus collecting up lines of input.
If you do the work in the ijx the input gets mixed up with the output.
--
2010/10/20 Raul Miller <[email protected]>
2010/10/20 Björn Helgason <[email protected]>:
> ooops
> I was probably thinking frames and saying forms
Well, you can do that right now, i think?
Just make a page with the right frame urls and load it? (You could
have this page on your desktop, for example).
---
Raul
--
from Björn Helgason <[email protected]>
to Beta forum <[email protected]>
date 20 October 2010 00:22
subject Re: [Jbeta] default switching jhs
I would like to see labs such that the explaining text is in one form
and the experimental part in another form on the same page.
Same goes for working with ijs and/or inputs in one form the result
like ijx or plot or something in another sometimes on the same page
and sometimes in a popup.
In the html tutorial this is explained quite well and you can send or
open a link in a new window, new tab or you can open the whole page in
an old form.
It is possible to have all kinds of mix of what you do with outputs
and inputs and the main point that the menus and helps are often more
static than the results of operations.
--
2010/10/20 Eric Iverson <[email protected]>
This could be done. But I'm not sure it is desirable. That is, you
could make one tab have controls for both ijx and ijs functionality.
But that seems like mixing apples and oranges.
I find myself increasingly having multiple tabs with ijx. And I almost
always have more than one ijs tab. Sometimes the tabs are in the same
window and sometimes they are in different windows. And what about
external editors?
I think more experience with browser tabs and windows is going to be
enlightening.
--
2010/10/19 Björn Helgason <[email protected]>
I would like to have ijs in one form on a page and the ijx in another
form on the same page.
Then send lines from the ijs to the ijx
You can get similar setup by having two windows open side by side but
having several forms on the same page with help texts around is nice.
--
2010/10/19 Raul Miller <[email protected]>
2010/10/19 Björn Helgason <[email protected]>:
> What is really worth while thinking about besides using tabs is to use forms
> more.
Then again, simplicity is a virtue.
Then again, to my knowledge, the distinction between a tab and a
window is not exposed to the web developer.
---
Raul
--
from Björn Helgason <[email protected]>
to Beta forum <[email protected]>
date 19 October 2010 08:49
subject Re: [Jbeta] default switching jhs
What is really worth while thinking about besides using tabs is to use
forms more.
Have the contents of pages in forms and use big pages that can scroll
off screen.
One thing I do like about chrome is you take a tab and drag it off and
create a new window and you can also drag it back again and merge it
with other tabs.
--
2010/10/19 Eric Iverson <[email protected]>
Most of us have had decades learning the windows desktop paradigm and
use the browser in fairly simple ways (one page at a time). It is
going to take time to become adept in the browser world (it is already
quite rich and changing fast). For example, a serious J user probably
wouldn't use the link menu at all. Instead ijx,file,ijs would be on
the bookmark bar. To open a new ijs you'd click the empty tab then
click the ijs bookmark.
The demos don't yet reflect new ways of thinking about apps on the
browser. The navigation will improve.
--
2010/10/19 Björn Helgason <[email protected]>
That is not a big thing really because it is easily done with the
right mouse clicks.
Another issue is when changing from one place like from ijx to demos
or to pacman the place for links is sometimes on top and like in the
demos the links are at the bottom and you need to go first to ijx to
get the other links from the demos pages
It would be good to always have most of the links at the top.and have
the drop down similar options.
The demos links should possibly be like the labs links
--
2010/10/19 Eric Iverson <[email protected]>
The current behavior is browser standard and is fairly standard across
browsers. That is click follows link on current tab, shift opens new
tab, ctrl+shift opens new tab and makes it current. My strong feeling
for jhs is to follow browser standards as closely as possible.
--
2010/10/19 Björn Helgason <[email protected]>
When you want to go to different links in J7 jhs the default behavior
is to always stay on the same page and change contents for all links.
You can use the right button to chose if you want to open the link in
a new window or a new tab.
I am inclined to suggest the default behavior to be to open the link
in a new tab.
Possibly as a config option.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm