I want to inject a request parameter to a bean like bellow using expression:
@In(value="#{param.id}", required=false)
private Long id;
However, Seam gives error java.lang.IllegalArgumentException because the param
value is of type String, which doesn't match the field's type Long. I think
for injections, Seam should do some basic conversions from String to primitives
and primitive wrappers.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925999#3925999
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925999
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user