Re: resources folder / package

2010-04-16 Thread Eyal Golan
thanks Cemal and Apple. i think i got it. Will test it on Sunday. Eyal Golan egola...@gmail.com Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74 P Save a tree. Please don't print this e-mail unless it's really necessary On Fri, Apr 16, 2010 at 5:13 AM,

Re: resources folder / package

2010-04-15 Thread Sigmar Muuga
You can define packages and put all CSS / JS files into them. Note that there must be some class also along with them, it may be an empty class. Then you can reference these resources using that class declaration. Note that if your css uses images, then you have to put correct paths into that

Re: resources folder / package

2010-04-15 Thread Eyal Golan
hi, thanks. I know this, but my question was different. I saw in some projects that the JS and CSS files are in the same hierarchy as the class that is used for their scope, but the main folder is different. Example: I have a Java class: com.myCompany.ResourceScope.java it is located under src. I

Re: resources folder / package

2010-04-15 Thread Cemal Bayramoglu
Eyal, This is not to do with Wickets resource loading. Its got to do with how you set up your build mechanism, and in particular, which files, from which folders you tell it to include in the creation of the target (folders or archives). In other words, you need to tell Maven or Ant or your IDE

Re: resources folder / package

2010-04-15 Thread Apple Grew
@Eyal Maybe you would like to have a look at this thread. http://n4.nabble.com/resource-css-loading-td1878209.html Regards, Apple Grew my blog @ http://blog.applegrew.com/ On Fri, Apr 16, 2010 at 2:41 AM, Eyal Golan egola...@gmail.com wrote: hi, thanks. I know this, but my question was