Re: Can I Suppress Type Conversion Feedback Messages?

2009-11-27 Thread Keith Bennett

Igor -

Thanks for the speedy responses.

As I understand it, convertInput()'s main mission is to populate the  
convertedInput instance variable with the converted value, and  
overriding it as you suggest would be trivial.


Just to be sure though, you don't foresee any change in Wicket  
internals that would make this solution obsolete, inadequate, or  
otherwise incorrect?


Thanks,
Keith



On Nov 27, 2009, at 1:19 AM, Igor Vaynberg wrote:


override convertinput() on that textfield and do not throw a
conversion exception

-igor

On Thu, Nov 26, 2009 at 6:26 PM, Keith Bennett > wrote:

Hi all...

We have a form that has a table, and the table has a column that is
populated with TextField's.  When there are nonnumeric  
characters
in several of these fields, we get an error message in the feedback  
panel
for each offending field.  We'd rather combine them into a single  
message
saying something like "n Solicitation Number fields contained  
nonnumeric

characters."

I know how to create the combined message, but how can I suppress the
individual ones?

Thanks,
Keith

---
Keith R. Bennett
Senior Software Consultant
Linked In: http://www.linkedin.com/in/keithrbennett
Blogs: http://krbtech.wordpress.com, http://keithrbennett.wordpress.com



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Can I Suppress Type Conversion Feedback Messages?

2009-11-26 Thread Igor Vaynberg
override convertinput() on that textfield and do not throw a
conversion exception

-igor

On Thu, Nov 26, 2009 at 6:26 PM, Keith Bennett  wrote:
> Hi all...
>
> We have a form that has a table, and the table has a column that is
> populated with TextField's.  When there are nonnumeric characters
> in several of these fields, we get an error message in the feedback panel
> for each offending field.  We'd rather combine them into a single message
> saying something like "n Solicitation Number fields contained nonnumeric
> characters."
>
> I know how to create the combined message, but how can I suppress the
> individual ones?
>
> Thanks,
> Keith
>
> ---
> Keith R. Bennett
> Senior Software Consultant
> Linked In: http://www.linkedin.com/in/keithrbennett
> Blogs: http://krbtech.wordpress.com, http://keithrbennett.wordpress.com
>
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Can I Suppress Type Conversion Feedback Messages?

2009-11-26 Thread Keith Bennett

Hi all...

We have a form that has a table, and the table has a column that is  
populated with TextField's.  When there are nonnumeric  
characters in several of these fields, we get an error message in the  
feedback panel for each offending field.  We'd rather combine them  
into a single message saying something like "n Solicitation Number  
fields contained nonnumeric characters."


I know how to create the combined message, but how can I suppress the  
individual ones?


Thanks,
Keith

---
Keith R. Bennett
Senior Software Consultant
Linked In: http://www.linkedin.com/in/keithrbennett
Blogs: http://krbtech.wordpress.com, http://keithrbennett.wordpress.com




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org