Hi, I tried this line below in my application.java init(){
resourceFolder.add("/home/haulynjason/workspace/wicketproject/web/css");
}

and everything works well.

I do not familiar with wicket 1.3, I test this with wicket 1.4. Hope this
should help.


On Tue, Aug 18, 2009 at 4:27 PM, Per Newgro <per.new...@gmx.ch> wrote:

> Haulyn R. Jason schrieb:
>
>> Hi, I didn't use this style, but I leave my css in resources folder, and
>> use
>> the following code
>> here:add(CSSPackageResource.getHeaderContribution(AbstractWebPage.class,
>> "resources/base.css"));
>>
>> everything works well.
>>
>>
> Thanks for reply Haulyn,
>
> i can't find a CssPackageResource in 1.3.7
> If i use the class scope i have to put my css-file beside my HomePage
> class. I would like to avoid this.
> I would like to use a big "Application folder" for all css, img and so on.
>
> I hope there is a solution.
>
>
> Cheers
> Per
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


-- 
------------------
Enjoy. Thanks!

Haulyn Microproduction

Mobile: +086-15864011231
email: saharab...@gmail.com,
         hmp.hau...@foxmail.com
website: http://haulynjason.net
gtalk: saharab...@gmail.com
yahoo: jia_hao...@yahoo.com
msn: saharab...@gmail.com
skype: saharabear
QQ: 378606292

Haulyn Jason

Reply via email to