Re: Wicket on low end hardware

2023-01-03 Thread Martin Terra
(shengchehs...@gmail.com) kirjoitti: > Dear Martin > > I don’t know how to do “pre-touch”, do you have any example? > > From: Martin Terra > Date: Tuesday, January 3, 2023 at 11:37 PM > To: s...@stantastic.nl > Cc: users@wicket.apache.org > Subject: Re: Wicket on low end hardwa

Re: Wicket on low end hardware

2023-01-03 Thread Martin Terra
eloading components. That still > leaves me with the considerable startup time but we will learn to live > with that. Or we might switch from Tomcat to Jetty eventually. > > If anyone thinks I might be leaving some stuff on the table, I would be > open to hire someone to do some consulting

Re: Wicket on low end hardware

2023-01-01 Thread Martin Terra
Anything in wicket can be preloaded, but as premature optimization is evil, you should profile your application. If you do not have debug access to a real/simulated environment then the least you can do is make your own thread logger to log what the threads are doing. ** Martin ma 2. tammik.

Re: Wicket MVVM

2022-11-17 Thread Martin Terra
es and maybe make a quickstart or a reference implementation. I appreciate these tips. ** Martin > > -- Dan > > On Thu, 17 Nov 2022 at 16:28, Martin Terra < > martin.te...@koodaripalvelut.com> > wrote: > > > Thanks, interesting. First impression it's quite some > >

Re: Wicket MVVM

2022-11-17 Thread Martin Terra
ts. > > And then different viewers visualize the objectis/collections. Apache > > Wicket is one of the available viewers. REST is another. AFAIK there is > no > > POI viewer but there is a plugin for the Wicket viewer that adds "export > to > >

Wicket MVVM

