Re: Design question with popup window.
Re: Design question with popup window.
- Subject: Re: Design question with popup window.
- From: Chuck Hill <email@hidden>
- Date: Thu, 1 Sep 2005 11:16:10 -0700
Personally, I'd try to avoid popups. I like them only slightly more
than dental surgery.
Here are a couple of things that you can try:
1. Have a default action on the form that does nothing (make it
multiple submit and bind the actual submit button(s) to a different
action method. The action method bound the the form's action should
just return context().page();. Then in 3 (below) submit the form to
refresh the page.
2. Have the Add link submit the form before popping up the link. I'm
not sure if this is even possible. You would need something like
onClick="this.form.submit(); openPopup();" I'm not too confident
that this would work, but it is worth a try.
Chuck
On Sep 1, 2005, at 10:23 AM, James Cicenia wrote:
OK -
For some reason this is driving me a bit batty. Amazingly this is
the first time I am doing this pattern:
1) Add Link --> Popups up window for a support ticket.
2) Fill out the support ticket... hit another link which --> Popups
a window to add some extra information that will be displayed on a
list on the parent window.
3) I submit the second window and use my fancy javascript to
"refresh the parent"
4) The changes the user just did before the popup are lost because
the parent is being refreshed vs. submitted.
What do the pros do here? Can I submit the parent record while
popping up the new window?
James Cicenia
_______________________________________________
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 - a book for intermediate WebObjects developers
who want to increase their overall knowledge of WebObjects, or those
who are trying to solve specific application development 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