or, if these images and css are for your application, and application
wide (i.e. all pages include them), you could put them in
src/main/webapp/......

and just <link src="style.css" ... /> them in your markup.

Martijn

On Sun, May 24, 2009 at 6:17 PM, Lucas Bonansea
<lucas.bonan...@gmail.com> wrote:
> Thanks for the responses, I'll try them out
>
> On Sun, May 24, 2009 at 9:51 AM, Jeremy Thomerson <jer...@wickettraining.com
>> wrote:
>
>> The most common "wicket way" is that they are stored in your java
>> packages, next to your class and html files.  This way they can be
>> packaged and reused in other applications, etc.  Then you reference
>> them with a resourcereference(ClassNextToThem.class,
>> "relative-path-from-class").
>>
>> Or you can put them in the same place and use wicket:link rather than
>> a resource reference.  Up to you.
>>
>> --
>> Jeremy Thomerson
>> http://www.wickettraining.com
>>
>>
>>
>>
>> On Sat, May 23, 2009 at 9:10 PM, Lucas Bonansea
>> <lucas.bonan...@gmail.com> wrote:
>> > Hello.
>> >           I'm new to web development and to Wicket. I created an Wicket
>> > project in Eclipse following the instructions in the website, from there
>> and
>> > following the examples I have been able to create a couple of simple web
>> > pages. The problem I am having, is that I don't know where to store my
>> css
>> > file and my image files so that they would be loaded when I execute my
>> new
>> > web pages.
>> >           If possible I would like to do it using relative paths so then
>> I
>> > can deploy my war elsewhere
>> >
>> > Thanks
>> >
>> > Lucas B
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.5 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to