This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Getting MEAN with Mongo, Express, Angular, and Node and have Simon Holmes on-line!
See this thread for details.
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!
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Newbie problems with Ajax and JSF