• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Asad Imtiaz
Posts: 21
  • Mark post as helpful
  • send pies
  • 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.

Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!