Re: [Wicket-user] About putting other resources in classpath

2006-12-18 Thread Johan Compagner
yes make it a wicket component. On 12/18/06, Carfield Yim <[EMAIL PROTECTED]> wrote: Also, is it possible to make tag work for image at classpath On 12/18/06, Carfield Yim <[EMAIL PROTECTED]> wrote: > For the directory I am now putting CSS, there is also a HTML that I > use to use wicket.mar

Re: [Wicket-user] About putting other resources in classpath

2006-12-17 Thread Carfield Yim
Also, is it possible to make tag work for image at classpath On 12/18/06, Carfield Yim <[EMAIL PROTECTED]> wrote: > For the directory I am now putting CSS, there is also a HTML that I > use to use wicket.markup.html.include.Include to include in some > webpages, how can I do for that? > > On 12/

Re: [Wicket-user] About putting other resources in classpath

2006-12-17 Thread Carfield Yim
For the directory I am now putting CSS, there is also a HTML that I use to use wicket.markup.html.include.Include to include in some webpages, how can I do for that? On 12/17/06, Erik van Oosten <[EMAIL PROTECTED]> wrote: > Hi Carfield, > > You don't need to do anything special to get this to wor

Re: [Wicket-user] About putting other resources in classpath

2006-12-17 Thread Erik van Oosten
Hi Carfield, You don't need to do anything special to get this to work. Example: In the package 'com.my.company': MyPanel.java, MyPanel.html, MyPanel.css and in the sub-package 'com.my.company.img': image.jpg. In MyPanel.html: In MyPanel.css: .image { background-image: url('img/im

[Wicket-user] About putting other resources in classpath

2006-12-15 Thread Carfield Yim
I would like to put all my image and CSS to classpath so that when I update my web application, I just need to replace the jar. I am now thinking having logic at onBeginRequest() to check the URL and see if the request path have resource exist in classpath. If it exist, open outputstream of respo