Hello *, I'm new to wicket. I use NetBeans 7.2/Linux.
I'm trying to follow some examples, but NB doesn't validate wicket HTML files. Now I could live without validating them. However the NetBeans editor highlights syntax errors and that's a desirable feature, but it becomes an annoyance if any "wicket" string is seen as an error. For example, this file I copied from wicket examples: <html xmlns:wicket="http://wicket.apache.org"> <head> <title>Wicket Examples - Authentication</title> <link rel="stylesheet" type="text/css" href="style.css"/> </head> <body> <span wicket:id="mainNavigation"/> <wicket:child /> </body> </html> scores 3 errors in Netbeans plus some warnings. By the way, the w3c validator [1], fed with the same HTML files, reports the same errors of the Netbeans editor and then some. Both autodetect wicket HTML files as HTML 5. If I force them as XHTML 1.0 Transitional, by adding <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> at the top and xmlns="http://www.w3.org/1999/xhtml" in the html tag, w3c validator finds "only" two errors and NetBeans takes it showing only a couple of warnings. This could be an acceptable workaround for me, but I wonder if I'm doing something basically wrong. Is there a way to write valid HTML in wicket? [1]. http://validator.w3.org/check --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org