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
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
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
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
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
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
6 matches
Mail list logo