[appfuse-user] Override applicationContext-service.xml

2007-06-03 Thread René Günther
Hello, in my appuse 1.8 based application I want some to override bean defintions in applicationContext-service.xml with a local context file, to achive the following: Note: In case of multiple config locations, later bean definitions will override ones defined in earlier loaded files. This can b

Re: [appfuse-user] amp fails - java.lang.NullPointerException

2007-06-03 Thread Eric Fitzsimmons
Yes, you must create a persistable pojo and include it in the hibernate config file in src/main/resources. sxm wrote: just created a core project and compiled it successfully. But when I tried to use mvn appfuse:gen, and got following error. Is there any prerequisite to running this command?

Re: [appfuse-user] Problem with CRUD generation

2007-06-03 Thread sxm
I get the same error if I use spring modular project. Got a null pointer when I tried it on core pakcage. Tried it both on Windows and Mac (not that it make any diff) -sxm pcberg wrote: > > Hi, > > When I follow the video tutorial > (http://appfuse.org/display/APF/Demos+and+Videos) it says wh

[appfuse-user] amp fails - java.lang.NullPointerException

2007-06-03 Thread sxm
just created a core project and compiled it successfully. But when I tried to use mvn appfuse:gen, and got following error. Is there any prerequisite to running this command? [INFO] Trace java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:396) at java.util.Pr

[appfuse-user] get the value of the checkbox

2007-06-03 Thread adriel manalansan
Hello to everyone, How can i get the value of the checkbox to use in my Actions? I am using appfuse 1.9.4 and using Webwork. This are my sample jsp code:] .. I cant see the value of my checkboxes when I use this code to verify the values of what I checked: pr

Re: [appfuse-user] Problem with CRUD generation

2007-06-03 Thread pcberg
Eric Fitzsimmons wrote: > > Did you make sure to change the package name on the Person class, because > the link has "package org.appfuse.tutorial.model;" > Yes: package com.mycompany.app.model; It compiles in eclipse for me and I can also start the project (although there isn't much to see

Re: [appfuse-user] Problem with CRUD generation

2007-06-03 Thread Eric Fitzsimmons
Did you make sure to change the package name on the Person class, because the link has "package org.appfuse.tutorial.model;" pcberg wrote: mraible wrote: What does your Person.java look like? Are there any errors when you run "appfuse:gen"? I used this Person.java: http://appfuse-d

Re: [appfuse-user] Problem with CRUD generation

2007-06-03 Thread pcberg
mraible wrote: > > What does your Person.java look like? Are there any errors when you run > "appfuse:gen"? > I used this Person.java: http://appfuse-demos.googlecode.com/svn/trunk/tutorial-struts2/src/main/java/org/appfuse/tutorial/model/Person.java and put it into com.mycompany.app.model.Per

Re: [appfuse-user] Problem with CRUD generation

2007-06-03 Thread Matt Raible
What does your Person.java look like? Are there any errors when you run "appfuse:gen"? Matt On 6/3/07, pcberg <[EMAIL PROTECTED]> wrote: Hi, When I follow the video tutorial (http://appfuse.org/display/APF/Demos+and+Videos) it says when I run "mvn appfuse:gen -Dentity=Person": [INFO] src/mai

[appfuse-user] Problem with CRUD generation

2007-06-03 Thread pcberg
Hi, When I follow the video tutorial (http://appfuse.org/display/APF/Demos+and+Videos) it says when I run "mvn appfuse:gen -Dentity=Person": [INFO] src/main/resources/database.properties not found within the project. Trying absolute path. [INFO] No hibernate properties file loaded. and if I run