Martin Dames wrote:
> That means, wicket rendered it correct, but Firefox doesn't understand
> this. It seems that I have to change the Content-Type to
> "application/xhtml" in the server response to do it correct. Questions:
>
> - Why does is not work out of the box?
> - How do change the MimeType / ContentType in the Server Response from
> wicket?
You may think you want to do this, but you don't. Stick with serving it
as text/html otherwise you will enter a world of pain.
- Firefox has a bug with clearing the contents of forms when you use
the back button if you serve things as application/xml+xhtml
- Lots of javascript libraries will cease to work, as you can't use
innerHtml but instead have to do DOM manipulation.
In short, you're playing with your set-up for the sake of it, and will
get yourself into trouble. Been there, done that. Don't waste your time
on it. :)
Al
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user