I updated the project and it works now!!

Sorry for all the time you lost following me...

another little question:

I have a component in application scope:


  |     <framework:entity-query name="linguaAll"
  |             entity-manager="#{entityManager}"
  |             ejbql="select lingua from Lingua lingua"
  |             order="Descrizione"
  |             scope="application"> 
  |     </framework:entity-query>
  | 

I putted in application because it doesn't change after startup...

If I use it in a selectOneMenu in this way:



  |                 <h:selectOneMenu id="lingua" 
value="#{articoloHome.instance.lingua}" required="true">
  |                     <s:selectItems value="#{linguaAll.resultList}" 
var="lingua" label="#{lingua.descrizione}"/>
  |                                     <s:convertEntity />
  |                 </h:selectOneMenu>
  | 

It give me the "Value is not valid" error...

if I put the component in conversation scope it works, but I thought that 
application scope was fine coz it is longer than conversation scope, where do I 
wrong? and if application scope is bad how can I do to do not reload from DB at 
every new conversation?

Thanks again!

Demetrio Filocamo

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

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

Reply via email to