Can validation.xml be modularized?

2004-03-18 Thread Chan, Jim
I have modularized my Struts application using different struts-config.xml files. Also I am using different resource properties files for localization for each module. Everything works fine. Currently, I am hooking up the client side validation using the struts validation plugin. However, the

Can coarse grained ActionForms validate?

2004-03-19 Thread Chan, Jim
Hi, I am using coarse grained action forms that are re-used by various action classes. Each of these action classes serve a different page and retrieves information from the backend so that the jsp page can show it. Now because I am using coarse grained forms, I have now way of knowing which

RE: Can coarse grained ActionForms validate?

2004-03-19 Thread Chan, Jim
per action form. For insance: form-bean name=registrationForm type=com.pkg.MyFormBean/ form-bean name=otherForm type=com.pkg.MyFormBean/ Then, in your validation.xml, you can have different rules for both of those forms. HTH, Blake --- Chan, Jim [EMAIL PROTECTED

Using struts-config to configure properties in action form

2004-03-22 Thread Chan, Jim
I am trying to configure properties in my ActionForm using the struts-config file as follows. form-bean name=myForm type=com.myCompany.MyForm set-property property=foo value=bar / /form-bean public Class MyForm extends ActionForm { private String foo; public void

RE: Using struts-config to configure properties in action form

2004-03-22 Thread Chan, Jim
the properties in the form-bean tag. HTH, Saul - Original Message - From: Chan, Jim To: '[EMAIL PROTECTED]' Sent: Monday, March 22, 2004 8:27 PM Subject: Using struts-config to configure properties in action form I am trying to configure properties in my ActionForm using

Use JSP Expression Language in custom tags?

2004-03-26 Thread Chan, Jim
Sorry this is not directly related to Struts, but is it possible to use the expression language in custom tags? I think you can, but I am not quite sure how to do it. Do you get this for free by just upgrading to a JSP 2.0 compliant server? Or do I have to do something with the custom tags to