Re: resources in wicket have problem.

2021-06-08 Thread vahid ghasemi
kstart.html < > https://wicket.apache.org/start/quickstart.html> > > François > > > > > Le 8 juin 2021 à 11:29, vahid ghasemi a > écrit : > > > > I'll do that but I'm not sure about working. > > i think if you clone the project and test it you can easily

Re: resources in wicket have problem.

2021-06-07 Thread vahid ghasemi
۳۷ نوشت:‬ > > 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 schri

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

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-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 vahid ghasemi
anfred > > > > Am 08.06.2021 um 10:15 schrieb 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.jav

pass error in submit method

2021-06-29 Thread vahid ghasemi
Hello How can I pass an error in an onSubmit method? I have some errors that can detect in the onSubmit method. I throw exceptions at end of the onSubmit method. In the catch block, I call the error method, but after that, I expect to don't go into the afterOnSubmit method, but he will go and I am

Re: pass error in submit method

2021-06-29 Thread vahid ghasemi
() (or any code it forwards to) throw exceptions and > register an IRequestCycleListener#onException() to handle exceptions > during form submit. > > Have fun > Sven > > > On 29.06.21 17:51, vahid ghasemi wrote: > > I want to add form data to the database. > &g

Re: pass error in submit method

2021-06-29 Thread vahid ghasemi
want to know is a better way to handle this situation? On Tue, Jun 29, 2021 at 8:11 PM Maxim Solodovnik wrote: > Maybe it would be better to perform checks during validation ? > > from mobile (sorry for typos ;) > > > On Tue, Jun 29, 2021, 22:33 vahid ghasemi > wrote: >

Re: pass error in submit method

