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 = "">
}
John
Best Wishes

// Christian Brunschen

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to