File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Calling a bean method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Calling a bean method" Watch "Calling a bean method" New topic

Calling a bean method

David González

Joined: Jun 26, 2009
Posts: 4

I have followed this:

but finally there is not a solution to this problem

I'm trying to simulate this code:

but no works with a little changes

I do this
javascript function

function myfunc() {;


function del_onclick() {'','','toolbar=no,menubar=no,location=no,height=500,width=500');

<h:commandButton id="button_name"
onClick="del_onclick()" value="Test"
immediate="true" />

commandButton is into a form called "form_composition"

in this case myfunc() is called when the browser is closed, but it never fired.

Do I have to do something else???

Any suggestions???


I agree. Here's the link:
subject: Calling a bean method
jQuery in Action, 3rd edition