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?
>
>
>
> -
> 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
> 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.php&p=sourceforge&CID=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?

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 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.php&p=sourceforge&CID=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?

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 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.php&p=sourceforge&CID=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.php&p=sourceforge&CID=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?

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 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.php&p=sourceforge&CID=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?

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

-
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


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 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.php&p=sourceforge&CID=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.php&p=sourceforge&CID=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?

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 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


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 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?

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?
> 
> 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.php&p=sourceforge&CID=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