Announcement Announcement Module
Collapse
No announcement yet.
Validator needs Session Object Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Validator needs Session Object

    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

  • #2
    Take a look at this thread.

    Comment


    • #3
      Thanks!

      byebye
      lana

      Comment

      Working...
      X