Out of curiosity, since pages in a Wicket application aren't accessed as
directly as something like a JSP might be, what reasoning is there for using
an XHTML file extension instead of HTML?

-Brandon


MYoung wrote:
> 
> I follow this: 
> 
> http://cwiki.apache.org/confluence/display/WICKET/Use+a+different+extension+for+template+files
> 
> added this to MyPage:
> 
>     @Override
>     public String getMarkupType() {
>       return "xhtml";
>     }
> 
> and it doesn't work.  Firefox wants to download the file instead of
> showing the page.
>  http://www.nabble.com/file/p15641885/no-go-xhtml.jpg 
> 
> IE7 cannot even download the file.
> 
> What am I doing wrong?
> 

-- 
View this message in context: 
http://www.nabble.com/Howto-use-.xhtml-instead-of-.html-for-template-file-extension-tp15641885p15674567.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to