I thought I had a good idea of how to control webobjects in AMS but it's not working.
Basically I have two web objects that load local pages. Each page has an Onload command in the body to assign it a name making it so it can be targetted from a link. So now I can load page 2 by clicking a link in page 1 and I can load page 1 by clicking a link in page 2.
This works fine if I'm viewing the two pages in Explorer but when I embed the two windows in AMS they can't seem to find (target) eachother and when I click a link, a new window external to AMS is loaded.
Why wont this work!!
What I have to do instead is have the link in Web Object 1 load itself and append a command on to the URL (Page1.htm?Load2). Get the URL and parse it to get the command. Then based on the command load the 2nd Web Object.
Problem is this causes both objects to reload which visually isn't great plus it resets any form objects to defaults.
Is this an AMS bug or just due to the fact that the windows are embedded
Basically I have two web objects that load local pages. Each page has an Onload command in the body to assign it a name making it so it can be targetted from a link. So now I can load page 2 by clicking a link in page 1 and I can load page 1 by clicking a link in page 2.
This works fine if I'm viewing the two pages in Explorer but when I embed the two windows in AMS they can't seem to find (target) eachother and when I click a link, a new window external to AMS is loaded.
Why wont this work!!
What I have to do instead is have the link in Web Object 1 load itself and append a command on to the URL (Page1.htm?Load2). Get the URL and parse it to get the command. Then based on the command load the 2nd Web Object.
Problem is this causes both objects to reload which visually isn't great plus it resets any form objects to defaults.
Is this an AMS bug or just due to the fact that the windows are embedded
Comment