yes make it a wicket component.
On 12/18/06, Carfield Yim [EMAIL PROTECTED] wrote:
Also, is it possible to make img 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
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:
wicket:head
wicket:link
link rel=stylesheet type=text/css
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 work.
Also, is it possible to make img 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
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