Resolution: Won't Fix
Affects Version/s: 1.8.1
Fix Version/s: None
Environment:JDK1.5, Eclipse 3.0.1, Tomcat 5.5.9, winXP
one has to log in with username 'tomcat' and password 'tomcat' before being able to
test by using URL like http://localhost:8080/appfuse/editPerson.html?id=1
That tutorial shows links like
where in fact the 'id' has to be changed to 'personId' to work if you generated
the POJO files using appgen.
Above typo from tutorial that comes with download, also in link
Tutorial on appgen is missing some point.
After Person.java is copied from appfuse\extras\appgen\test\dao\org\appfuse\model
to appfuse\src\dao\org\appfuse\model, then run "ant -Dmodel.name=Person -Dmodel.name.lowercase=person"
and "ant install-detailed" in console (dir: appfuse\extras\appgen), now if you run
"ant test-web -Dtestcase=PersonAction" or "ant test-all", tests will fail, what tutorial forgot
to say is that the line
needs to added in applicationContext-hibernate.xml between the <list> element for test
to work and apparently in appfuse1.8.1, the install-detail task from
build.xml in appfuse\extras\appgen dir doesn't do this.
Above typo from tutorial that comes with download, not sure the
corresponding link on web