• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Popping-up a window and updating original page: how?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Popping-up a window and updating original page: how?


  • Subject: Re: Popping-up a window and updating original page: how?
  • From: Chuck Hill <email@hidden>
  • Date: Wed, 23 Jan 2008 18:51:37 -0800


On Jan 21, 2008, at 8:37 PM, Mike Schrag wrote:

When I was thinking about this, I was considering making it so that AjaxModelBox would be a component content which would only render its contents if a certain query parameter was passed in (probably its ID). Using this technique, you could make it so it would never render into the main page, but you could use the Ajax component url of the component in the modal box's URL with ? renderID=wo_0_5_2_whatever. When the modal box makes the request, it returns its contents, which would then render into the modal box. The nice part about this is that it mostly abstracts the fact that there is a second request coming from the standpoint of the user, which means you could very easily make alternative UI's without changing your page structure.

I've read this like 10 times. Maybe I am just too tired. But I am not quite getting what you are getting at.


Chuck


On Jan 21, 2008, at 11:22 PM, Chuck Hill wrote:
On Jan 21, 2008, at 7:57 PM, Clark Mueller wrote:

That is a feeling I know well...

:-(


The ability to (easily) do something like ModalBox's behavior in WO is something I have felt is really lacking, so I'm a bit interested in playing around with this. I had some luck with YUIPanel, back about a year ago, but it was very buggy and I ultimately gave up with it because of this. As I recall, the reason was mostly that the YUI library was not at all interested in mixing with Scriptaculous. YUIPanel had a tendency to completely flip out when multiple submit buttons were involved.

Fun!


What I would like is something that enables me to use a modal dialog for more insignificant data entry forms and alerts. It is often the case that I want to edit a related entity that doesn't really have enough data to deserve a whole edit page itself. If I were doing this in an application, I would use a sheet or a panel for that, and I'd like to do the same within WO. So essentially I want something that can be modal, handle a variety of content, not choke on one or more submit buttons, work nicely with Scriptaculous, and look good (in a nutshell, be everything that ModalBox is). Like I said, I abandoned this previously and I have been using the aforementioned edit pages, but I think I'd like to start wiping that out and take a crack at developing a reusable component based on ModalBox.

Doing what you want should not be too hard, relatively speaking. Mike has done a very nice job on the Ajax framework, once you wrap your head around it.



So... how far along did you get? Had you given much thought to the actual design, or was this something that was just floating around in your head? Do you have any code that you'd be willing to share?

Yes, but... I deleted it. I was cleaning up my disk and thought "Well, I don't need that copy of Wonder.". Of course I was using rm in Terminal not working in Finder. No big loss though, I did not have much more than a proof of concept. What I really wanted to be able to have is a modal box that could:


1. Open, accept input, and close to the same page
2. Open, accept input, and close to a different page (e.g. reload the main page with a different URL)
3. Open, accept input, and transition to a different modal dialog (think multi-step wizard)


It sounds like you just want (1). IIRC, that was not so hard but I am not sure how far along I got.

Chuck


On 21 Jan 08, at 8:26 PM, Chuck Hill wrote:

It is still on the list and I am still side tracked.  :-(

Some days it feels like I am running up a hill of loose sand.

Chuck


On Jan 21, 2008, at 7:13 PM, Clark Mueller wrote:

Chuck,

I am curious, have you explored this project any further?

Cheers,
Clark

On 22 May 07, at 12:13 PM, Chuck Hill wrote:

I am (was) working on an AJAX modal dialog / wizard / not quite sure where it will go solution for this (to be part of the Ajax framework in Wonder). I got side tracked onto some other tasks, I won't get back to this for a while. See http:// okonet.ru/projects/modalbox/

Chuck


On May 22, 2007, at 7:45 AM, Jean Pierre Malrieu wrote:

Hi,

I need to open a popup window (for example a file upload form), and when the user submits the form, close the popup window and update the original page.
This is pretty standard practice, I am sure, but I don't know how to do it.


Thanks for your solutions.

JPM

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects- email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net


This email sent to email@hidden


--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects






_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
@mac.com


This email sent to email@hidden



--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects









--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects






_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mdimension.com


This email sent to email@hidden


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net


This email sent to email@hidden


--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects






_______________________________________________
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


References: 
 >Re: Popping-up a window and updating original page: how? (From: Clark Mueller <email@hidden>)
 >Re: Popping-up a window and updating original page: how? (From: Chuck Hill <email@hidden>)
 >Re: Popping-up a window and updating original page: how? (From: Clark Mueller <email@hidden>)
 >Re: Popping-up a window and updating original page: how? (From: Chuck Hill <email@hidden>)
 >Re: Popping-up a window and updating original page: how? (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: Auto Open Client Application isn't
  • Next by Date: Re: Auto Open Client Application isn't
  • Previous by thread: Re: Popping-up a window and updating original page: how?
  • Next by thread: Re: Popping-up a window and updating original page: how?
  • Index(es):
    • Date
    • Thread