Ok, I've figured it out!
using xml as Markup Type will do everything I need!
Thank you for the tips!
Martin.
Martin Dames wrote:
>
> Ok, thank you.
>
> Hmm... I want to embedd into my HTML template some svg graphics. This is
> just only for Firefox, or IE users with the adobe plugin. That means, I
> need that Firefox turns on its XML parser, so I would need to use XHTML,
> because if the file has the file extension html it doesnt render svg
> graphics.
>
> Any suggestion without entering the world of pain?
>
> Thanks.
>
>
> Al Maw wrote:
>>
>> Martin Dames wrote:
>>> Ok thanks for the tip,
>>>
>>> but why is Firefox offering a download instead of rendering it?
>>
>> See Page#configureResponse()
>> This does a:
>> response.setContentType("text/" + getMarkupType() + "; charset=" +
>> encoding);
>>
>> You could override this to do what you want, but like I said before,
>> trust me - you don't want to do that.
>>
>> 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
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/XHTML-ContentType-problem-tf3362030.html#a9370475
Sent from the Wicket - User mailing list archive at Nabble.com.
-------------------------------------------------------------------------
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