If my understanding is correct, and if you can launch the editing window with
regular js call, then, as suggested, use opener, and DOM method, it's very easy
to update the corresponding data in the parent window, I just did, less than 3
minutes if we deducted my typo error, typical me... FYI,
Using cfwindow, he is actually using a modal window for his edits, not a
popup.
I'm still experimenting with this, and haven't gotten it to work yet.
Layout issues are the main reason I'm not using CFGRID.
For example, let's say I'm editing newsletters. In my list, I only need
to see the
Nicholas,
Using cfwindow, he is actually using a modal window for his edits, not a
popup.
As his data is not in cfgrid, but a custom layout, my advice would be to
contain all of the logic of that layout (including sql call for data) in
it's own template. Use the Coldfusion.navigate
I think I am hearing that you get a record set on the parent page and loop
through it showing the rows in a table. Then the user clicks a link for a
record and it opens a new window which edits that record, saves the result back
to the data store and then closes, updating the record on teh
I've still not figured this out.
This isn't a do my work for me by posting some code request!
I just need a pointer in the right direction. I've been looking at the
live docs and miles of AJAX/Javascript code and my head is starting to
hurt! Surely it can't be *that* complex!
All I need to
A lot depends on how you've got your parent page set up.
For things like this, I use a dojo data store and just tell it to
update/refresh after the record is edited. That doesn't help you much
tho. =]
Without knowing how your data is set up, you've got a few options:
If it's a table that
denstar wrote:
A lot depends on how you've got your parent page set up.
Right now, the parent page is a standard query with a loop through
returned values. But, it's a test page where I'm trying to work this out
so I can apply it to any number of admin systems and easy enough to toss
and
If you want to have the page stay at the current scroll location and
update the data, you're probably better off with an editable grid
rather than a separate edit window.
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/
2009/8/2 Les Mizzell
Seems like I had an issue like this and I changed the submit button to just
a button (instead of submit) and used ColdFusion.navigate. It has options
where you can chose which div to submit the form in and other options.
On Sat, Aug 1, 2009 at 3:10 PM, Les Mizzell lesm...@bellsouth.net wrote:
Seems simple enough. Right now I've got:
1. Parent page, which is simply a standard record set with an edit
button for each record.
2. Click edit and a window opens with a small update form.
3. Hit Submit, and the form submits back to an update query on the
parent page and the record is
10 matches
Mail list logo