2021-07-02 Thread vahid ghasemi
return null; > } > }); > > Hope this helps > Sven > > > On 29.06.21 18:41, vahid ghasemi wrote: > > thanks again for answering my questions. > > can you send me some examples of this concept? > > (IRequestCycleListener

reset form

2021-06-29 Thread vahid ghasemi
Hello guys. I have a form that has two buttons (Submit, Reset) and my form is CompoundPropertiesModel. The type of these buttons are AjaxButtons. but Reset only works when the form is valid, otherwise it goes into the onError method. The type of reset button tag is "reset" and also the submit

Re: reset form

2021-06-29 Thread vahid ghasemi
net‬‏> در تاریخ سه‌شنبه ۲۹ ژوئن ۲۰۲۱ ساعت ۱۲:۲۶ نوشت:‬ > Hi, > > you have to call #setDefaultFormProcessing(false). > > Have fun > Sven > > > On 29.06.21 09:46, vahid ghasemi wrote: > > Hello guys. > > I have a form that has two buttons (Submit

Cannot create a session after the response has been committed

2021-09-17 Thread vahid ghasemi
Hello I have a problem with my server, tomcat get down after getting many of this error: java.lang.IllegalStateException: Cannot create a session after the response has been committed at org.apache.catalina.connector.Request.doGetSession(Request.java:2992) at

login captcha issue

2021-07-31 Thread vahid ghasemi
Hello I have a login form with a captcha. I tested my form with Burp suite (penetration test tool). in Burp I can send header requests a lot of time for brood force(just change password). this problem is because of the number at end of my URL(localhost:8080/login?1). so with this way attackers can

Re: login captcha issue

2021-08-01 Thread vahid ghasemi
e (sorry for typos ;) > > > On Sat, Jul 31, 2021, 22:39 vahid ghasemi > wrote: > > > Hello > > I have a login form with a captcha. > > I tested my form with Burp suite (penetration test tool). > > in Burp I can send header requests a lot of time for brood for

tag into tag

2021-09-25 Thread vahid ghasemi
Hello I have a tag and tag inside of it: Dashboard #XRS-45670 my h1 has a Label component. how I can add Lable into Label?

add Dropdown object to List

2021-09-25 Thread vahid ghasemi
Hello guys. I have a dropdown and I want to use CompoundPropertyModel OR PropertyModel. the attribute of my model is List and the wicket can't set the drop-down model object to List. what is your option to handle this?

Re: add Dropdown object to List

2021-09-28 Thread vahid ghasemi
Can I limit the users' choice number in ListMultipleChoice? On Mon, Sep 27, 2021 at 9:41 AM Martin Grigorov wrote: > Hi, > > On Sun, Sep 26, 2021 at 9:12 PM vahid ghasemi > wrote: > > > So it's not any option to handle this issue? > > I have list but it's singlet

Re: add Dropdown object to List

2021-09-26 Thread vahid ghasemi
So it's not any option to handle this issue? I have list but it's singleton list :( On Sun, Sep 26, 2021, 6:17 PM Martin Terra wrote: > Choices model should be final and the selection model should be one item > not a list > > > > On Sun, Sep 26, 2021, 17:36 vahid ghasemi &g

Re: Cannot create a session after the response has been committed

2021-09-22 Thread vahid ghasemi
) at java.lang.Thread.run(Thread.java:748) On Mon, Sep 20, 2021 at 10:45 AM Martin Grigorov wrote: > Hi, > > On Fri, Sep 17, 2021 at 4:41 PM vahid ghasemi > wrote: > > > Hello > > I have a problem with my server, tomcat get down after getting many of > this > > error: >

Re: add Dropdown object to List

2021-09-26 Thread vahid ghasemi
gt; > ** > Martin > > la 25. syysk. 2021 klo 19.46 vahid ghasemi (vahidghasemi...@gmail.com) > kirjoitti: > > > Hello guys. > > I have a dropdown and I want to use CompoundPropertyModel OR > PropertyModel. > > the attribute of my model is List and the wicket can't set the > > drop-down model object to List. > > what is your option to handle this? > > >

Re: version of java

2022-01-04 Thread vahid ghasemi
We are using wicket 8 Is it a bad idea to get java 17 with wicket 8? On Wed, Jan 5, 2022 at 9:23 AM Martin Grigorov wrote: > Hi, > > Wicket 9.x is regularly tested with Java 11 & 17! > We are not aware of any issues! > > On Wed, Jan 5, 2022 at 7:34 AM vahid ghasemi

version of java

2022-01-04 Thread vahid ghasemi
Hello. What version of wicket can support the latest LTS version of java(17)?

wicket:child

2022-01-09 Thread vahid ghasemi
Hello, How can I use 2 wicket:child for 1 inherited class? Like this: Hello Hello Hello again Hello again

Re: wicket:child

2022-01-09 Thread vahid ghasemi
implement, or add the right panel. > > > Manfred > > > > > Am 09.01.2022 um 14:30 schrieb vahid ghasemi >: > > > > Yes, > > I want to use a child class in multiple places of parent markup. > > How should I handle that? > > If it does not exist an

Re: wicket:child

2022-01-09 Thread vahid ghasemi
sn’t work. > This is probably a case to prefer composition over inheritance? > > > Manfred > > > > Am 09.01.2022 um 13:55 schrieb vahid ghasemi >: > > > > Hello, > > How can I use 2 wicket:child for 1 inherited class? > > Like this: > > > &g

Re: Convert to science Number

2022-01-11 Thread vahid ghasemi
ve a built in converter. > > ** > Martin > > ti 11. tammik. 2022 klo 10.26 Martin Grigorov (mgrigo...@apache.org) > kirjoitti: > > > Please give more details > > > > On Tue, Jan 11, 2022 at 9:10 AM vahid ghasemi > > > wrote: > > > > > H

Convert to science Number

2022-01-10 Thread vahid ghasemi
Hello, In wicket, the number above from 10E7 will convert to science number in input. How can I prevent that?

Re: fragment

2022-03-17 Thread vahid ghasemi
Its not css/js issue. Because when I load only HTML haven't any problem and works well. On Thu, Mar 17, 2022 at 11:00 AM Martin Terra < martin.te...@koodaripalvelut.com> wrote: > If it's a css/js issue, stackoveflow.com might lead to faster solution. > > to 17. maalisk. 2022

fragment

2022-03-17 Thread vahid ghasemi
Hello, I'm using wicket-fragment in my page, my page has a primitive form, and after submit decide to create and show one of the fragments below of my primitive form. I'm using the bootstrap panel. After creating the fragment the height of the panel-heading in my fragment contains my primitive

Re: fragment

2022-03-19 Thread vahid ghasemi
Can you lunch my code and see that, please? On Thu, Mar 17, 2022 at 2:29 PM Martin Terra < martin.te...@koodaripalvelut.com> wrote: > to 17. maalisk. 2022 klo 12.42 vahid ghasemi (vahidghasemi...@gmail.com) > kirjoitti: > > > Its not css/js issue. > > Because when I

Re: document and example

2022-02-11 Thread vahid ghasemi
cket/guide/9.x/single.html and search for > your favorite tag :-) > > On Fri, Feb 11, 2022 at 3:57 PM vahid ghasemi > wrote: > > > Hello, > > I can't find a good document or example about XHTMLs in wicket. > > like "wicket:enclosure attribute"

document and example

2022-02-11 Thread vahid ghasemi
Hello, I can't find a good document or example about XHTMLs in wicket. like "wicket:enclosure attribute" or " and tag". How can I find some examples or descriptions?

Ajax Error

2022-05-23 Thread vahid ghasemi
Hello, I have the below error and I don't know this is from where and how I should fix it. FunctionsExecuter.processNext: ReferenceError: Main is not defined

add json file in bookmarkable file.

2022-09-20 Thread vahid ghasemi
Hello, I want to use datatables library: https://datatables.net/ I created a behavior and override renderHead method : response.render(OnDomReadyHeaderItem.forScript("$('table').DataTable({" + ... + "});")); according to this link : https://datatables.net/reference/option/language.url I can pass

Re: add json file in bookmarkable file.

2022-09-20 Thread vahid ghasemi
lution yet. On Tue, Sep 20, 2022 at 6:00 PM Martin Grigorov wrote: > you may also want to check > http://wicketinaction.com/2011/07/wicket-1-5-mounting-resources/ > > On Tue, Sep 20, 2022 at 4:25 PM Martin Grigorov > wrote: > > > > > > > On Tue, Sep 20, 2022 at

Re: add json file in bookmarkable file.

2022-09-20 Thread vahid ghasemi
gt; You can put the JSON file in your webapp /static folder. > Or you could use application.mountResource(...) if you want it to be served > and/or generated by Wicket. > > Also please check > https://github.com/wicketstuff/core/tree/master/datatables-parent > > > On Tue, Sep 20, 2022 at 3:31 PM v