Creating a form dynamically

2009-06-19 Thread Ryan LaHue
I'm trying to build a form dynamically and am having a little problem. Basically I have a class that takes a ListFormComponent and then passes them into a ListView for display on screen. The problem is that they were created elsewhere and I have no control over two things: 1) The order/type of

Re: Creating a form dynamically

2009-06-19 Thread James Carman
You could use Velocity to dynamically build your markup. On Fri, Jun 19, 2009 at 10:10 AM, Ryan LaHueryanlahue...@gmail.com wrote: I'm trying to build a form dynamically and am having a little problem. Basically I have a class that takes a ListFormComponent and then passes them into a ListView

Re: Creating a form dynamically

2009-06-19 Thread John Krasnay
I've had good results creating my child components as panels and adding them to a RepeatingView (instead of ListView). The child panels should get their IDs from RepeatingView.newChildId(). jk On Fri, Jun 19, 2009 at 10:14:12AM -0400, James Carman wrote: You could use Velocity to dynamically

Re: Creating a form dynamically

2009-06-19 Thread Erik van Oosten
This might be useful: http://herebebeasties.com/2007-08-17/wicket-bean-editor/ Regards, Erik. Ryan LaHue wrote: I'm trying to build a form dynamically and am having a little problem. Basically I have a class that takes a ListFormComponent and then passes them into a ListView for display on