Re: [Wicket-user] FieldLabel component

2005-08-20 Thread Joshua Lim
On 7/30/05, Gert Jan Verhoog [EMAIL PROTECTED] wrote: On Jul 30, 2005, at 04:44, Igor Vaynberg wrote: This will create a field label that will turn red when the linked form component has an error. Another good use is to prepand an asterisk to the fieldlabel's label if the linked

RE: [Wicket-user] FieldLabel component

2005-07-30 Thread Igor Vaynberg
Here is a less intrusive patch. -Igor -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Locke Sent: Friday, July 29, 2005 10:03 PM To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] FieldLabel component well

Re: [Wicket-user] FieldLabel component

2005-07-30 Thread Jonathan Locke
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Locke Sent: Friday, July 29, 2005 8:14 PM To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] FieldLabel component if you just want to show an error indicator like a red

Re: [Wicket-user] FieldLabel component

2005-07-30 Thread Jonathan Locke
: Friday, July 29, 2005 10:03 PM To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] FieldLabel component well, i don't know what's happened to the feedback interface stuff recently, but it was originally designed to be general enough to support what you're trying to do. seems like what

Re: [Wicket-user] FieldLabel component

2005-07-30 Thread Eelco Hillenius
. Igor -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Locke Sent: Friday, July 29, 2005 10:03 PM To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] FieldLabel component well, i don't know what's happened to the feedback

Re: [Wicket-user] FieldLabel component

2005-07-30 Thread Jonathan Locke
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Locke Sent: Friday, July 29, 2005 10:03 PM To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] FieldLabel component well, i don't know what's happened to the feedback interface stuff recently, but it was originally designed

Re: [Wicket-user] FieldLabel component

2005-07-30 Thread Gert Jan Verhoog
On Jul 30, 2005, at 04:44, Igor Vaynberg wrote: This will create a field label that will turn red when the linked form component has an error. Another good use is to prepand an asterisk to the fieldlabel's label if the linked form component has a requiredvalidator added. I did more or

Re: [Wicket-user] FieldLabel component

2005-07-30 Thread Jonathan Locke
good idea... if i had the time for that! i really think that updateFeedback() is about as general as you can get. there is no limitation on what components a feedback component can watch or how and there is no limitation on what the feedback component can do in response to any kind of

Re: [Wicket-user] FieldLabel component

2005-07-30 Thread Jonathan Locke
wow. that's really cool. Gert Jan Verhoog wrote: On Jul 30, 2005, at 04:44, Igor Vaynberg wrote: This will create a field label that will turn red when the linked form component has an error. Another good use is to prepand an asterisk to the fieldlabel's label if the linked form

[Wicket-user] FieldLabel component

2005-07-29 Thread Igor Vaynberg
Hi Guys, Ive been working on forms a lot lately, and what ive been missing from tapestry is a fieldlabel component. Basically a fieldlabel is a label that is linked to a form component. This allows to do cool things like: 1) FieldLabel can change its apperance based on the form component

Re: [Wicket-user] FieldLabel component

2005-07-29 Thread Jonathan Locke
if you just want to show an error indicator like a red asterisk, see FormComponentFeedbackBorder. i personally don't like the idea of changing field label contents on users. so instead, i've emphasized FeedbackPanel and IFeedback. however, you should be able to implement what you're talking

RE: [Wicket-user] FieldLabel component

2005-07-29 Thread Igor Vaynberg
, the decoration of the label was a bonus. -Igor -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Locke Sent: Friday, July 29, 2005 8:14 PM To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] FieldLabel component if you just want

Re: [Wicket-user] FieldLabel component

2005-07-29 Thread Jonathan Locke
] On Behalf Of Jonathan Locke Sent: Friday, July 29, 2005 8:14 PM To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] FieldLabel component if you just want to show an error indicator like a red asterisk, see FormComponentFeedbackBorder. i personally don't like the idea of changing