Hi,
I have a question about WebClientUtils.executeClientSideJS(jsToExecute).
In my asp page i have loaded the servoy webclient in an iframe. Now i want to refresh the main asp page from within the servoy-webclient.
The problem is that i don’t know the valid reference to the main asp page to reload. i’ve tried; window.location.reload(); window.parent.location.reload(); window.parent.frames[0] etc. anyone?
i think:
window.top.location.reload()
or
window.top.location.href=xxxxxx
should work.
That doesn’t work.
alert(window.location.href); gives me the web-client href (http://servoy-server:8080/servoy-webcli … Kd…etc)
but window.top.location.href doesn’t gives me anything…
sorry typo, tried; window.top.location.href
i can’t get it working, any suggestions? are there other ways to refresh the parent (window.top) page from within the servoy web-client?
Are the parent and the WC hosted on the same domain? If not, the cross site scripting might just be blocked for security reasons.
Paul
Yes they are, it is in an intranet environment…but maybe it is an cross site scripting issue…