Hi! In my opinnion, best practice is type safe testing:
https://cwiki.apache.org/WICKET/type-safe-testing-in-wicket.html 2011/10/1 Per Newgro <[email protected]>: > Hello everybody, > > My environment: Wicket 1.5 > My usecase: Validate that payment method "cash in advance" is only accepted > for shipping countries (DE, AT, CH). > My rule: No different shipping country -> ship to invoice country, otherwise > ship to shipping country. > My problem: Payment method is a group of radios on payment method panel. The > shipping country is part of shipping address panel > and the invoice country is part of invoice address panel. The components are > enclosed in local forms and form component labels. > The compoent structure is deep, but they all share the same root form. > > How can i solve this in an elegant way? > Should / Can i use the new event system? > Is it better to use a visitor? > Maybe there is already a blog or example for that? > > Would be great if someone could give me a hint. > Thanks > Per > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
