[jboss-user] [JBoss Seam] - Re: selectOneMenu - NullPointerException

2007-11-20 Thread siobhan.ernest
Hi all - I actually scrapped this code and changed it to the following: components.xml plus a list seam-gen generated list bean: @Name("uploadDefinitionList") | public class UploadDefinitionList extends EntityQuery { | | private static final String[] RESTRICTIONS = { |

[jboss-user] [JBoss Seam] - Re: selectOneMenu - NullPointerException

2007-11-20 Thread Andy Gibson
Pete, since he is using @PersistenceContext, doesn't that rule out the possibility of using an SMPC? This PC is only scoped to the event, after which it is unavailable. I've been having a null filled list problem recently and I think (haven't had time to check) that it is tied to the PC flushin

[jboss-user] [JBoss Seam] - Re: selectOneMenu - NullPointerException

2007-11-20 Thread chrismalan
I don't know if I have a Seam Managed Persistence Context in my components.xml. I'm mailing this from work. But I at last did get s:selectItems to work. What did the trick was that every @entity that is used as a source for s:selectItems must implement a "boolean equals(Object obj)" and an "i

[jboss-user] [JBoss Seam] - Re: selectOneMenu - NullPointerException

2007-11-15 Thread [EMAIL PROTECTED]
Post your components.xml - you need to use a SMPC with s:convertEntity View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105050#4105050 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105050