Re: Open page in a new window and set the size
Re: Open page in a new window and set the size
- Subject: Re: Open page in a new window and set the size
- From: Christian Brunschen <email@hidden>
- Date: Tue, 14 Feb 2006 22:32:01 +0000
On 14 Feb 2006, at 22:21, John Huss wrote: I have the _javascript_ that I need to open a new window and set its size, but how do I get a URL from the WOComponent that I want navigate to? window.open(url,'name','height=400,width=200'); You'll want to use a WOActionURL.
Sample code, typed directly into email and not verified:
In Component.html:
window.open('<WEBOBJECT NAME="FooActionURL"></WEBOBJECT>', 'name', 'height=400,width=200');
In Component.wod:
FooActionURL : WOActionURL { action = ""> } Best Wishes
// Christian Brunschen |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden