[jboss-user] [JBoss Seam] - seam.properties not working for me

tuxzilla do-not-reply at jboss.com
Sun Jul 1 15:20:48 EDT 2007


I put two properties in seam.properties 

sendMail.testMail=x at x.com
sendMail.bypassEmail=false

to configure a event scoped bean

  | 
  | @Name("sendMail")
  | @AutoCreate
  | @Scope(ScopeType.EVENT)
  | public class SendMail {
  | 
  |     private String testMail;
  |     private boolean bypassEmail;
  | 
  | 
  |     public void setTestMail(String testMail) {
  |         this.testMail = testMail;
  |     }
  | 
  |     public void setBypassEmail(boolean bypassEmail) {
  |         this.bypassEmail = bypassEmail;
  |     }
  | ...
  | 
  | }
  | 

But this is not working. Did I miss anything? Thanks.

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

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



More information about the jboss-user mailing list