some time ago I asked about a way to provide a way to download some stuff; I was pointed to the IADynamicResource class. As a simple test I used self callPage:(mumble resource setup etc) which seemed to work ok. Now I'm trying to make non-demo use of it and I've hit an interesting looking problem I have an action within a component and the error is in IAPAge>parent: - apparently we can't embed an IAPage. I'm not sure how I'm doing this heinous activity, but maybe someone can help me. It seems like it would be generally pretty useful to have a download button available anywhere. What can I do about it?
tim
-- tim@sumeru.stanford.edu
On Sun, 13 Oct 2002, Tim Rowledge wrote:
some time ago I asked about a way to provide a way to download some stuff; I was pointed to the IADynamicResource class. As a simple test I used self callPage:(mumble resource setup etc) which seemed to work ok. Now I'm trying to make non-demo use of it and I've hit an interesting looking problem I have an action within a component and the error is in IAPAge>parent: - apparently we can't embed an IAPage. I'm not sure how I'm doing this heinous activity, but maybe someone can help me. It seems like it would be generally pretty useful to have a download button available anywhere. What can I do about it?
Hmm. Try "self root callPage:" or "self root jumpToPage:". You want this resource to take up the whole "page" rather than embedding itself into the slot its download button was in.
Avi
Avi Bryant avi@beta4.com is claimed by the authorities to have written:
Hmm. Try "self root callPage:" or "self root jumpToPage:". You want this resource to take up the whole "page" rather than embedding itself into the slot its download button was in.
Oh, duh. I't been a while since I had time to work on this and it's just horrifying how fast it slips away. That seems to work ok. Thanks again..
tim
seaside@lists.squeakfoundation.org