jsf - I need to close the browser window after the update -


I tried to complete the update but after not updating, need to close the browser window.

& lt; P: commandButton value = "# {msg ['BTN-Save']}" Action Listener = "# {WikimboBin.Adapter Model}" Incomplete = "window.close ();" StyleClass = "BTN BTN-Primary" AJAX = "True" & gt; & Lt; / P: CommandButton & gt;

window.close command will only work in IE Not on Firefox and Chrome, if you look in your Javascript console, you will see a warning on this "scripts only to close the windows that were opened by it".

FYI:


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -