Re: How to use "Validatable" to check all cells in a table?

2008-11-21 Thread Jeremy Thomerson
I haven't used AjaxEditableLabel, but I would suspect that if you put your
table in your form and added a FeedbackPanel to your form, a submit (or
AjaxSubmit) would do your validation and display errors in the feedback
panel (assuming like you said that you have validators added to the editable
labels).

On Fri, Nov 21, 2008 at 6:31 PM, metalotus <[EMAIL PROTECTED]> wrote:

>
> Hi,
>
> I have a DataTable and most cells are AjaxEditableLabel. These labels have
> IValidator's attached, and validate as soon as you finish typing in them.
>
> How do I run one big validation of all cells in my table? I need to kick it
> off programmatically.
>
> I think the solution involves "Validatable", but I don't know how to do the
> iteration over all cells properly.
>
> Thanks!
> James
> --
> View this message in context:
> http://www.nabble.com/How-to-use-%22Validatable%22-to-check-all-cells-in-a-table--tp20631861p20631861.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Jeremy Thomerson
http://www.wickettraining.com


How to use "Validatable" to check all cells in a table?

2008-11-21 Thread metalotus

Hi, 

I have a DataTable and most cells are AjaxEditableLabel. These labels have
IValidator's attached, and validate as soon as you finish typing in them.

How do I run one big validation of all cells in my table? I need to kick it
off programmatically. 

I think the solution involves "Validatable", but I don't know how to do the
iteration over all cells properly.

Thanks!
James
-- 
View this message in context: 
http://www.nabble.com/How-to-use-%22Validatable%22-to-check-all-cells-in-a-table--tp20631861p20631861.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]