Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

What's the problem in this code?  RSS feed

 
ozg yeal
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,



I want to change the value of a h:inputText when another h:inputText's value changes. I know it can be done with javascript. I did a search and there is a very similar topic in this forum. The responses advice to use AJAX. But I want to know what is the problem with my code:

index.xhtml:




BackingBean.java:





I traced this code and after line 32 is executed setMesaj() is executed with an empty string. Why it is so?


Thanks in advace.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!