Re: JSModelWindow
Re: JSModelWindow
- Subject: Re: JSModelWindow
- From: Jonathan Rochkind <email@hidden>
- Date: Wed, 3 Mar 2004 10:43:18 -0600
JSModalWindow is a partial component meant to be embedded in another
page. pageWithName("JSModalWindow") is probably never a good idea.
I'm not sure how to do what you want to do, if I understand it
correctly. There are potentially HTML limitations.
--Jonathan
At 5:39 PM +0530 3/3/04, Kranthi Sagar Borra wrote:
Hi,
This is really bugging me and my work is affected by this. I will be
thankful if some one could give me an appropriate solution as soon
as possible.
I have an image. when I click on this image , a query gets executed
and depending on the result I need to either download the image file
or show the image in a small pop up window ( JSModalWindow ) . So
how can I handle this. I mean to say, I should instantiate the
JSModalWindow object dynamically. So is this possible ?
I tried doing something like this.
JSModalWindow js = (JSModalWindow)pageWithName("JSModalWindow");
return (js.invokeAction());
I think invokeAction() should be calling contextComponentActionURL
, but that is not getting called. So can someone tell me how I can
handle this.
Thank you.
Regards,
Kranthi Sagar.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.