Re: Dynamic Struts component type

2011-01-24 Thread Dave Newton
There's a bunch of ways this could be done. Personally, I'd either create a standard JSP-based custom tag, do it in JavaScript, or write a thin layer between a DB-backed UI description DSL and a JavaScript UI builder. Dave On Mon, Jan 24, 2011 at 10:37 AM, John Dondapati wrote: > Would a custom

Re: Dynamic Struts component type

2011-01-24 Thread John Dondapati
Would a custom component be the right direction to solve this? If this has been asked earlier, can someone please point me to that resource. Thanks! On Mon, Jan 24, 2011 at 10:22 AM, John Dondapati wrote: > Hi all, > > I have recently started playing around with struts 2 framework. And I have >

Dynamic Struts component type

2011-01-24 Thread John Dondapati
Hi all, I have recently started playing around with struts 2 framework. And I have an interesting problem that I wanna solve with Struts. We are creating a survey from the questions stored in database and even the options like yes/no/other/comment fields come from the database. Even the html type