lanala
05-13-2005, 08:28 AM
hi!
I have a form (simpleFormController) for adding new directories to a tree. My Validator checks if the user input (text field for the name of new directory + parent directory to choose) is valid - but therefor the validator needs access to the session where the user id is stored for checking if there already exits the choosen dir-name. how can i access the session from the validator class?
in the controller class I access by request.getSession.getAttribute("asdf");
tia, lana
I have a form (simpleFormController) for adding new directories to a tree. My Validator checks if the user input (text field for the name of new directory + parent directory to choose) is valid - but therefor the validator needs access to the session where the user id is stored for checking if there already exits the choosen dir-name. how can i access the session from the validator class?
in the controller class I access by request.getSession.getAttribute("asdf");
tia, lana