You can't use convertEntity in this situation (it assumes that all objects in 
the list are entities, as would any converter).  You can extend 
org.jboss.seam.ui.EntityConverter:

@Name("myConverter")
  | @Converter
  | public void MyConverter extends EntityConverter {
  | 
  |    public String getAsString(...) {
  |       if ("separator".equals(value) {
  |          // it's not an entity, you deal with it here
  |       } else {
  |          return super.getAsString(...);
  |       }
  |    }
  | 
  |    // similar for getAsObject
  | }
  |   | 
  |   | then you use it
  |   | 
  |   | <f:converter id="myConverter" />

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044438
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to