[jboss-user] [JBoss Seam] - @In attribute requires non-null value

mirlabraga do-not-reply at jboss.com
Tue Nov 13 07:39:45 EST 2007


AnyBody know what happen?


  | 
  |  @In
  |     private String nomeEndereco;
  | 
  |  /**
  |      * @return the nomeEndereco
  |      */
  |     public String getNomeEndereco()
  |     {
  |         nomeEndereco = new String("mirlabraga at gmail.com");
  |         return nomeEndereco;
  |     }
  |   public void nomesEndereco()
  |     {
  |        nomeEndereco = new String("bragamoveis at gmail.com");
  |         
  |     }
  | 
  |    //action
  |  public void send()
  |     {
  |     nomesEndereco();
  |     }
  | 
  | 

 ERROR

Caused by: org.jboss.seam.RequiredException: @In attribute requires non-null value: mailExample.nomeEndereco


Thanks




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

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



More information about the jboss-user mailing list