[jboss-user] [JBoss Seam] - Potential Bug (?)

wschwendt do-not-reply at jboss.com
Tue Aug 28 11:52:32 EDT 2007


The following is a potential bug.

How to replicate:

Use the CVS-based Seam and modify the seamdiscs example as follows:

Make the following changes to WEB-INF/components.xml  


  | 
  | // remove the definition of the "discs" query with a comment
  | <!--  <framework:entity-query   name="discs" 
  |                 ejbql="select disc from Disc disc" 
  |                 order="disc.name ASC" 
  |                 max-results="5"/>  
  | -->
  | 
  | 
  | // add the following definition of a "discs" query instead
  |  <component name="discs" 
  |        class="org.jboss.seam.framework.EntityQuery" 
  |        scope="CONVERSATION">  
  |           <property name="ejbql">select disc from Disc disc</property>
  |          <property name="order">disc.name ASC</property>
  |          <property name="max-results">5</property>
  |   </component>
  | 

Afterwards click on the following URL
http://127.0.0.1:8080/seam-discs/discs.seam

and an exception is thrown when javax.el.BeanResolver tries to access the dataModel property of the discs-Query Object.

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

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



More information about the jboss-user mailing list