Re: packaging images/css in a jar?

2008-05-23 Thread Blackbird
structure.. mfs wrote: Guys, Wondering as to where would i be packaging my images/css in case of a jar ? Farhan. -- View this message in context: http://www.nabble.com/packaging-images-css-in-a-jar--tp13652419p17425997.html Sent from the Wicket - User mailing list archive

Re: packaging images/css in a jar?

2007-11-09 Thread mfs
] -- View this message in context: http://www.nabble.com/packaging-images-css-in-a-jar--tf4772567.html#a13676050 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: packaging images/css in a jar?

2007-11-09 Thread Eelco Hillenius
Thanks Eelco..so that means the image cant just be anywhere in the classpath, it has to be either 1) In the same directory as the page-component or 2) In the webapp folder in case of a war and can be accesed via ContextImage... It can be arbitrary as long as you have a class relative to it you

packaging images/css in a jar?

2007-11-08 Thread mfs
Guys, Wondering as to where would i be packaging my images/css in case of a jar ? Farhan. -- View this message in context: http://www.nabble.com/packaging-images-css-in-a-jar--tf4772567.html#a13652419 Sent from the Wicket - User mailing list archive at Nabble.com

Re: packaging images/css in a jar?

2007-11-08 Thread mfs
src/main/resources?..lets say if its a maven structure.. mfs wrote: Guys, Wondering as to where would i be packaging my images/css in case of a jar ? Farhan. -- View this message in context: http://www.nabble.com/packaging-images-css-in-a-jar--tf4772567.html#a13652470 Sent from

Re: packaging images/css in a jar?

2007-11-08 Thread Eelco Hillenius
On Nov 8, 2007 10:02 AM, mfs [EMAIL PROTECTED] wrote: Guys, Wondering as to where would i be packaging my images/css in case of a jar ? Typically relative to where you use it. Eelco - To unsubscribe, e-mail: [EMAIL

Re: packaging images/css in a jar?

2007-11-08 Thread mfs
relative to where you use it. Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/packaging-images-css-in-a-jar

Re: packaging images/css in a jar?

2007-11-08 Thread Eelco Hillenius
src/main/resources?..lets say if its a maven structure.. No, just in the classpath. Look at wicket-examples/ images example for instance. Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: packaging images/css in a jar?

2007-11-08 Thread Eelco Hillenius
but i am wondering as to how would i make it work wicket such that image gets fetched from the classpath and not relative to the application root.. So basically here is my scenario, i have jar bundled with the page components and in them i want to refer to the images (bundled within the jar

Re: packaging images/css in a jar?

2007-11-08 Thread Eelco Hillenius
On Nov 8, 2007 11:16 AM, mfs [EMAIL PROTECTED] wrote: Actually it does work when the image is in the same directory as that of the page (same with the example u pointed out)..how would i refer to an image which is altogether is a different structure... lets say my page is at org.xyz.util

Re: packaging images/css in a jar?

2007-11-08 Thread mfs
served from the jar. Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/packaging-images-css-in-a-jar--tf4772567

Re: packaging images/css in a jar?

2007-11-08 Thread Eelco Hillenius
Anyways actually i dont have a webapp directory and dont want to have that in my jar project...just want the .class files and the images (and may be css)..both residing it a different folders structure... basically below is the resulting jar structure i have and would want to keep