[jboss-user] [JBoss Seam] - Use complex attributes the old style

supert24 do-not-reply at jboss.com
Tue Jan 2 07:36:33 EST 2007


My Seam component named "CustomerWeb" defines an attribute

  | @In(required=false)
  | @Out(required=false)
  | public LocalContactData localContactData_WEB_IN;
, where LocalContactData is a seam component named "localContactData_WEB_IN". It is an entity bean, too.

In my JSF page it is refered to as

  | #{localContactData_WEB_IN}

Now I want to rewrite it in the JSF-style way:

	public void setLocalContactData_WEB_IN(
  | 			LocalContactData value) {
  | 		localContactData_WEB_IN = value;
  | 	}
  | 	public LocalContactData getLocalContactData_WEB_IN() {
  | 		return localContactData_WEB_IN;
  | 	}

But I get a javax.faces.el.PropertyNotFoundException Exception when
reading it in a JSF page as 


Any idea?

(I even have initialized localContactData_WEB_IN before, to have no NULL-caused error)

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

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

More information about the jboss-user mailing list