RIFE supports this; the one thing you have to note is that your
beans/pojos must implement the Validated and Constrained ifaces; out
of the box, there's an implementation for these ifaces in the
~.site.Validation class which is further extended by the CmfValidation
class.

Instead of implementing the ifaces, most of the time (imho) you might
want to simply let your beans extend the CmfValidation class, and then
override the activateValidation protected method to add your
constraints.

read more about static constraints on the wiki (
http://rifers.org/wiki/display/RIFE/Constraints#Constraints-3 )

Also, search for "support for true pojos" on the list; that thread has
some more info that might be worth your while.

-- eokyere

On 11/28/05, Eddy Young <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm planning to use beans and the built-in validation engine to process my
> input forms. However, I want to avoid using CRUD so that the business logic
> can be embedded in proper domain classes instead of elements and form
> beans. How should I go about doing this? Are there markups for outputting
> bean properties in forms?
>
> Thanks in advance.
>
> Eddy
>
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
> _______________________________________________
> Rife-users mailing list
> [email protected]
> http://www.uwyn.com/mailman/listinfo/rife-users
>
_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users

Reply via email to