Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Reload page using javascript

766581May 6 2010 — edited May 6 2010
Hi,

I want to reload page every time when i press one button. I dont think on refresh, i think exactly reload ( the same what is happend if you press F5 ).
I wrote javascript but i dont know what is wrong.
I put it on jsff page. And call function on this way : <af:clientListener method="reloadf5" type="action" />

<script type="text/javascript">
function reloadf5(event) {
window.opener.location.reload()
}
</script>

Thanks!

Edited by: djavolchic on 06.05.2010. 06.26
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 3 2010
Added on May 6 2010
1 comment
903 views