Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: 1.8.1
-
Fix Version/s: None
-
Component/s: Documentation
-
Labels:None
-
Environment:JDK1.5, Eclipse 3.0.1, Tomcat 5.5.9, winXP
Description
$$$ TYPO
On the tutorial part titled "Clean up the JSP to make it presentable 6" and
"[Optional] Create a Canoo WebTest to test browser-like actions 7",
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
http://localhost:8080/appfuse/editPerson.html?id=1
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
http://raibledesigns.com/wiki/Wiki.jsp?page=CreateAction
$$$ TYPO
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
<value>org/myappfuse/model/Person.hbm.xml</value>
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
Thanks,
Sam