[jboss-user] [JBoss Seam] - Re: Issues moving from Seam 1.1.0 to Seam 1.1.5

bsmithjj do-not-reply at jboss.com
Wed Feb 7 11:50:38 EST 2007


  | log.info("findUserByUserid() : found users -> " + evergreenUsers);
  | 

here is the whole method:


  |     public String findUserByUserid() {
  |         log.info("findUserByUserid() : anumber = " + evergreenUser.getAnumber());
  |         log.info("findUserByUserid() : lastqry = " + lastQueryText);
  | 
  |         if (evergreenUser.getAnumber().trim().length() < 5) {
  |             facesMessages.add("anumber", "You must enter at least the first 5 characters of the employee id");
  |             return "";
  |         }
  | 
  |         if (!this.lastQueryText.equalsIgnoreCase(evergreenUser.getAnumber())) {
  | 
  |             this.lastQueryText = evergreenUser.getAnumber();
  |             QueryEPeopleUtil util = new QueryEPeopleUtil(this.lastQueryText);
  |             boolean pattern = util.isQueryValidUid() & util.getQuery().length() < 7;
  |             this.evergreenUsers = util.findUsersForUid(pattern);
  |             if (util.getMessage() != null) {
  |                 this.facesMessages.add("anumber", util.getMessage());
  |             }
  |             log.info("findUserByUserid() : found users -> " + evergreenUsers);
  |         }
  |         return "search_results";
  |     }
  | 

Thanks

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012540



More information about the jboss-user mailing list