I put two properties in seam.properties
[EMAIL PROTECTED]
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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user