Re: [appfuse-user] apfuse2+hibernate - GenericDaoHibernate getAll returns duplicate entities (users)

2007-02-16 Thread ros
Thanks for tip, Bryan. The idea of dao.getAll in pojo makes service and presentation level dependant on dao interfaces definition. That's not good when applications have to share their data models. They mention "You can filter these duplicates simply through a Set.", do you know how to make hibe

Re: [appfuse-user] apfuse2+hibernate - GenericDaoHibernate getAll returns duplicate entities (users)

2007-02-16 Thread ros
Matt, thanks. Is it possible to debug code during mvn integration-test? Matt Raible-3 wrote: > > You should be able to debug your test directly from the IDE. If > you're relying on pre-existing data, you may have to run "mvn > dbunit:operation" first. > > Matt > -- View this message in con

Re: [appfuse-user] apfuse2+hibernate - GenericDaoHibernate getAll returns duplicate entities (users)

2007-02-16 Thread Matt Raible
What IDE are you using? You should be able to debug in any IDE by adding its debug parameters to a MAVEN_OPTS environment variable. Then create a profile in the IDE that attaches to the process once it's up and running. Here's some instructions for Eclipse: http://appfuse.org/display/APF/Eclips

Re: [appfuse-user] apfuse2+hibernate - GenericDaoHibernate getAll returns duplicate entities (users)

2007-02-16 Thread Bryan Noll
Inline comments ros wrote: Thanks for tip, Bryan. The idea of dao.getAll in pojo makes service and presentation level dependant on dao interfaces definition. That's not good when applications have to share their data models. I don't exactly understand what you're saying here, but I'm pre

[appfuse-user] ASM, CIGLIB

2007-02-16 Thread Ding, Qin
I use appfuse 1.9.4. I tried to use Spring AOP to do logging and email exception. The aplicationContext-logging.xml is like this: --- http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:aop="http://www.sp

[appfuse-user] Re: Maven 2.0.5 Released

2007-02-16 Thread Matt Raible
I did extensive testing with Maven 2.0.5 and JDK 6 on Windows and OS X last night and all issues seem to have gone away. If you have the ability to use JDK 6 with AppFuse 2.0 - I highly encourage you to do so. I've updated the QuickStart Guide to reflect this change. Matt On 2/14/07, Matt Raibl

[appfuse-user] Dojo Display Issue

2007-02-16 Thread 23455432
I believe I have integrated Dojo, but whenever I use a page from the Dojo library, it shows me the header and footer around the Dojo page itself... so I have multiple headers and footers appearing whenever I use dojo divs. Has anyone else had this issue? I tried to follow the directions in htt

Re: [appfuse-user] Need Help for Web services using struts framework

2007-02-16 Thread 23455432
Is the null pointer exception because of trying to access the dao? Are you setting the dao in your beans? Sarav wrote: > > I want to resue my business logic from struts action class file > to create a web services without changing any code. I put my logic > in service.impl class

[appfuse-user] Spring-MVC FileNotFoundException: dispatcher-servlet.xml?

2007-02-16 Thread Trent
Hi. Running through the appfuse Hibernate + Spring-MVC tutorial, I chose the minimal path (nothing more than CRUD operations etc). I'm using 2.0-M3. When I execute PersonControllerTest from Maven (in root dir of app), I get this error in PersonControllerTest.txt: Tests run: 1, Failures: 0, Er

Re: [appfuse-user] Spring-MVC FileNotFoundException: dispatcher-servlet.xml?

2007-02-16 Thread Matt Raible
What happens if you run this command from the "web" directory? Matt On 2/16/07, Trent <[EMAIL PROTECTED]> wrote: Hi. Running through the appfuse Hibernate + Spring-MVC tutorial, I chose the minimal path (nothing more than CRUD operations etc). I'm using 2.0-M3. When I execute PersonController

[appfuse-user] dojotype issue and scriptaculous docs??

2007-02-16 Thread 23455432
Whenever I use the in my JSP, for the div, the header and the footer of the app are included. any ideas? Are there any resources for creating cool pages with scriptaculous... I just feel like I don't know where the docs are. -- View this message in context: http://www.nabble.com/dojotype-is

Re: [appfuse-user] dojotype issue and scriptaculous docs??

2007-02-16 Thread Matt Raible
I would suggest trying to figure out the path that Dojo uses to load its templates - and then configure decorators.xml to not decorate those templates. You might also try removing FORWARD from the filter mapping for SiteMesh. Matt On 2/16/07, 23455432 <[EMAIL PROTECTED]> wrote: Whenever I use