Announcement Announcement Module
No announcement yet.
Multi-level selected lists (presention layer) Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Multi-level selected lists (presention layer)

    I need to have a category-subcategory type of data structure for use data entry. To my knowledge, an effective or user friendly method is to layout a set of multi-level selected lists on a single page. That has to be done with Javascript such as this example My question is whether the Spring Web framework can work with this sort of Javascript or not. If yes, how it works out?


  • #2
    AFAIK, Spring Framework MVC does not provide "out of the box code" to build "cascading selects" that use javascript.
    You can however build your own code/classes/macros to do it:
    1. retrieve all the necessary data from your data-store
    2. bind the data to your request
    3. retrieve the data from the request and build the "selects" in your view layer
    4. add a reference to a javascript file in your web page. The script will handle the user interactions.