On Wed, Mar 17, 2010 at 10:28 AM, Martin Grigorov <mcgreg...@e-card.bg> wrote:
> Hi Martijn,
> I have two problems with your filter:
> 1) The main problem is that our pages does not have XHTML doctype.
> The pages are XML well formed but this is not enough.
> I tried once to set this doctype and the browsers rendered them in a
> very funny (and broken) way. The HTML and probably CSS will need some
> work to make it XHTML complaint.

Probably you send out the document as mimetype application+xml which
causes the browsers to revert to strict mode. See [1] for more

You could use html 4.01 transitional instead as the doctype, or xhtml

Our application uses this:

<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns:wicket>

but sends out pages as: "Content-Type:text/html;charset=UTF-8"

As for #2: we use scope provided as well.


[1] http://diveintohtml5.org/past.html#mime-types

To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to