Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Asad Imtiaz
Greenhorn
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.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic