In Seam 1.2.1GA I was not using jboss-el, and I had a value expression passed to a facelet source tag that looked something like this:
| value="#{not empty f.expression ? f.expressionValue : f.componentProperty ? value[f.component][f.property] : value[f.name]}"
|
Now with Seam 2.0B1 (and the new Jboss-el) this gives me an error:
| Illegal Syntax for Set Operation
|
when the form is submitted.
Should I factor this out into mutliple separate simpler expression and put the conditional logic elsewhere? Or is this a limitation that we expect to be lifted at some point?
Cheers
J
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059470#4059470
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059470
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#4059468
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059468
What would be the most efficient way of passing files to session beans that could reside on other nodes in a cluster. i.e. a file is uploaded to machine A which needs to pass it to a session bean on machine B for processing. Keeping in mind that the files could get quite large and passing byte arrays doesn't seem to be an efficient use of memory. Will a FileInputStream created on Machine A work on Machine B or is the same thing as passing a byte array?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059460#4059460
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059460