Re: Popping-up a window and updating original page: how?
Re: Popping-up a window and updating original page: how?
- Subject: Re: Popping-up a window and updating original page: how?
- From: Clark Mueller <email@hidden>
- Date: Mon, 21 Jan 2008 21:59:35 -0700
I'm actually interested in all three as well.
1. The example I mentioned.
2. Ask the user, "would you like to do X?", and if they say yes, I
send them to some new component. If they say no, I send them to still
some other component.
3. Assistants or feedback pertaining to input as in (1).
(2) and (3) were always the things that were a thorn in my side with
YUIPanel as well, particularly (3). I think I'll spend some time
playing with the JavaScript and see what I can get. If I come up with
something useful, it will certainly make its way back to PW.
Clark
On 21 Jan 08, at 9: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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
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
--
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:
This email sent to email@hidden