-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I tried to google around, but didn't come up with much.  Forgive me if
this has been asked before.

I have a simple Struts formbean with a nested bean. For instance:

public class Foo {
~    public Bar getBar();
~    public void setBar(Bar bar);
}

public class Bar {
~    public String getX();
~    public void setX(String x);
}

Is there a way to use xdoclet's really nice validator tags to somehow
indicate the validation requirements for the nested bean's properties?

The form itself will look like:

<input name="bar.x" type="text"/>

And I'd like to tell the validation scheme that bar.x is required.  If
xdoclet is only picking up validation tags from Foo, I'm not sure this
is possible.

Any tips or hints would be greatly appreciated.

Thanks very much,
Seth
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAK+Cv5EIB1scRes8RAgZ8AKCPtF6o+aLSpN+jgwdKuuE7CdDfEACeOj07
7HUCiHkg+WiDiWyycI081gU=
=lDZP
-----END PGP SIGNATURE-----



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to