mljonzs
Posts: 124
|
Posted: 02/26/2008, 2:57 PM |
|
HI everyone.
I feel a bit dumb here but in a rush to put an application together last year, some things were not designed as they should have been and now I face challenges in maintaining my stuff. I have a standard CCS page that has a link to a list view. User requested this list view be opened in a separate page. From here they can drill into a form to maintain records on the view. Some of the data being maintained in this new record form is displayed on the starting form. I would like to be able to automatically refresh this starting form when the user clicks the submit button on the new record form which is opened in a different window. I used a CodeCharge link object to create my link to the list form and set the _Target value to _Blank so I'm not able to figure out how (if at all) I can refresh my starting page from the new window? Can anyone help? Am I making sense? I don't want users to have to manually refresh the starting page to see changes made to the data on the separate window....
Thanks!
mj
_________________
What does not begin WITH God, will end in failure!
|
|
|
Oper
Posts: 1195
|
Posted: 02/27/2008, 6:59 AM |
|
the page to refresh how is loaded?
PAGER <---- Need to be refreshed
PAGEM <------ another Page.
____________________________
PAGEM open PAGER?
or
PAGER open PAGEM?
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)
http://www.PremiumWebTemplate.com
Affiliation Web Site Templates
Please do backup first |
|
|
mljonzs
Posts: 124
|
Posted: 02/27/2008, 7:14 AM |
|
In your description above, PAGER opens PAGEM
Need data from PAGEM refreshed on PAGER
Thanks.
_________________
What does not begin WITH God, will end in failure!
|
|
|
Oper
Posts: 1195
|
Posted: 02/28/2008, 6:15 PM |
|
oki,
let do this first the easy way (no much validation etc)
Ugly way:
on the Page Unload (Important: Client Side) PAGEM
function page_OnUnload()
{
var result;
//End page_OnUnload
//Custom Code @224-2A29BDB7
// -------------------------
opener.location.reload(true);
// Write your own code here.
// -------------------------
//End Custom Code
//Close page_OnUnload @1-BC33A33A
return result;
}
you need to open the new window with window.open(
work like a charm
we could complicated a little more bu tnot needit
ps: work in MozilaFirefox and Explorer
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)
http://www.PremiumWebTemplate.com
Affiliation Web Site Templates
Please do backup first |
|
|
mljonzs
Posts: 124
|
Posted: 03/04/2008, 7:57 AM |
|
Hi. So, rather than use CCS link, I should create my own hyperlink with javascript then, is that what you are saying?
_________________
What does not begin WITH God, will end in failure!
|
|
|
Oper
Posts: 1195
|
Posted: 03/04/2008, 6:42 PM |
|
yes sir
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)
http://www.PremiumWebTemplate.com
Affiliation Web Site Templates
Please do backup first |
|
|
|