[jboss-user] [JBoss Seam] - Re: UPDATED: SelectItems (the one with the EntityConverter)

forumer do-not-reply at jboss.com
Wed Nov 8 21:12:44 EST 2006


Hi Peter,

Now I understand a bit more about JBoss versions! I understand that you don't want to waste time supporting a non-GA version. Unfortunately, we are in production with CR2 and will certainly be moving to GA as soon as we can.

Your implementation is very crucial to my application. So in an attempt to make it work I have made a few adjustments to a point where I may have it almost working. I'd appreciate if you might have a quick insight into what may be wrong. Please feel free to ignore this if it will take more than a quick tip.

Even though the "factory" variables are being processed out of the database as evidenced by log statements as to the number of items for each of the three. But when it comes to resolving #{discounts}, #{branches}, and #{clientTypes} are coming out as NULL:


  | 
  | 7:44:44,769 INFO  [STDOUT] Branch list has 3 entries
  | .
  | .
  | .
  | 17:44:44,789 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
  | java.lang.IllegalArgumentException: Value binding '#{clientTypes}'of UISelectItems with component-path {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /selectite
  | ms.xhtml][Class: javax.faces.component.html.HtmlForm,Id: _id3][Class: javax.faces.component.html.HtmlPanelGrid,Id: _id4][Class: javax.faces.component.html.HtmlPanelGroup,Id: _id18]
  | [Class: javax.faces.component.html.HtmlSelectOneListbox,Id: client_clientType][Class: javax.faces.component.UISelectItems,Id: _id19]} does not reference an Object of type SelectIte
  | m, SelectItem[], Collection or Map but of type : null
  |         at org.apache.myfaces.util.SelectItemsIterator.hasNext(SelectItemsIterator.java:142)
  | 

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

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



More information about the jboss-user mailing list