From the reference guide, the attribute oncomplete
does:
- Client side callback to execute when ajax request is completed.
You can't reference to a bean action! It's used, for example, to call a JavaScript
method and executed by the client.
Full reference can be found HERE.