Hi,
I found the following code:
parent.frames['yourFrameName'].location.reload();
using it in the Menu Item, "on click" field, it works ok refreshing another frame, now two questions:
1- How and where in the code must I use this code in a form to refresh another frame on page load?, may be it cant be done, then...
2- Is there any chance to add on-click to the browse change and other buttons?
Thanks Alberto
Lets say when you open 'Page1' you want to refresh 'frameB'.
1. Go to the XHtml tab on the NetWeb setting for 'Page1'.
2. Click insert.
3. Select 'Routine' under 'Embed:'.
3. Give your routine a name ('ReloadFrameB' for example)
4. Leave the condition blank
5. Select a location that will place it inside the <body> tag. For a form or browse any point should work as the template wraps them in a body tag for you. For a NetWebPage 'after <body>' will work best.
6. Under 'XHTML" put '<scrip>parent.frames.frameB.location.reload();</script>
If you always want to reload 'frameB' when 'Page1' loads then you're done. If you want it to refresh the frame sometimes, or different frames at times then you're going to have to work some magic with stored values and NetTalk tags.