> -Original Message-
> From: V. Cekvenich [mailto:[EMAIL PROTECTED]]
>
Hello Vick?
> Another aproach:
>
> Call a setter for the role (1)
> (ex: formBean.setRole(req.getUserPrinicipal) in "onSave" in action.
>
Actually I am not going to use the `HttpServletRequest.getUserPrincipal()'
or
Another aproach:
Call a setter for the role (1)
(ex: formBean.setRole(req.getUserPrinicipal) in "onSave" in action.
Now your can call formBean.validate() in your action.
And... your formBean class must implement a validate method to do all
your logic.
This way you can use the same formbean val
2 matches
Mail list logo