I had something similar, I can look it up tomorrow(in 15 hours or so).
I think it was something like making the validators aware of each
other or something.



2010/9/22 splitshade <martin.dil...@googlemail.com>:
>
> Hi,
>
> this seems a rather simple question on the first sight, but I can't seem to
> find a clean solution to this.
>
> Image you have a Panel A that allows the User to input his Passport-Data,
> further image you have another Panel B, that allows you to input the
> Personal Data (like Birthday), now image you need to validate
> Passport-Data.
> To Validate this, you need to know both Birthday (from Panel B) and the Data
> from Panel A.
>
> How to solve this Problem without Hacking around?
> It seems clear, that a FormValidator is needed here... is it?
>
> How should I validate two components, that do not know each other? Surely, I
> could expose the inner components from Panel B and Panel A to a
> FormValidator, OR ..
>
> Everything looks like a Hack, is there a really clean way how to solve this
> in Wicket?
>
> Thanks in advance for ANY hints and help
>
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Inter-Component-Validation-or-how-to-marry-two-strangers-tp2550675p2550675.html
> Sent from the Users forum mailing list archive at Nabble.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

Reply via email to