Adding a label when I add a FormComponent.

2007-10-04 Thread Clay Lehman
Hey Everyone, I want to create a subclass of a Form Component (Let's use TextField for this example) which takes a String in the constructor, and automatically adds the HTML for a Label before the field. I want to provide all the default functionality of a TextField (like adding behaviors,

Re: Adding a label when I add a FormComponent.

2007-10-04 Thread Igor Vaynberg
see icomponentborder -igor On 10/4/07, Clay Lehman [EMAIL PROTECTED] wrote: Hey Everyone, I want to create a subclass of a Form Component (Let's use TextField for this example) which takes a String in the constructor, and automatically adds the HTML for a Label before the field. I want

RE: Adding a label when I add a FormComponent.

2007-10-04 Thread Clay Lehman
: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Thursday, October 04, 2007 11:13 AM To: users@wicket.apache.org Subject: Re: Adding a label when I add a FormComponent. see icomponentborder -igor On 10/4/07, Clay Lehman [EMAIL PROTECTED] wrote: Hey Everyone, I want to create a subclass

Re: Adding a label when I add a FormComponent.

2007-10-04 Thread Igor Vaynberg
like: Label Label input wicket:id=input2/ Am I using IComponentBorder wrong? Thanks for any help! -Clay -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Thursday, October 04, 2007 11:13 AM To: users@wicket.apache.org Subject: Re: Adding a label when I

Re: Adding a label when I add a FormComponent.

2007-10-04 Thread ChuckDeal
IComponentBorder wrong? Thanks for any help! -Clay -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Thursday, October 04, 2007 11:13 AM To: users@wicket.apache.org Subject: Re: Adding a label when I add a FormComponent. see icomponentborder -igor On 10/4

RE: Adding a label when I add a FormComponent.

2007-10-04 Thread Clay Lehman
:[EMAIL PROTECTED] Sent: Thursday, October 04, 2007 2:09 PM To: users@wicket.apache.org Subject: Re: Adding a label when I add a FormComponent. put a container around your component and update that via ajax instead -igor On 10/4/07, Clay Lehman [EMAIL PROTECTED] wrote: I implemented a simple

Re: Adding a label when I add a FormComponent.

2007-10-04 Thread Eelco Hillenius
... Thanks, -Clay -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Thursday, October 04, 2007 2:09 PM To: users@wicket.apache.org Subject: Re: Adding a label when I add a FormComponent. put a container around your component and update that via ajax instead