Re: [appfuse-user] Appfuse 2 Spring-Hibernate query result filter question

2008-02-15 Thread Rob Hills
Hi Yves, ycharron wrote: Hello, I'm trying to use a hibernate filter to limit child records of an oneToMany association. @Entity public Class Parent { ... private Set childs = new HashSet(); ... @OneToMany (fetch=FetchType.EAGER) @JoinColumn(name = "fk_parentId")

Re: [appfuse-user] Ahh shoot !!

2008-02-15 Thread Nathan Anderson
Hi Nikolay, Here is some helpful information on using Eclipse with AppFuse: http://appfuse.org/display/APF/Eclipse The short answer to your question is you run one of the following commands to prepare your application for Eclipse: (Basic project) mvn eclipse:eclipse (Modular project)

[appfuse-user] Ahh shoot !!

2008-02-15 Thread Nikolay Karasev
Sorry, I do not generally like to spam the mailing lists, but I have to admit that some things in Maven amaze me to a degree of being selfish. Never mind my previous post asking about where did org.appfuse.model go. I found it in ~/.m2/org/appfuse/appfuse-data-common/... I also found javax.persist

[appfuse-user] Where is org.appfuse.model ?

2008-02-15 Thread Nikolay Karasev
My eclipse seems to have lost reference to that package (only sees dao, hibernate and spring, but not model subpackages) second day I have used it to do some code. Also it seems that the reference to javax.persistence has gone South as well. I am puzzled since I am not a Maven user really, but mave

[appfuse-user] Appfuse 2 Spring-Hibernate query result filter question

2008-02-15 Thread ycharron
Hello, I'm trying to use a hibernate filter to limit child records of an oneToMany association. @Entity public Class Parent { ... private Set childs = new HashSet(); ... @OneToMany (fetch=FetchType.EAGER) @JoinColumn(name = "fk_parentId") @Filter(name="validRecord",

[appfuse-user] Is this a Bug?

2008-02-15 Thread Leo Barrientos C
Hello, i am working in two Appfuse (Spring + Hibernate) projects on my computer, on the second project the test cannot run because spring cannot find the beans to auto wire implementation to test. It is only happened with two proyects, i tried to use diferents workspace in eclipse but the results

Re: [appfuse-user] AppFuse 2.0 + Struts - Menu in session scope rather than Application?

2008-02-15 Thread Rob Hills
Hi again Matt et al, On 15 Feb 2008 at 20:41, Rob Hills wrote: > On 14 Feb 2008 at 9:29, Matt Raible wrote: > > On Feb 14, 2008, at 9:24 AM, Rob Hills wrote: > > >> BTW, is it possible to have the main part of the menu in the > > >> Application (as it is currently) and then a submenu in the >

Re: [appfuse-user] AppFuse 2.0 + Struts - Menu in session scope rather than Application?

2008-02-15 Thread Rob Hills
Hi Matt, On 14 Feb 2008 at 9:29, Matt Raible wrote: > > On Feb 14, 2008, at 9:24 AM, Rob Hills wrote: > > > Rob Hills wrote: > >> BTW, is it possible to have the main part of the menu in the > >> Application (as it is currently) and then a submenu in the > >> Session? Does the tag just hu

Re: [appfuse-user] AppFuse(JSF)

2008-02-15 Thread Irshad Buchh
Rob, Thanks very much. This stuff is great, I have a couple of questions: 1. Since u r not using Struts Menu, can u still achieve the role based security of Struts Menu? 2. Would it be very difficult to refactor it for use in AppFuse 1.x? We r using AppFuse 1.x (JSF, Hibernate) at the moment 3. W

[appfuse-user] Gracefully removing Maven from Appfuse-light

2008-02-15 Thread Robert Campbell
For various policy reasons, I can't have any trace of Maven in my project. I was wondering if there are gotchas I should be aware of before I start removing it from the project. Any tips on making it easier? Thanks, Rob