[Lift] Re: Can't find Javascript files using LiftRules.resourceServerPath

2009-04-09 Thread marius d.
In your boot try this: ResourceServer.allow { case jquery-tabs.js :: Nil = true case jquery-ui-1.7.1.custom.min.js :: Nil = true } On Apr 9, 12:17 am, glenn gl...@exmbly.com wrote: What am I doing wrong? I'm trying to implement tabs using the jquery-tabs.js (the JqueryTabs Plugin), but

[Lift] Re: Can't find Javascript files using LiftRules.resourceServerPath

2009-04-09 Thread glenn
Problem solved. It seems you can't just put your js files in the path src/main/resources/toserver. You need to put them in a subfolder of toserve and specify the subfolder in ResourceServer.allow in your Boot class. I think improved documentation is needed in this area. Glenn Silverman On Apr

[Lift] Re: Can't find Javascript files using LiftRules.resourceServerPath

2009-04-09 Thread marius d.
that to :) ... the above should also work as well if you leave your files in toserve. ResourceServer is also discussed in the upcoming Lift book. If one understands how ResourceServer works there is no need for further explanations of sub-folders etc. Relevant examples can be found in