http://jakarta.apache.org/struts/api/org/apache/struts/validator/DynaValidatorForm.html

The validate method has a request parameter, so I assume you just do 
request.getSession().getAttribute("..."), or I have I misread what you are 
trying to achieve?

Paul
------------------------------------------------------------
Global Equity Derivatives Technology
Deutsche Bank [/]
------------------------------------------------------------




Arne Brutschy <[EMAIL PROTECTED]>
17/02/2004 16:49
Please respond to "Struts Users Mailing List"

 
        To:     Struts Users Mailing List <[EMAIL PROTECTED]>
        cc: 
        Subject:        Subclassing DynaValidatorForm


Hi,

I'm subclassing DynaValidatorForm to implement some security features 
(connected with the value of disabled fields, see my post a few days ago).

Is there any possibility to get a session variable in the bean? I need 
to get the current user the bean is associated with. Or I just set a 
variable inside the bean when I'm prepopulating the form.. Any comments?

Thanks again
Arne


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to