[jboss-user] [JBoss Seam] - entityConverter problem

emsa do-not-reply at jboss.com
Wed Apr 25 17:34:48 EDT 2007


I'm trying out the entityConverter, and I have a control like:


  | <h:selectManyListbox value="#{tagSearch.selected}">
  |   <s:selectItems value="#{tagSearch.tags}" var="tag" label="#{tag.value}" />
  |   <s:convertEntity />
  | </h:selectManyListbox>
  | 

displaying this works fine but when I submit the form I get:


  | java.lang.NullPointerException: 
  | 	at org.jboss.seam.framework.EntityIdentifier.find(EntityIdentifier.java:21)
  | 	at org.jboss.seam.ui.EntityConverterStore.get(EntityConverterStore.java:44)
  | 	at org.jboss.seam.ui.EntityConverter.getAsObject(EntityConverter.java:74)
  | 	at org.apache.myfaces.shared_impl.renderkit._SharedRendererUtils.getConvertedUISelectManyValue(_SharedRendererUtils.java:176)
  | 
  | 

I have tried putting my components in different scopes but that doesn't help. 

What can be amiss?

/Magnus


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

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



More information about the jboss-user mailing list