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, Apple Grew <appleg...@gmail.com> wrote: > @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 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 have a file called MyCss.css, which is located under com.myCompany > > but it is located under resources folder. > > both src and resources are under the same project. > > > > in the projects I saw, you can call for this resource reference with the > > ResourceScope class. > > > > I tried to do the same without success. > > > > Any thoughts? > > > > > > 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 Thu, Apr 15, 2010 at 4:46 PM, Sigmar Muuga <meedi...@gmail.com> > wrote: > > > > > 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 css. > > > > > > Sigmar > > > > > > On Thu, Apr 15, 2010 at 2:43 PM, Eyal Golan <egola...@gmail.com> > wrote: > > > > > > > Hello to you all, > > > > it's been a very long time since I wrote here. > > > > I have a question regarding folder locations. > > > > I am working with WiQuery and it is unbelievable great. > > > > Also the support there (thanks indiana ;) ) > > > > > > > > In WiQuery there are 'themes' and the location of the CSS and images > is > > > in > > > > a > > > > separate folder called 'resources' , which has the same structure as > of > > > the > > > > Java classes themselves. > > > > I wanted to do the same in my project without success. > > > > > > > > Should I configure something other than just put the same hierarchy? > > > > > > > > thanks for the help. > > > > > > > > My question is > > > > 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 > > > > > > > > > >