I've tried this but it doesn't seem to work. I get nothing appeared when user 
typed wrong thing and left the inputtext box. Here is my code:


  | public void checkLocation(){
  | facesMessages.add("country", "error message");
  | }
  | 

my page:

  | <s:decorate>
  |                 <h:inputText value="#{location.country}" id="country">
  |                     <a:support event="onblur" reRender="countryError" 
action="#{mybean.checkLocation}"/>
  |                 </h:inputText>
  |                 <a:outputPanel id="countryError><s:message/></a:outputPanel>
  |  </s:decorate>
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001071#4001071

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001071
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to