I put two properties in seam.properties
sendMail.testMail=x(a)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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...