Re: [appfuse-user] Inheritance relationship with dao test error

2008-01-09 Thread JinBinWang
Hi,InfoD I try to change ManagerDao to managerDao,and test it.That is build successful. THKS very much! Wangjinbin. InfoD wrote: > > Look at your applicationContext.xml in the attached rar file, you have > ManagerDao, could you try to change it to managerDao? > > -- View this message i

Re: [appfuse-user] Canoo WebTest error while doing Canoo WebTest (appfuse 1.9.4)

2008-01-09 Thread Matt Raible
What version of AppFuse are you using? On Jan 9, 2008, at 4:45 PM, Marc Siramy wrote: No, that doesn't work. I tried both french and english locales with editPerson action. Each time that cause the same error (except locale='en' message instead of locale='fr' in tomcat output). Something

Re: [appfuse-user] Canoo WebTest error while doing Canoo WebTest (appfuse 1.9.4)

2008-01-09 Thread Marc Siramy
No, that doesn't work. I tried both french and english locales with editPerson action. Each time that cause the same error (except locale='en' message instead of locale='fr' in tomcat output). Something surely cause Struts to fall finding the Person Detail form but I unfortunately I can't see wh

Re: [appfuse-user] Canoo WebTest error while doing Canoo WebTest (appfuse 1.9.4)

2008-01-09 Thread Matt Raible
It's strange that it doesn't fallback from French to English, but that seems to be what's happening. If you login to your application, then append ?locale=fr onto the URL - can you successfully view the Person Detail form? Matt On Jan 9, 2008, at 12:35 PM, Marc Siramy wrote: Hello, I ob

[appfuse-user] Canoo WebTest error while doing Canoo WebTest (appfuse 1.9.4)

2008-01-09 Thread Marc Siramy
Hello, I obtain this error when doing Canoo WebTest (running ant test-canoo -Dtestcase=PersonTests ) in the appfuse tutorial: test-canoo: [delete] Deleting: /home/marc/workspace/appfuse/build/test/data/web- tests-result.xml [echo] Testing with locale 'fr' EditPerson: BUILD FAILED /home/m

RE: [appfuse-user] Yikes Error Page

2008-01-09 Thread Ding, Qin
Thank, you Mike. From: Michael Horwitz [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 09, 2008 11:17 AM To: users@appfuse.dev.java.net Subject: Re: [appfuse-user] Yikes Error Page Assuming you are using Struts with AppFuse 2.0.1 the page displaye

Re: [appfuse-user] Yikes Error Page

2008-01-09 Thread Michael Horwitz
Assuming you are using Struts with AppFuse 2.0.1 the page displayed on error is error.jsp. You can change the contents to be anything you like. Mike On 1/9/08, Ding, Qin <[EMAIL PROTECTED]> wrote: > > How can I replace "YIKES" error page with a user friendly message while > logging "YIKES" error

[appfuse-user] Yikes Error Page

2008-01-09 Thread Ding, Qin
How can I replace "YIKES" error page with a user friendly message while logging "YIKES" error stack? Or after logging the error, present the user with friendly page. Thanks QD - To unsubscribe, e-mail: [EMAIL PROTECTED] For add

Re: [appfuse-user] How to get a reference to a manager in a custom validator

2008-01-09 Thread Matt Raible
It's always OK to do something if it makes your application work! ;-) Matt On Jan 9, 2008, at 8:44 AM, sudheerp wrote: Hello Matt, Yes. I was able to solve the problem with the following piece of code by moving applicationContext-resources.xml to \web\WEB-INF\classes from \web \WEB-IN

Re: [appfuse-user] Appfuse 2.0 -> Oracle App server problem

2008-01-09 Thread Matt Raible
It sounds like a problem with how you have Oracle configured. Since you've likely paid a hefty fee for an Oracle support contract, I'd suggest contacting Oracle. Matt On Jan 9, 2008, at 6:03 AM, VJ22 wrote: I tried the workaround suggested by you. placing the struts.properties file in W

Re: [appfuse-user] Location of Controller and Service packages in Modular Spring MVC

2008-01-09 Thread Matt Raible
Controller should go in the web module, as stated in the tutorial. You are correct that Actions are for Struts - maybe you're reading the wrong tutorial? Matt On Jan 9, 2008, at 12:45 AM, os57741 wrote: Matt, Thanks for answering. Yes, I applied the proper names, but should I put the cont

Re: [appfuse-user] How to get a reference to a manager in a custom validator

2008-01-09 Thread sudheerp
Hello Matt, Yes. I was able to solve the problem with the following piece of code by moving applicationContext-resources.xml to \web\WEB-INF\classes from \web\WEB-INF. Is it okay to do so? String[] path = { "classpath:META-INF/applicationContext-hibernate.xml",

Re: [appfuse-user] SOLUTION: Re: Debugging in Netbeans 6.0 / Appfuse 2.0.1?

2008-01-09 Thread J. David Mendoza
Are you using Struts? Did you get the warpath to work? or are you working with the errors on the actions? David M. On Jan 7, 2008, at 4:22 PM, John Vance wrote: What I was looking for was how to start up a local debugging session. I'm probably not using the right terms.I wanted to la

Re: [appfuse-user] Problem deleting child in 1..M relationship

2008-01-09 Thread Gareth Davis
unfortunately hibernate doesn't quite work like that. The Cascade.ALL reference on the OneToMany only means that if you call session.delete(parent) it'll cascade down to this collection as well. In order to delete a single child element you need to actually call session.delete(child). Faili

Re: [appfuse-user] Inheritance relationship with dao test error

2008-01-09 Thread InfoD
Look at your applicationContext.xml in the attached rar file, you have ManagerDao, could you try to change it to managerDao? -- View this message in context: http://www.nabble.com/Inheritance-relationship-with-dao-test-error-tp14710490s2369p14711640.html Sent from the AppFuse - User mailing lis

Re: [appfuse-user] Appfuse 2.0 -> Oracle App server problem

2008-01-09 Thread VJ22
I tried the workaround suggested by you. placing the struts.properties file in WEB-INF/classes of the generated war file and deployed the same. But still facing the same issue. Any other suggestion will be of great help. mraible wrote: > > You might try creating a struts.properties file in src/

Re: [appfuse-user] Inheritance relationship with dao test error

2008-01-09 Thread Michael Horwitz
On 1/9/08, JinBinWang <[EMAIL PROTECTED]> wrote: > > > Hi,All >This seems as though it would be a common problem but I haven't found > enough information on the forum. >My environment: >Appfuse2.0.1,Maven version: 2.0.7,Java version: 1.5.0,OS name: "windows > xp" version: "5.1" arch: "x

[appfuse-user] Inheritance relationship with dao test error

2008-01-09 Thread JinBinWang
Hi,All This seems as though it would be a common problem but I haven't found enough information on the forum. My environment: Appfuse2.0.1,Maven version: 2.0.7,Java version: 1.5.0,OS name: "windows xp" version: "5.1" arch: "x86",Oracle9i,Tomcat6.0.14. I create 2 inheritance relatio