I have a selectOneMenu where selectItems come from a WebService which returns a 
collection of a simple POJO class.It has an identifier,and some fields,but 
since it is not managed by any EntityManager or HibernateSession I can not use 
s:convertEntity. I think this is the case you didn't come accross pete and dan 
:/

I have to convert that collection to a List and define an Integer in the 
backing bean which stores the selected index or write a converter for that 
class. (But I have more than one selectOneMenu with this case and all uses 
different POJOs). Either way,selectitem or converter,does not seem right to 
me,because within my tidy code,thanks to seam, they look ugly.

On http://jira.jboss.com/jira/browse/JBSEAM-1801, pete says:"I've implemented 
something similar: override and extend the 
org.jboss.seam.ui.entityIdentiferStore component implementing the get and put 
methods. You can then use e.g. a HashMap, and using the identifier and entity 
arguements to put, store it under whatever key you like". I am working on this 
without success. pete can you please show a sample or at least give more info 
on this subject?

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

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

Reply via email to