[appfuse-user] Display issue with s:datetimepicker?

2007-06-05 Thread pcberg
I followed this howto for the s:datetimepicker: http://www.nabble.com/Re%3A-ajax-and-datepicker-on-2m4-p10828138.html (from http://issues.appfuse.org/browse/APF-739) I'm using firefox 2.0.0.4 and appfuse M5. Two small issues: 1. The first time I press the calendar button it flashes open very br

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 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

[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

Re: [appfuse-user] jMock v.s. EasyMock?

2007-05-25 Thread pcberg
mraible wrote: > > The reason for showing both methods is probably because AppFuse > supports jMock out of the box, but the author who wrote this tutorial > liked EasyMock better. The AMP plugin generates jMock tests by default > for the ManagerTests. Maybe we should make it an option to generat

[appfuse-user] Validate list of objects via xWork's xml?

2007-05-23 Thread pcberg
I'm using Appfuse M4, Struts2. My question is with respect to this tutorial: http://appfuse.org/display/APF/Using+Struts+2#UsingStruts2-validation I have an object "Question" that has a list of "Answer", each answer object has a String field "label". The page where I would like to do validation h

Re: [appfuse-user] Exclude action method from Validation?

2007-05-21 Thread pcberg
pcberg wrote: > > 1. I followed the struts2 validation tutorial > (http://appfuse.org/display/APF/Using+Struts+2#UsingStruts2-validation) > but added a method "detail" to PersonAction. That method retrieves a > person and forwards to a page that shows details on a perso

Re: [appfuse-user] AppFuse 2.0 m4 - Struts 2 - jetty

2007-05-21 Thread pcberg
Not sure about your first question, but: nss wrote: > > The other issue we are struggling with is that the remote debug as > explained in > (http://docs.codehaus.org/display/JETTY/Debugging+with+the+Maven+Jetty+Plugin+inside+Eclipse) > does not seem to allow debugging of code running in Jetty.

[appfuse-user] Exclude action method from Validation?

2007-05-20 Thread pcberg
Hello again, I have two validation questions that are probably struts / xwork issues... (sorry!) 1. I followed the struts2 validation tutorial (http://appfuse.org/display/APF/Using+Struts+2#UsingStruts2-validation) but added a method "detail" to PersonAction. That method retrieves a person and f

[appfuse-user] highlightTableRows limitation in Firefox?

2007-05-19 Thread pcberg
Firefox 2.0.0.3 seems to have a problem with highlightTableRows in 2.0-M4. I followed the tutorial (http://appfuse.org/display/APF/Using+Struts+2#UsingStruts2-listview) and added a new column on the table that has a clickable link to view custom details on a person. The behaviour is a bit strange

Re: [appfuse-user] Debugging an Appfuse application via Eclipse?

2007-05-17 Thread pcberg
mraible wrote: > > export MAVEN_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE > -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005" > Cool, that works! I tried what the FAQ said here: http://appfuse.org/display/APF/FAQ#FAQ-jettydebug but that would give me the below stack trace. Odd

[appfuse-user] Debugging an Appfuse application via Eclipse?

2007-05-16 Thread pcberg
Hi, I am having a hard time debugging my appfuse project. I think my confusion is twofold: 1) I'm familiar how to debug an old time struts 1 application with Eclipse WTP and tomcat. What I'm struggling with in appfuse is (what I perceive as) a disconnect between eclipse and maven/jetty. 2) I'm

Re: [appfuse-user] Overwriting User core class?

2007-05-13 Thread pcberg
you should > probably regenerate your project files as well. > > Matt > > On 5/12/07, pcberg <[EMAIL PROTECTED]> wrote: >> >> hi, >> >> Per http://appfuse.org/display/APF/AppFuse+Core+Classes I customized the >> User core class to rename the t

[appfuse-user] Overwriting User core class?

2007-05-12 Thread pcberg
hi, Per http://appfuse.org/display/APF/AppFuse+Core+Classes I customized the User core class to rename the table and some of the fields in order to match the naming standard for the project I'm working on. In general this doesn't seem to be a problem (mvn integration-test succeeds) except now tha

[appfuse-user] jMock v.s. EasyMock?

2007-05-06 Thread pcberg
http://appfuse.org/display/APF/Services took me through an example of using jMock but also shows how to use EasyMock. My reaction is that EasyMock's code looks cleaner. I don't have experience with either tool though (or for that matter with Mock objects in general). What is the reason for the pa

[appfuse-user] Recommended svn:ignore practice?

2007-05-05 Thread pcberg
Hi, What is the recommended practice of what to place into svn:ignore for appfuse projects? It seems I don't need to commit any of target/* except for target/warpath (so that it compiles). Other then that maven seems to take care of the rest. As a side comment: Might be nice to have an FAQ expla