[jboss-user] [JBoss Seam] - Re: Issue with ValueChangeListener and calling SLSB in Seam

c_eric_ray do-not-reply at jboss.com
Thu Sep 21 17:15:01 EDT 2006


Did here. In fact, my implementation of valueChangeListener never even gets invoked. 


  |     <h:selectOneMenu value="#{workPackage.account}" rendered="#{!hasRemittance}" style="font-size:80%" 
  |           valueChangeListener="#{packages.selectAccount}" onchange="submit()">
  |       <f:selectItems value="#{packages.accountMap}" />
  |     </h:selectOneMenu>
  | 

  |   public void selectAccount(ValueChangeEvent event) {
  |     log.info("[#0]: event #1", user.getUsername(), event.getNewValue());
  |     AccountEntity ae = (AccountEntity)event.getNewValue();
  |     workPackage.setAccount(ae);
  |   }
  | 

The selectAccount method is never hit, no matter what. Any ideas?

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

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



More information about the jboss-user mailing list