• Post Reply Bookmark Topic Watch Topic
  • New Topic

a4j:ajax keyup event not working

 
Alireza Saremi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After a long time I'm using a4j:ajax to get simple text from h:inputText and render to h:outputText but it's not working

this is my java bean



and this is my index.xhtml



I'm using JSF 2.0 and RichFaces 4.0
Any solution would help me.

Tanks
 
Tim Holloway
Bartender
Posts: 18414
58
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the JavaRanch, Alireza!

Request scope is almost entirely useless in JSF. The request object is destroyed the instant the request has finished processing. A new instance - without your data changes - is constructed on the next request. Over and over again.

Use ViewScope or SessionScope.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!