
JSF
DViewer
求知者
展开
-
How to invoke a JSF managed bean on a HTML DOM event using native JavaScript?
I need to execute a JSF managed bean action method using ajax during HTML DOM load event, similar to jQuery's $(document).ready(function() { $.ajax(...) }). I can only use the JavaScript generated转载 2015-11-20 23:04:50 · 898 阅读 · 0 评论 -
Execute managebean method from javascript onload event
In theory the following should do it. event="load" listener="#{bean.onload}" /> with public void onload(AjaxBehaviourEvent event) { // ... } However, this is not supported for some转载 2015-11-20 22:56:25 · 927 阅读 · 0 评论