Re: [Wicket-user] Can templates have an extension other than .html?
i can confirm that. i have no idea what i meant by that comment. ;-) Eelco Hillenius wrote: On 2/28/07, Igor Vaynberg [EMAIL PROTECTED] wrote: that is an interesting comment indeed. if it was really true then webpage.getmarkuptype() would be final. anyone else mind to comment? Looks like an ancient leftover. I ditched it. Eelco - 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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- View this message in context: http://www.nabble.com/Can-templates-have-an-extension-other-than-.html--tf3309848.html#a10128798 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Can templates have an extension other than .html?
In the same subject, is there a reason why wicket.markup.html.WebPage.getMarkupType() isn't final but wicket.markup.html.WebMarkupContainer.getMarkupType() is ? Removed final for 1.3 Eelco - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Can templates have an extension other than .html?
In the same subject, is there a reason why wicket.markup.html.WebPage.getMarkupType() isn't final but wicket.markup.html.WebMarkupContainer.getMarkupType() is ? I want my templates to have the .xml extension but that is only possible for pages and not panels because of that method being marked final. Is there a good reason to have the method marked final in WebMarkupContainer or is that also an historical artifact ? Thanks, Ludovic Eelco Hillenius wrote: I'm a little concerned by the Note int he javadocs for this method: Note: The markup type must be equal to the extension of the markup file. In the case of WebPages, it must always be html. Does that mean that the string html has some meaning beyond just telling the framework what file extension to retrieve? That comment was incorrect. Thanks for noting it, I just removed it. We have one example of a different extension (xml): wicket.examples.compref.XmlPage. You should be able to pick any extension you like. Please report here if you encounter any problems regarding this. Eelco -- View this message in context: http://www.nabble.com/Can-templates-have-an-extension-other-than-.html--tf3309848.html#a10108984 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Can templates have an extension other than .html?
I'd like my template files to have an extension other than .html. Is that possible? - 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.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Can templates have an extension other than .html?
Should be just override WebPage. getMarkupType() http://wicket.sourceforge.net/apidocs/wicket/markup/html/WebPage.html#getMarkupType() On 3/1/07, Matt Welch [EMAIL PROTECTED] wrote: I'd like my template files to have an extension other than .html. Is that possible? - 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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Can templates have an extension other than .html?
I'm a little concerned by the Note int he javadocs for this method: Note: The markup type must be equal to the extension of the markup file. In the case of WebPages, it must always be html. Does that mean that the string html has some meaning beyond just telling the framework what file extension to retrieve? On 2/28/07, Carfield Yim [EMAIL PROTECTED] wrote: Should be just override WebPage. getMarkupType() http://wicket.sourceforge.net/apidocs/wicket/markup/html/WebPage.html#getMarkupType() On 3/1/07, Matt Welch [EMAIL PROTECTED] wrote: I'd like my template files to have an extension other than .html. Is that possible? - 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.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Can templates have an extension other than .html?
that is an interesting comment indeed. if it was really true then webpage.getmarkuptype() would be final. anyone else mind to comment? -igor On 2/28/07, Matt Welch [EMAIL PROTECTED] wrote: I'm a little concerned by the Note int he javadocs for this method: Note: The markup type must be equal to the extension of the markup file. In the case of WebPages, it must always be html. Does that mean that the string html has some meaning beyond just telling the framework what file extension to retrieve? On 2/28/07, Carfield Yim [EMAIL PROTECTED] wrote: Should be just override WebPage. getMarkupType() http://wicket.sourceforge.net/apidocs/wicket/markup/html/WebPage.html#getMarkupType() http://wicket.sourceforge.net/apidocs/wicket/markup/html/WebPage.html#getMarkupType%28%29 On 3/1/07, Matt Welch [EMAIL PROTECTED] wrote: I'd like my template files to have an extension other than .html. Is that possible? - 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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Can templates have an extension other than .html?
I'm a little concerned by the Note int he javadocs for this method: Note: The markup type must be equal to the extension of the markup file. In the case of WebPages, it must always be html. Does that mean that the string html has some meaning beyond just telling the framework what file extension to retrieve? That comment was incorrect. Thanks for noting it, I just removed it. We have one example of a different extension (xml): wicket.examples.compref.XmlPage. You should be able to pick any extension you like. Please report here if you encounter any problems regarding this. Eelco - 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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Can templates have an extension other than .html?
On 2/28/07, Igor Vaynberg [EMAIL PROTECTED] wrote: that is an interesting comment indeed. if it was really true then webpage.getmarkuptype() would be final. anyone else mind to comment? Looks like an ancient leftover. I ditched it. Eelco - 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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Can templates have an extension other than .html?
Nice! Thanks for the help. On 2/28/07, Eelco Hillenius [EMAIL PROTECTED] wrote: On 2/28/07, Igor Vaynberg [EMAIL PROTECTED] wrote: that is an interesting comment indeed. if it was really true then webpage.getmarkuptype() would be final. anyone else mind to comment? Looks like an ancient leftover. I ditched it. Eelco - 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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user