Re: resources in wicket have problem.

2021-06-08 Thread vahid ghasemi
Hi thanks for all answers and helps. I find problem and resolve that. problem was in BasePage.html in first line into head tag. it was cause of my issue and after deleting my project working well. again thanks for all of you :* ‫‪Francois Meillet‬‏ <‪francois.meil...@gmail.com‬‏> در

Re: resources in wicket have problem.

2021-06-08 Thread Francois Meillet
Could you disable JavaScript in your browser and test your page ? Or in your MetronicAssets, comment all JavaScriptReferenceHeaderItems. PS: create a quickstart with this tool https://wicket.apache.org/start/quickstart.html François > Le 8

Re: resources in wicket have problem.

2021-06-08 Thread vahid ghasemi
I'll do that but I'm not sure about working. i think if you clone the project and test it you can easily know about the problem. my problem is not just images and also in this status all of my js and css working. my links don't work and this problem is inconsequential to resources. pls clone and

Re: resources in wicket have problem.

2021-06-08 Thread Bergmann Manfred
Hi. Just had a quick look. I find it quite difficult to see through. Too many involved classes. All the assets you have in your ’java’ source root should actually be in ‚resources‘, that’s what this is for. Some build tools (I believe also IntelliJ by default) don’t even copy resources from

Re: resources in wicket have problem.

2021-06-08 Thread vahid ghasemi
test & ui packages are main packages and others are not important. ir.iais.test.MyApplication is starting. an my two pages is: ir.iais.test.panelTest.LabelPage.java ir.iais.test.panelTest.PabelPage.java These Panels are extended from BasicPage which is extended from ir.iais.ui.BasePage.

Re: resources in wicket have problem.

2021-06-08 Thread Martin Grigorov
On Tue, Jun 8, 2021 at 7:47 AM vahid ghasemi wrote: > https://github.com/vahida1157/wicketbase > this is my project. > It is much bigger than "two pages" Please try to simplify it or at least explain which two pages you mean, tell us steps to reproduce and Start.java in src/test as in the

Re: resources in wicket have problem.

2021-06-07 Thread vahid ghasemi
https://github.com/vahida1157/wicketbase this is my project. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: resources in wicket have problem.

2021-06-07 Thread Martin Grigorov
On Mon, Jun 7, 2021 at 8:50 PM vahid ghasemi wrote: > add(new Image("profilePhotoHeader", new > PackageResourceReference(Bootstrap5.class, > "media/avatars/blank.png"))); > just say what you need to know. > Can I send a file or image here? > No, attachments are not allowed in the mailing list.

Re: resources in wicket have problem.

2021-06-07 Thread vahid ghasemi
add(new Image("profilePhotoHeader", new PackageResourceReference(Bootstrap5.class, "media/avatars/blank.png"))); just say what you need to know. Can I send a file or image here? ‫‪Bergmann Manfred‬‏ <‪m...@software-by-mabe.com‬‏> در تاریخ دوشنبه ۷ ژوئن ۲۰۲۱ ساعت ۲۱:۳۷ نوشت:‬ > > Hi. > > Hard to

Re: resources in wicket have problem.

2021-06-07 Thread Bergmann Manfred
Hi. Hard to say anything without more info. How are you loading the images? Did you have a look here? https://ci.apache.org/projects/wicket/guide/8.x/single.html#_package_resources Manfred > Am 07.06.2021 um 18:55 schrieb vahid ghasemi : > > I created a new web application with 2 pages. >

resources in wicket have problem.

2021-06-07 Thread vahid ghasemi
I created a new web application with 2 pages. The first page is my home page and has a wicket link for getting to the second page and has some images. The second page has a wicket link for getting to the first page and has some images too. when I deploy the project on my PC everything is ok(images