2022-11-17 Thread Martin Terra
Hi! Is there a library/example/experience for doing MVVM with wicket (or something close enough to serve as a useful reference)? A practical goal would be to decouple the Wicket stack from other layers and automate gui code generation based on predefined patterns & layout design (benefits would

Re: Blind XPath Injection Solution

2022-11-07 Thread Martin Terra
TL;DR In general wicket app should do server side validation and if client submits a valid query then it might not be a problem, or you need to add validation. Does this ring a bell? ** Martin ti 8. marrask. 2022 klo 6.03 Jonathan P. Babie (jba...@osc.ny.gov.invalid) kirjoitti: > Hello, > >

Re: Reg: Integrate Spring REST and OAuth2 in Wicket web Application

2022-09-26 Thread Martin Terra
Hi! It should be quite straightforward once you start according to standard practices and best principles. You can find lots of resources via google, e.g., https://support.wicket.io/hc/en-us/articles/4411663172631-Getting-Started-with-SSO-OAuth2-SAML2- Or have you already tried it and do you

Re: Form components in ListView cleared if ListView is refreshed

2022-07-08 Thread Martin Terra
pe 8. heinäk. 2022 klo 11.21 Arunachalam Sibisakkaravarthi ( arunacha...@mcruncher.com) kirjoitti: > Noted Martin Terra. > The Mechanism of showing the validation messages is automatic. > You might want to debug this functionality, then, maybe there is a bug or maybe something is not

Re: Form components in ListView cleared if ListView is refreshed

2022-07-08 Thread Martin Terra
pe 8. heinäk. 2022 klo 10.06 Arunachalam Sibisakkaravarthi ( arunacha...@mcruncher.com) kirjoitti: > Hi Martin Terra, thanks for your suggestion. > Yes, currently AjaxLink is used in my case, I should use AjaxSubmitLink to > address the issue where it clears the input. >

Re: Form components in ListView cleared if ListView is refreshed

2022-07-06 Thread Martin Terra
to 7. heinäk. 2022 klo 4.45 Arunachalam Sibisakkaravarthi ( arunacha...@mcruncher.com) kirjoitti: > Hi Martin Terra, > Thanks for your feedback, Yes I already used setReuseItems on listview. I > will look at your suggestion. > Data loss happens only when invalid email address is en

Re: Form components in ListView cleared if ListView is refreshed

2022-07-06 Thread Martin Terra
You can setReuseItems, but the number of your list items changes you will need to implement some sort of FormComponentReuseManager ** Martin ke 6. heinäk. 2022 klo 13.08 Arunachalam

Re: Re: Automatically insert generated html IDs in other places in html file

2022-06-30 Thread Martin Terra
the lines of: new ReusablePanel("panel-id", "header-id"); ** Martin to 30. kesäk. 2022 klo 13.50 Daniel Radünz (ihmehlm...@gmx.de) kirjoitti: > Thank you kindly both for your suggestions. > > @Martin Terra > I'm not sure I quite undstand what you mean. My hope wa

Re: Automatically insert generated html IDs in other places in html file

2022-06-29 Thread Martin Terra
ke 29. kesäk. 2022 klo 12.38 Daniel Radünz (ihmehlm...@gmx.de) kirjoitti: > Hello everybody, > > I'm wondering if there is a way in Wicket to generate unique html IDs and > to then add them in other places in the html, without having to write any > boiler plate code in each panel that I have. > >

Re: Is there any way to get an error message when uploading a file that exceeds the size limit?

2022-06-09 Thread Martin Terra
Hi! I would assume that you should set the form levele restriction stricter than application or server level to allow the form to be processed and thus give way for the onFileUploadException to be invoked. ** Martin to 9. kesäk. 2022 klo 14.57 Ryo Tsunoda (try0.developm...@gmail.com) kirjoitti:

Re: prevent client request being intercepted for attack

2022-05-27 Thread Martin Terra
If you browse with a ZAP associated browser then I assume the https connection is with ZAP. You should only be concerned if you browse with a different browser than one associated ZAP and then same occurs. ** Martin pe 27. toukok. 2022 klo 12.46 Arunachalam Sibisakkaravarthi (

Re: prevent client request being intercepted for attack

2022-05-27 Thread Martin Terra
Use https pe 27. toukok. 2022 klo 10.27 Arunachalam Sibisakkaravarthi ( arunacha...@mcruncher.com) kirjoitti: > Hi guys, > Form submission requests can be intercepted using a third party tool (eg: > ZAP) to change the data. Is there a way to prevent this attack? How do we > validate data

Re: fragment

2022-03-19 Thread Martin Terra
la 19. maalisk. 2022 klo 9.16 Martin Terra (martin.te...@koodaripalvelut.com) kirjoitti: > la 19. maalisk. 2022 klo 9.09 vahid ghasemi (vahidghasemi...@gmail.com) > kirjoitti: > >> Can you lunch my code and see that, please? >> > > Can you maybe capture it as plain htm

Re: fragment

2022-03-19 Thread Martin Terra
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 load only HTML haven't

Re: fragment

2022-03-17 Thread Martin Terra
to 17. maalisk. 2022 klo 12.42 vahid ghasemi (vahidghasemi...@gmail.com) kirjoitti: > Its not css/js issue. > Because when I load only HTML haven't any problem and works well. > If zoom affects it, it is a css/js issue. ** Martin > > On Thu, Mar 17, 2022 at 11:00 AM Martin Terr

Re: fragment

2022-03-17 Thread Martin Terra
If it's a css/js issue, stackoveflow.com might lead to faster solution. to 17. maalisk. 2022 klo 8.49 vahid ghasemi (vahidghasemi...@gmail.com) kirjoitti: > 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

Re: document and example

2022-02-11 Thread Martin Terra
If you google wicket xsd it leads to https://wicket.apache.org/dtds.data/ Is this maybe the precision what you are looking for? ** Martin la 12. helmik. 2022 klo 5.40 vahid ghasemi (vahidghasemi...@gmail.com) kirjoitti: > Martin Terra, I read your link, and as you can see It's not a comple

Re: document and example

2022-02-11 Thread Martin Terra
Hi! Do you mean this: https://cwiki.apache.org/confluence/display/WICKET/Wicket%27s+XHTML+tags ** Martin pe 11. helmik. 2022 klo 16.57 vahid ghasemi (vahidghasemi...@gmail.com) kirjoitti: > Hello, > I can't find a good document or example about XHTMLs in wicket. > like "wicket:enclosure

Re: Selenium testing

2022-02-01 Thread Martin Terra
ti 1. helmik. 2022 klo 13.32 Wayne W (waynemailingli...@gmail.com) kirjoitti: > Thanks all for your replies. > Food for thought there. > > WicketTester seems the 'better' solution, but I'm trying to hand this over > to a QA person who cannot program. Ernesto - I think it would be a massive >

Re: Selenium testing

2022-01-31 Thread Martin Terra
ma 31. tammik. 2022 klo 15.38 Wayne W (waynemailingli...@gmail.com) kirjoitti: > Hello all, > > Is anyone out there successfully using Selenium to do regression testing? > It seems with the latest version of Selenium you cannot add custom > selectors anymore (the idea turning on >

Re: Convert to science Number

2022-01-11 Thread Martin Terra
Also, are you using a BigDecimal or arbitrary floating point numbers ? Big decimals should have a built in converter. ** Martin ti 11. tammik. 2022 klo 10.26 Martin Grigorov (mgrigo...@apache.org) kirjoitti: > Please give more

Re: add Dropdown object to List

2021-09-28 Thread Martin Terra
gt; > > So it's not any option to handle this issue? > > > I have list but it's singleton list :( > > > > > > > You need to use ListMultipleChoice instead of DropDownChoice. > > > > > > > On Sun, Sep 26, 2021, 6:17 PM Martin Terra < > >

Re: add Dropdown object to List

2021-09-26 Thread Martin Terra
(vahidghasemi...@gmail.com) kirjoitti: > 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 < > martin.te...@koodaripalvelut.com> > wrote: > > > Choices model should be final and the s

Re: add Dropdown object to List

2021-09-26 Thread Martin Terra
"DropDownSomeThing", new > PropertyModel(user,"someThing", ); > > and this is my problem. > how can I add the drop-down model to the user property which is list, with > PropertyModel > > > On Sun, Sep 26, 2021 at 7:31 AM Martin Terra < > martin.t

Re: tag into tag

2021-09-25 Thread Martin Terra
Hi! To me it looks like you have a webmarkupcontainer and a small label inside it. Or how do you expect it to render? If all text is dynamic then I would still make it one label which partly generates html markup. ** Martin la 25. syysk. 2021 klo 15.45 vahid ghasemi (vahidghasemi...@gmail.com)

Re: add Dropdown object to List

2021-09-25 Thread Martin Terra
Hi! Can you paste some code with your exact (generic) variables which doesn't work, it might be easier to figure out from code example than verbal description? ** Martin la 25. syysk. 2021 klo 19.46 vahid ghasemi (vahidghasemi...@gmail.com) kirjoitti: > Hello guys. > I have a dropdown and I

Re: Page is being lost from Session intermittently

2021-09-02 Thread Martin Terra
to 2. syysk. 2021 klo 15.48 Wayne W (waynemailingli...@gmail.com) kirjoitti: > Thanks for the replies. > > > > > > Have you logged everything from the servlet container's session manager > to > > wicket session management, to identify the logic where loss occurs? > > > Not yet. > > For example,

Re: Page is being lost from Session intermittently

2021-09-01 Thread Martin Terra
Hi! Have you logged everything from the servlet container's session manager to wicket session management, to identify the logic where loss occurs? If necessary, you could compile a custom version of these from sources, to add more necessary logging, to trace where the ball drops. For example,

Re: Job opening, Wicket developer, full time remote position

2021-07-27 Thread Martin Terra
(francois.meil...@gmail.com) kirjoitti: > Hi Martin, > > Do you want I tweet about your job on Apache Wicket Twitter account > @apache_wicket ? > > If so please give me the link where users can see the job description. > > Best regards > > François > > > >

Job opening, Wicket developer, full time remote position

2021-07-27 Thread Martin Terra
gig. If you are available, please contact me directly. Yours sincerely, Martin Terra martin.te...@koodaripalvelut.com

Re: Why aren't setEnabled and setVisible model based?

2021-05-10 Thread Martin Terra
You often need to know overall UI state to determine visibility, and you would end up with anonymous model classes of some sorts, so my educated guess is there is not much expected benefit, only caveats. One would expect a model to work and end up doing twice the work eventually using an anonymous

Re: Wicket 9 on Java 8

2020-09-23 Thread Martin Terra
yagni ;) ke 23. syysk. 2020 klo 18.06 Ashley Reed (ashley.r...@systemware.com) kirjoitti: > We need better Content-Security-Policy support. Our code and customers > use Java 8. Wicket 9 with the CSP enhancements only works on Java 11. > Any chance you can make Wicket 9 work on Java 8? Or

Re: Issues with refreshing panel with form

2020-08-12 Thread Martin Terra
onEditPanel( > "payerNamePersonPanel", > new PropertyModel(personModel, "personName") > ); > > > > > > Are there any other solutions to do it better? Maybe without replacing the > components? > > > Thanks, > &

Re: Issues with refreshing panel with form

2020-08-04 Thread Martin Terra
Did you debug clearinput and model detach whether they occur expectedly? Snipplet is too small to see the big picture, and at the same time it seems too complex to get the big picture quickly from code (maybe you could share a 15 line pseudocode spec for the form, what it's intended to do)? **

Re: Preventing the ModalWindow from being rendered as iframe

2020-07-07 Thread Martin Terra
Hi! Javadoc says ... *If the content is a page (iframe)* .. Can you show your code, if you are using a panel or a page as its content? ** Martin ti 7. heinäk. 2020 klo 13.26 Lukas Fülling (lerk@gammel.cloud.invalid) kirjoitti: > Hi, > > I'm currently trying to get Javascript callbacks from/to

Re: Page locked for a long time

2020-07-05 Thread Martin Terra
Maybe something along the lines of a stateless page form without a session or something, so the user can continue with a session separately. ** Martin su 5. heinäk. 2020 klo 21.16 Sven Meier (s...@meiers.net) kirjoitti: > Hi Maxim, > > you'll have to upload these files to a resource separately.

Re: setHeaderResponseDecorator cause problem logging into my app

2020-04-13 Thread Martin Terra
Then you could try to debug it using browser developer tools (inspect element, debugger etc.). Usually there is an issue like conflicting js or missing dependencies (throws exception on js), or something along those lines. Also could be that dependencies are injected in wrong order, or you might

Re: setHeaderResponseDecorator cause problem logging into my app

2020-04-13 Thread Martin Terra
Did you check both console log and browser (developer tools) logs? ** Martin ma 13. huhtik. 2020 klo 19.56 LSomefun (oyesomefunla...@gmail.com) kirjoitti: > I am having problem with inserting JavaScript into a Html body tag. Once I > use the following code as shown in the tutorial into my >

Re: About XML Injection

2020-04-10 Thread Martin Terra
ajax.js. > > How validation of the submit values could help with the XML injection ?! > > > > > > On Thu, Apr 9, 2020 at 2:52 PM Shengche Hsiao > > wrote: > > > > > Thank you, I'll do that and see if works > > > > > > On Thu, A

Re: About XML Injection

2020-04-09 Thread Martin Terra
PM Shengche Hsiao > wrote: > > > Thank you, I'll do that and see if works > > > > On Thu, Apr 9, 2020 at 6:35 PM Martin Terra < > > martin.te...@koodaripalvelut.com> wrote: > > > > > Can you solve this by simple validation if submitted value

Re: About XML Injection

2020-04-09 Thread Martin Terra
Can you solve this by simple validation if submitted values are legal? This way it does not matter if client tries to override the submit. ** Martin to 9. huhtik. 2020 klo 12.22 Shengche Hsiao (shengchehs...@gmail.com) kirjoitti: > I got a report , it suggest our web site to deal with xml

Re: About XML Injection

2020-04-09 Thread Martin Terra
** Martin to 9. huhtik. 2020 klo 10.55 Shengche Hsiao (shengchehs...@gmail.com) kirjoitti: > I can checkout source from github, but I need some advise to start, thanks > > On Thu, Apr 9, 2020 at 3:36 PM Martin Terra < > martin.te...@koodaripalvelut.com> wrote: > > &

Re: About XML Injection

2020-04-09 Thread Martin Terra
You could override some of the methods that do the injecting. Do you have the wicket sources? ** Martin to 9. huhtik. 2020 klo 10.27 ShengChe Hsiao (front...@gmail.com) kirjoitti: > Dear all > > I use built-in ajax dropdownchoice component, it's default payload is xml > entity, but if I need to

Re: Where to download Javadoc for Wicket 8.x?

2020-03-02 Thread Martin Terra
ing like: https://stackoverflow.com/questions/310720/get-source-jar-files-attached-to-eclipse-for-maven-managed-dependencies ** Martin > > On Mon, Mar 2, 2020 at 11:35 AM Martin Terra < > martin.te...@koodaripalvelut.com> wrote: > > > I would recommend to plug in the libraries with ma

Re: Where to download Javadoc for Wicket 8.x?

2020-03-01 Thread Martin Terra
I would recommend to plug in the libraries with maven together with the source option, this way you have both the wicket source code and the javadoc. ** Martin ma 2. maalisk. 2020 klo 2.01 SB (progscriptcl...@gmail.com) kirjoitti: > I usually work offline, and I need to refer to the Javadocs.

Re: Converters for Date/Time

2020-01-13 Thread Martin Terra
How about feedback messages etc.? ** Martin ma 13. tammik. 2020 klo 18.46 Sven Meier (s...@meiers.net) kirjoitti: > Hi, > > adapting to the client timezone can be done in the component, a > converter or a model. e.g. > > >

Re: Retrieve user's page on the site

2019-12-29 Thread Martin Terra
In our experience these can be a mixed bag of expired requests, expired links, incorrect back button presses (and links from stale pages), session timeouts, etc. We haven't been able to trace them either, if a solution exists, I wish it was part of wicket core. Using more human readable urls

Re: Application not seri

2019-12-20 Thread Martin Terra
Follow the stacktrace, looks like there is a reference to ava.lang.Object org.apache.wicket.Component.data [class=[Ljava.lang.Object;] maybe anonymous class? If you need an Object, you need to make a SerializableObject extends Object implements Serializabe ... Just study the stacktrace, it will

Re: Programmatic creation of messages with nested components

2019-07-24 Thread Martin Terra
Hi! Can you show an example of solution now vs. solution after change, what are the benefits of such visibility change to your case? Maybe there is another way to accomplish your goal? ** Martin ke 24. heinäk. 2019 klo 22.25 Thomas Heigl (tho...@umschalt.com) kirjoitti: > Hi all, > > I'd like

Re: US: Wicket Dev hourly consulting fee

2018-11-07 Thread Martin Terra
$15 per hour ke 7. marrask. 2018 klo 22.46 Paul Bors (p...@bors.ws) kirjoitti: > Hey Wicketers, > > For those of you located in US, what's the fair market hourly consulting > fee you charge in

Re: Question about IChoiceRenderer

2018-10-30 Thread Martin Terra
. lokak. 2018 klo 20.54 Claudia Hirt (hirt-clau...@gmx.de) kirjoitti: > Thanks for the tip Martin Terra! > > And thank you for the example code Martin Grigorov! Good to know I'm on > the right track. > > I still have one proplem left, I know it really is a minor thing. I >

Re: Question about IChoiceRenderer

2018-10-30 Thread Martin Terra
Also, if you need optrgoups and styling while needing to keep it simple, you can implement IStyledChoiceRenderer and extend DropDownChoice with some subtle changes. ** Martin ti 30. lokak. 2018 klo 17.04

Re: HTML & CSS implementation

2018-10-07 Thread Martin Terra
Hi! Did you look at wicket examples? https://wicket.apache.org/learn/examples/index.html http://examples8x.wicket.apache.org/index.html Should get you going quite fast. ** Martin su 7. lokak. 2018 klo 9.38 athag...@csd.auth.gr kirjoitti: > > Hello there community! > So I have decided to use

Re: How to add Jetty server classes to Eclipse project?

2018-10-04 Thread Martin Terra
Typically something like org.eclipse.jetty jetty-webapp ${jetty.version} ** Martin to 4. lokak. 2018 klo 9.49 Rolf Schumacher (r...@august.de) kirjoitti: > I was trying to start learning about Apache Wicket (as it looked like an > easy to use UI for Java) and because I like to work with