It's not clear to me what the underlying question is. If you have a lot of dynamic elements on the page you'll probably want to look at the S2 jQuery library:
https://code.google.com/p/struts2-jquery/ It makes simple usecases drop-dead easy, and might be enough to serve your needs--although using plain old jQuery is also a valid option, and might fit in this case. The Struts 2 Dojo tags have been deprecated for several releases and shouldn't be used for a variety of reasons. While the S2 jQuery tags might be useful, on highly dynamic pages you might be better off using S2 as a service layer and using a client-side framework, like React.js, Backbone + Marionette (or similar), Angular, etc. Dave On Wed, Jun 4, 2014 at 1:20 AM, NIJO GEORGE <nijo...@gmail.com> wrote: > Hi, > I'm developing an an application to conduct Online Examinations. Lots of > table displays are used in every module. for example Questions, Exam, > Results, etc, > I have a form which saves a question to db. > > My Scenario is Following I Have three types of Questions > 1. Single choice > 2. Mutiple Choice > 3. Subjective > > while Inserting a Question I can Choose the number of options for that > particular question. > depends on the number of options the input boxes of options should be > generated. > > After inserting options there should be a Radio Button Group which chooses > the type of Answer. > If it is Single Choice, > A select control should be populated with the number of options given. Here > we choose the correct answer for that particular question. > Also there is a radio button group to choose how the options should be > displayed to the candidate. > > If it is Multiple Choice Question , > A checkbox group should be generated with the above number of options. > at this time the radio button group which decides the show options as > should be disabled. > > If it is subjective question the correct answer control should be textarea > this should be generated. > > How this can be implemented with struts2, How to use Struts2 Tags for this > purpose > -- e: davelnew...@gmail.com m: 908-380-8699 s: davelnewton_skype t: @dave_newton <https://twitter.com/dave_newton> b: Bucky Bits <http://buckybits.blogspot.com/> g: davelnewton <https://github.com/davelnewton> so: Dave Newton <http://stackoverflow.com/users/438992/dave-newton>