Hello, I am reading <<Wicket in Action>>. The Tip on page 291 says "it is good 
practice to start your panels and  borders (possibly your pages) with an XML 
declaration to force Wicket to work with them using the proper encoding". 

Does this mean that starting a panel, border, or page with something such as 
the following:
----------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; lang="en" xml:lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
...
</head>
----------

is better than with:
----------
<html>
<head>
...
</head>
----------

If yes, why do all the examples of the WIA book start simply with 
<html><head>...</head>?

Thanks for your help!


      

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to