On Mon, Nov 10, 2008 at 11:14:46PM -0600, Josh Cronemeyer wrote:
class Bummer Shoes
url /, :index
url /cleveland, :cleveland
url /neverland, :neverland
def index
para link(go to cleveland, :click = /cleveland)
end
def cleveland
window :title = cleveland do
I think you misunderstood I want the child window to go to neverland.
I want url navigation to work inside the child windows.
-j
On Wed, Nov 12, 2008 at 12:17 AM, Seth Thomas Rasmussen
[EMAIL PROTECTED] wrote:
On Tue, Nov 11, 2008 at 1:43 PM, Josh Cronemeyer
[EMAIL PROTECTED] wrote:
On Wed, Nov 12, 2008 at 2:47 PM, Josh Cronemeyer
[EMAIL PROTECTED] wrote:
I think you misunderstood I want the child window to go to neverland.
I want url navigation to work inside the child windows.
Ah, whoops. I was thinking of your example from this thread using
$main to get the top
I think that the navigation should work everywhere, so if i am in a window
and i have link(click me, :click = /) My window should go to /. It
might be nice if you could do owner.link(click me, :click = /) instead
of passing the block with owner.visit... but not a huge deal.
so, uh yea. a patch
Hi Josh,
Do you really need to open multiple windows?
If not, the following code works well.
class Bummer Shoes
url /, :index
url /cleveland, :cleveland
url /neverland, :neverland
def index
para link(go to cleveland, :click = /cleveland)
end
def cleveland
#window :title =
So i got this response from brian off-list
quoth brian
While trying this, I found that I had to kill and re-open shoes to get it t
reload the changed .rb file, don't know what's up with that.
class Bummer Shoes
url /, :index
url /cleveland, :cleveland
url /neverland, :neverland
def
On Tue, Nov 11, 2008 at 1:43 PM, Josh Cronemeyer
[EMAIL PROTECTED] wrote:
My takeaway from this thread is that shoes treats child windows more like
red headed stepchild windows :) Url navigation from a child window requires
some acrobatics. One thing you can't do it seems is to put a link on
Perhaps I am doing something wrong. My app spawns a window with a link in
it, but I can't get the link to work. Here is some code that demonstrates
my problem. Essentially you can never get to neverland in this application.
#!/usr/bin/env open -a Shoes.app
class Bummer Shoes
url /, :index
drat! The subject of my email should have been never neverland
On Mon, Nov 10, 2008 at 11:14 PM, Josh Cronemeyer
[EMAIL PROTECTED] wrote:
Perhaps I am doing something wrong. My app spawns a window with a link in
it, but I can't get the link to work. Here is some code that demonstrates
my