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

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 compone

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 error

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 less

Re: [Wicket-user] FieldLabel component

2005-07-30 Thread Eelco Hillenius
yeah, i get it now... but it's too complex now. it's a kind of wierd hybrid between the old push model and your new pull model. i think we need to refactor again and make it all a really simple, elegant pull model... It should be our goal to let people easily create custom feedback comp

Re: [Wicket-user] FieldLabel component

2005-07-30 Thread Jonathan Locke
nt. 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 feed

Re: [Wicket-user] FieldLabel component

2005-07-30 Thread Eelco Hillenius
get the model, this isnt very safe, it would be nice to have Icomponent and have Ifeedback extend Icomponent. 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

Re: [Wicket-user] FieldLabel component

2005-07-30 Thread Jonathan Locke
al 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 interface stuff re

Re: [Wicket-user] FieldLabel component

2005-07-30 Thread Jonathan Locke
stuff, 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

2005-07-29 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 &g

RE: [Wicket-user] FieldLabel component

2005-07-29 Thread Igor Vaynberg
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 w

Re: [Wicket-user] FieldLabel component

2005-07-29 Thread Jonathan Locke
AIL 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 asterisk, see FormComponentFeedbackBorder. i pe

RE: [Wicket-user] FieldLabel component

2005-07-29 Thread Igor Vaynberg
stuff, 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] FieldLabe

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 ab