[jboss-user] [JBoss Seam] - Re: framework:entity-query class attribute

2007-05-09 Thread petemuir
Just extend it and use the @Name attribute (just like an EntityHome) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4044188#4044188 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4044188

[jboss-user] [JBoss Seam] - Re: framework:entity-query class attribute

2007-05-09 Thread fernando_jmt
Thanks Pete, for your suggestion, nevertheless that was something I did previously. To be specific, in the extended EntityQuery I added some generic (for all lists) methods like the total pages and the current page (among others). These changes should be used for all entity-queries in my app.

[jboss-user] [JBoss Seam] - Re: framework:entity-query class attribute

2007-05-09 Thread petemuir
Ah, in that case: public abstract class MyEntityQuery extends EntityQuery { | |// Overridden/extra methods | } component name=fooQuery class=MyEntityQuery |property name=maxResults10/maxResults | component - you loose the namespace stuff in components.xml. You could always

[jboss-user] [JBoss Seam] - Re: framework:entity-query class attribute

2007-05-09 Thread fernando_jmt
Thanks Pete. I also thought in that solution. But I was afraid to loose the namespace stuff for entity-query. Now, I think this is my only chance (or define my own namespace). Only by curiosity. Do you know what is the purpose of the class attribute in the framework:entity-query stuff? I

[jboss-user] [JBoss Seam] - Re: framework:entity-query class attribute

2007-05-09 Thread petemuir
There isn't any afaik. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4044323#4044323 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4044323 ___ jboss-user mailing list