Thanks for repsonse.... I've just got round to having a
look at this. Using this method do you have to put markup in your
HTML for each of the form elements? What I want is to be able to create
forms entirely on the fly just by adding a form in the markup and then
adding controls to this within the Java .
Is it possible to send me any examples of your
technique?
Cheers
Steve
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Heudecker
Sent: 22 September 2005 16:01
To: [email protected]
Subject: Re: [Wicket-user] Dynamic Form Generation...
I had to solve this problem recently with user-created surveys. Essentially, I wrote a Panel for each input type (textfield, textareas, choices, etc) and add the Panels to the Form. Actually, it's a ListView contained by the Form:
Form > ListView > Panel
It's a bit of work, but well worth the flexibilty.
On 9/22/05, Clark,
Stephen <[EMAIL PROTECTED]>
wrote:
Hi All,I am new to Wicket (2 days old) and have found it very easy to use and understand ... I have managed to produce a simple GUI that took me 2 weeks using Tapestry in 2 days using Wicket and the contrib-DataView!!....so thanks for an excellent framework!!I have a question regarding dynamic form generation. We have a workflow product where our workflow developers define their forms in our design tool. These forms are then stored in XML and we then render them to our end-users. Is there a preferred solution for doing this in Wicket?? Is there a standard way to produce forms on-the-fly i.e without associated mark-up in the html file??ThanksSteve
