c/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://ww
> 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 y
--
> 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.html#a13676050
Sent from the Wicket - User mailing
> 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
>
> my-cu
simply images/company-logo.jpg
>
> Eelco
>
> -----
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
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.u
subscribe, 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.html#a13653772
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
> 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
> 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: [EMAI
>
>
>
--
View this message in context:
http://www.nabble.com/packaging-images-css-in-a-jar--tf4772567.html#a13652829
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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 PRO
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--tf477
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
13 matches
Mail list logo