[jboss-user] [JBoss Seam] - Re: Odd Transactional Exception on WebLogic 9.2

neilac333 do-not-reply at jboss.com
Sat Feb 16 03:10:15 EST 2008


Though this might be a long shot, it occurred to me that I might be using <s:selectItems> incorrectly.  In my case, when I do the following in my Facelet as described above:


  | <select jsfc="h:selectOneMenu" id="categoryDropdown" value="#{myAction.category}">
  |       <s:selectItems value="#{queryService.categories}" var="category" label="#{category.name}" noSelectionLabel="" />
  | </select>
  | 

...the method queryService.categories returns a List < Category > object.  It was my assumption that the Seam control constructs a List< SelectItem > from that, but I might be mistaken.

Any clarification here is much appreciated.  It may have absolutely nothing to do with this odd problem, but at this point I am desperate.  I am sure you can relate.

Thanks.

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

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



More information about the jboss-user mailing list