• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Map dynamically generated HTML select(s) control in form bean

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have search screen in which the user can filter search using conditions on columns and he can add any number of conditions (0 or more).


The each filter line is as follows




By clicking the "+" sign you can create a new filter which is simple done via javascript innerHTML.

The generated HTML looks something like this. Its not a complete HTML but just to give you an idea.




My goal is to get these condition filters in my action class with as less hassle as possible.
How can I map this whole condition filter to my Form bean. How can this be achieved in a elegant way ?


Thank you.

 
reply
    Bookmark Topic Watch Topic
  • New Topic