Re: How would you solve this problem?

2005-11-22 Thread Preston CRAWFORD
We thought about that, but at first blush that seemed worse. The biggest problem is that each page is going to have N number of spans containing N number of data relating to the provider. So the popup getting called from page one may have to update... Provider Name Provider Address and the popup

Re: How would you solve this problem?

2005-11-22 Thread Michael Jouravlev
On 11/22/05, Preston CRAWFORD [EMAIL PROTECTED] wrote: We thought about that, but at first blush that seemed worse. The biggest problem is that each page is going to have N number of spans containing N number of data relating to the provider. So the popup getting called from page one may have

Re: How would you solve this problem?

2005-11-22 Thread Hubert Rabago
Sorry for coming in late to the discussion but I only read this thread now. I may have misunderstood the problem. I'm thinking the popup will display a list of providers matching the search parameters, and the user can select any of them by checking one, and the fields on the form on the parent

Re: How would you solve this problem?

2005-11-21 Thread Yujun Liang
My experience is to implement 2 or 3 use cases of this popups and study the common behaviour and refactor the code base to support more generic cases. I am not sure whether the following can help you but I would use a Array to carry the fields and value to and fro the popups. var map = new

Re: How would you solve this problem?

2005-11-19 Thread Laurie Harper
Preston CRAWFORD wrote: Yeah, no easy solution for this. The more I think about it the more it occurs to me that what we're attempting to do is setup a common code base for updating any N number of forms using Javascript. The plumbing for this is easy and obvious (I listed it earlier). But

Re: How would you solve this problem?

2005-11-18 Thread R Raghavan
hi, you can try some technique similar to AJAX. Open the popup and do the necessary search either directly doing a http request..with submit or using HttpXMLRequest if your server support such request. And then use javascript window.open.href etc to point to the form in the page and do the

Re: How would you solve this problem?

2005-11-18 Thread Preston CRAWFORD
What part of this would AJAX solve? Not questioning because I know to be smart, but honestly asking. Right now what we're doing is having the popup submit itself to a traditional action, then refreshing to another JSP that handles that the updating of the parent page. I'd love it if AJAX were the

Re: How would you solve this problem?

2005-11-18 Thread Preston CRAWFORD
Yeah, no easy solution for this. The more I think about it the more it occurs to me that what we're attempting to do is setup a common code base for updating any N number of forms using Javascript. The plumbing for this is easy and obvious (I listed it earlier). But making it a single code base

Re: How would you solve this problem?

2005-11-18 Thread Laurie Harper
Where would AJAX help? A few ways, but principly by cleaning up the flow when you submit/close the popup; instead of the browser submitting the form, sending a request, reading the response, pulling the required data from it, and firing the Javascript to update the opening window, you'd make

How would you solve this problem?

2005-11-17 Thread Preston CRAWFORD
Okay, this is a little complex, so hopefully I can describe it well so as not to confuse anyone. We have a need for the following. We need a reusable set of actions, JSPs, etc. that operate in a popup to allow the user to search for a medical provider. That's easy enough. The catch is this. The

Re: How would you solve this problem?

2005-11-17 Thread Michael Jouravlev
On 11/17/05, Preston CRAWFORD [EMAIL PROTECTED] wrote: the UI requirement is that the user perform the search and then (as transparent as possible to them) have the page refresh the portions of the display that say what medical provider is currently selected. Ajax? Basically we want a popup