|
From: Tim O'B. <mi...@us...> - 2006-11-16 02:41:26
|
Hi, I am using WASP for a project at the moment. Just wondering whether to use the parameter validation methods. The problem is that the validation methods are part of the Chunk class, so the page that is going to displayed has been already chosen, therefore the validity of the parameters cant change which page is going to displayed. For example, if you had a registration chunk/page with a form, and you wanted to load the "congratulations you've registered" chunk/page if all the form parameters are valid, and if not you would load the registration page again, so they can correct the problem. or even to load an generic error page. Wouldnt it be better to have these validation methods in the UIModule class? Cheers Tim -- Please don't send confidential info to me at this address, thanks |