Joshua Lim
Thu, 05 Jul 2007 06:07:04 -0700
lets say validation fails - that means your form.onsubmit() is never called. what wicket does is redirect to a url that will render the current page again back to the user (it doesnt have to redirect, but it does by default - see redirect-after-post pattern for details). this url also cannot be "pretty" because it points to a specific instance of a page in session - this is the url you will see when validation fails.
Thanks for the explanation igor, I would like to use google analytics on all our pages, hence I need to have all the pages mounted with niceurls... or at least something like "http://server/app/niceurl/?wicket....." would be ok.... However, when a validation fails, my page becomes http://server/app/?wicket::... and instead of something like http://server/app/niceurl/?wicket::... am I doing something wrong? Joshua
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user