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

Newbie problems with Ajax and JSF

Alex Hauer

Joined: Dec 03, 2012
Posts: 1
Hi all,

I recently learn the fundamentals of jsf.
At the moment im trying to understand how i can use in Ajax in my JSF Applikation.
In my very easy example i tried to put in some Ajax logic. But as i start the applikation nothing happens when i click on the button.
I tried this on several browser but it doesn 't work.
It would be nice if someone could help me.

Thank you Alex

Here is my code:

And the javacode is
Volodymyr Lysenko
Ranch Hand

Joined: Mar 29, 2012
Posts: 511


Try this :

<f:ajax execute="first last" event="click" render="klasse" listener="test.combine" />

True person is moral, false is right!
I agree. Here's the link:
subject: Newbie problems with Ajax and JSF
It's not a secret anymore!