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

All,

Bump: does anyone have any ideas?

Thanks,
- -chris

On 4/12/2010 4:48 PM, Christopher Schultz wrote:
> All,
> 
> It's been a long time since I've posted, and I've got my eye on S2 for
> some upcoming work that will share code with a non-web-based interface
> so I'd like to re-use as much code as possible without tying myself to
> the S2 API.
> 
> The issue is with field validation: I'd love to use an action which has
> fields, etc. and possibly even a validate() method but I'd like to avoid
> having a dependency on the S2 API. Is this possible?
> 
> I've been reading "Struts 2 in Action" which has a chapter on validation
> (the "real" kind where you specify the validation separate from the code
> rather than hard-coding it) but it looks like you have to at least
> implement ValidationAware, which ties me to the S2 API (well, xwork, but
> whatever...).
> 
> I'm wondering if it's a possibility to, say, put something on the
> ValueStack that implements this interface /other/ than the Action itself
> or something like that?
> 
> Any ideas or best practices anyone could suggest?
> 
> Thanks,
> -chris

- ---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvV/noACgkQ9CaO5/Lv0PBPngCgrusPiyNQg9auIAyHITR+/3+Q
VSAAoKXhwC16xltYpBNciBU9Xogc05r5
=SYYs
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to