I have <h:inputText> on form and what I need is to execute some method from backing bean on BLUR event:
public void test()  
{  
  System.out.print("HELLO!");  
}  
Can you help me?
You can use <f:ajax> 
<h:form>           
      <h:inputText value="#{managedBean.val}" > 
        <f:ajax event="blur" render="result" listener="#{managedBean.test}"/> 
      </h:inputText>           
</h:form>
@ManagedBean(name = "managedBean") 
public class Bean { 
   private String val; // getter and setter 
   ... 
   public void test() {  
      System.out.print("HELLO!");  
   }  
}
Alternative :
If you are using richfaces then you can use a4j:jsFunction
See Also