Sorry for the massive delay - did you ever get this resolved? To test that your AppGen is working correctly, you can perform the following steps:
1. Back up your project or make sure it's in source control. 2. cd into extras/appgen and run "ant test". This will generate CRUD using generic managers and DAOs. To get the detailed ones generated, you can use "ant test-detailed". Or use "ant test-all" to test both. Matt On 7/30/07, DreamBig <[EMAIL PROTECTED]> wrote: > > We recently started website development in health care domain. It was really > a good start point for us to use Appfuse to kickstart. We use 1.9 and > WebWork option. > > However, we have problems when adding validators. > 1. We read the Tutorial Part III. But I cannot generate personForm.jsp in > extras/appgen, using ant -Dobject.name=Person -Dappgen.type=pojo - > Dapp.module= > The resulting directory is empty. > > Does anybody have a copy of personForm.jsp for WW for my reference. > > 2. I also tried to add validator in our own project. I added > User-validator.xml, UserAction-validator.xml etc. The validator looks > working, but resulting page is 404.jsp > <action name="register" class="userAction" method="create"> > <interceptor-ref name="validationStack"/> > <result name="success">/WEB-INF/pages/user/main.jsp</result> > <result name="input">/WEB-INF/user/register.jsp</result> > <result name="error">/WEB-INF/user/register.jsp</result> > </action> > > Attached my xwork.xml > > Thanks, -Mike http://www.nabble.com/file/p11918241/xwork.xml xwork.xml > -- > View this message in context: > http://www.nabble.com/AppFuse-1.9.x-validator-with-WebWork-tf4190962s2369.html#a11918241 > Sent from the AppFuse - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]