Re: [Wicket-user] Can templates have an extension other than .html?

2007-02-28 Thread Carfield Yim
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? > > > > -

Re: [Wicket-user] Can templates have an extension other than .html?

2007-02-28 Thread Matt Welch
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 exte

Re: [Wicket-user] Can templates have an extension other than .html?

2007-02-28 Thread Igor Vaynberg
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 equ

Re: [Wicket-user] Can templates have an extension other than .html?

2007-02-28 Thread Eelco Hillenius
> 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 wha

Re: [Wicket-user] Can templates have an extension other than .html?

2007-02-28 Thread Eelco Hillenius
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

Re: [Wicket-user] Can templates have an extension other than .html?

2007-02-28 Thread Matt Welch
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 ancien

Re: [Wicket-user] Can templates have an extension other than .html?

2007-04-20 Thread Ludovic Orban
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 fi

Re: [Wicket-user] Can templates have an extension other than .html?

2007-04-20 Thread Eelco Hillenius
> 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 sponso

Re: [Wicket-user] Can templates have an extension other than .html?

2007-04-22 Thread Jonathan Locke
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? >