Thanks Johan I subclas Page in XmlPage and orverride String getMarkupType() to return "xml" and this is working for me. The only think that i feel a bit confused is that when i want to create a link in other markup file to the XmlPage i need to put href="XmlPage.html" and not a="XmlPage.xml"
I think that is nice to put XmlPage.xml because this is realy the markup file but Xml ouput is working well :D Thanks again On 9/24/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > That was new to me. Neat! > > And you could also make it a resource in the fashion like I did with > JasperReports integration. > > Eelco > > > On 9/24/05, Johan Compagner <[EMAIL PROTECTED]> wrote: > > Make youre own Page (extends from Page not WebPage) call it for example > > XmlPage > > then override the > > > > public String getMarkupType() > > > > method, where you return "xml" > > > > If you really need stuff from webpage you could override that one. > > > > if you override getMarkupType youre content type is set right and the file > > is loaded with a xml extentions. > > (this way we could also make WapPage with a wml extention) > > > > > > On 9/23/05, pepone pepone <[EMAIL PROTECTED]> wrote: > > > Hello i want to build a componente that create a RSS file with the > > > latest changes of my wicket app > > > > > > what super class you recomend to use > > > > > > How write xml response > > > > > > any ideas are wellcome > > > > > > thanks > > > > > > > > > ------------------------------------------------------- > > > SF.Net email is sponsored by: > > > Tame your development challenges with Apache's Geronimo App Server. > > Download > > > it for free - -and be entered to win a 42" plasma tv or your very own > > > Sony(tm)PSP. Click here to play: > > http://sourceforge.net/geronimo.php > > > _______________________________________________ > > > Wicket-user mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
