On Tue, 19 Feb 2008 06:49:04 +0200
Timo Rantalaiho <[EMAIL PROTECTED]> wrote:

> We have done something similar with OnChangeAjaxBehavior and
> keeping in some component or validator the state of 
> validities of each FormComponent. When everything is valid,
> the whole form can be submitted.

I see.. I'm trying this way too (alongside the Javascript one that Igor 
Vaynberg pointed out), so I have a Map that maps every component to its state, 
but I have a doubt.. How do you identify uniquely a Component? I can't use 
getId() since I'm inside a repeater and every component has the same id.. Right 
now I'm using getPath() and it works quite well, but I don't know if it's the 
right choice, since I'm refreshing the table with Ajax.. Do you store the 
component itself?

Thanks for your time!


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

Reply via email to