[jboss-user] [JBoss Seam] - Re: Request parameters

KnisterPeter do-not-reply at jboss.com
Thu Jun 14 08:59:13 EDT 2007


Ok, I could create a simple bean component and specify @In("#{param...}").
But I get this exception for my bean:
java.lang.IllegalArgumentException: Can not set java.lang.Integer field de.llynch.kingpin.bean.ConfigBean.campaignId to java.lang.String
  | 	sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:146)
  | 	sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:150)
  | 	sun.reflect.UnsafeObjectFieldAccessorImpl.set(UnsafeObjectFieldAccessorImpl.java:63)
  | 	java.lang.reflect.Field.set(Field.java:657)
  | 	org.jboss.seam.util.Reflections.set(Reflections.java:63)
  | 	org.jboss.seam.Component.setFieldValue(Component.java:1555)
  | 	org.jboss.seam.Component.access$500(Component.java:135)
  | 	org.jboss.seam.Component$BijectedField.set(Component.java:2285)
  | 	org.jboss.seam.Component.injectAttributes(Component.java:1368)
  | 	org.jboss.seam.Component.inject(Component.java:1195)
  | 

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

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



More information about the jboss-user mailing list