Re: BootstrapMultiSelect shows empty list without any options.

2022-06-23 Thread Martin Grigorov
Hi, Here are some possible reasons: 1) getMultiSelectItems() returns empty list 2) you may need to disable CSP in your application ( https://nightlies.apache.org/wicket/guide/9.x/single.html#_content_security_policy_csp ) 3) disable COOP and/or COEP (

Re: Reg : Multiple versions of jQuery's are loaded on same page causing conflict

2022-05-31 Thread Martin Grigorov
On Tue, May 31, 2022 at 1:03 PM sundar saba wrote: > Hi all, > > Based on your solution my actual problem is solved. May I know from > where another version of jQuery v2.2.4 is loaded? And I know that jQuery > v3.6.0 is loaded from the "JavaScriptLibrarySettings" class by default. > I'd bet

Re: One button in a form shall show result in new tab

2022-05-31 Thread Martin Grigorov
Hi, On Tue, May 31, 2022 at 6:50 AM Joachim Schrod wrote: > > Hi, > > I'm tasked with upgrading an application from Wicket 7 to Wicket 9. > > There is one class with a heavy code smell: it relies on a Wicket > internal realization. (Which promptly doesn't work any more in Wicket > 9...) This

Re: Reg : Multiple versions of jQuery's are loaded on same page causing conflict

2022-05-25 Thread Martin Grigorov
Hi, You could use 1) IHeaderResponseDecorator to filter out the JavaScriptResourceReference for 2.x completely - check https://nightlies.apache.org/wicket/guide/9.x/single.html#_put_javascript_inside_page_body 2) resource replacement (to replace 2.x with 3.x on the fly) - check

Re: Ajax Error

2022-05-23 Thread Martin Grigorov
Hi, On Mon, May 23, 2022 at 2:03 PM vahid ghasemi wrote: > 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 > You must be doing something like:

Re: NullPointerException in ModificationWatcher

2022-04-11 Thread Martin Grigorov
Hi, On Sat, Apr 9, 2022 at 3:14 PM Ryo Tsunoda wrote: > Hi. > > Sometimes this exception occurs after I edit the CSS. > Developed with Eclipse (Checked Build Automatically) + Tomcat. > > > 2022-04-09 19:28:48.252 | ERROR | [ModificationWatcher Task] | > org.apache.wicket.util.thread.Task |

Re: spring-bean RCE (indirect vulnerability of Servlet/jsp request get/post)

2022-04-05 Thread Martin Grigorov
Greets > Daniel > > > Am 01.04.2022 um 20:17 schrieb Martin Grigorov: > > Hi, > > > > I don't think a normal Wicket application is vulnerable to this attack. > > But I recommend you to update Spring in your applications anyway. > > > > On Fri, Apr

Re: spring-bean RCE (indirect vulnerability of Servlet/jsp request get/post)

2022-04-01 Thread Martin Grigorov
Hi, I don't think a normal Wicket application is vulnerable to this attack. But I recommend you to update Spring in your applications anyway. On Fri, Apr 1, 2022, 10:21 kyrindorx wrote: > Hello everyone, > > The internet developer community found a bug in > spring-beans/spring-webmvc on

Re: Get session details when it expires

2022-03-15 Thread Martin Grigorov
Hi, Please see Session#onInvalidate() javadoc. https://github.com/apache/wicket/blob/d902cdbdd853cb490db1507d79c587acede01ae3/wicket-core/src/main/java/org/apache/wicket/Session.java#L1016 On Tue, Mar 15, 2022 at 11:56 AM Arunachalam Sibisakkaravarthi < arunacha...@mcruncher.com> wrote: > Hi

Re: java.lang.ClassNotFoundException: javax.servlet.Filter on new quickstart

2022-02-26 Thread Martin Grigorov
On Sat, Feb 26, 2022 at 9:23 PM Timo Schmidt wrote: > Hi Lucio, > > On Sa 26.02.2022 12:22, Lucio Crusca wrote: > > > > I'm back to Wicket after a few years of other fun. Last > > time I used Wicket was version 6 and now I've tried a new > > quickstart project with Wicket 9.x but something went

Re: java.lang.ClassNotFoundException: javax.servlet.Filter on new quickstart

2022-02-26 Thread Martin Grigorov
Hi, How do you deploy the application? Please list the steps you do to build, deploy and (try to) use your application. On Sat, Feb 26, 2022, 13:23 Lucio Crusca wrote: > Hello everyone, > > I'm back to Wicket after a few years of other fun. Last time I used Wicket > was version 6 and now I've

Re: module error

2022-02-20 Thread Martin Grigorov
denied to jonathanlocke. > unable to access 'https://github.com/apache/wicket.git/': The requested > URL returned error: 403 > > Can someone give me push access? > > Jon > > > From: Martin Grigorov > Sent: Sunday, February 20, 2022 5:

Re: module error

2022-02-20 Thread Martin Grigorov
gt; > in wicket-core. I created a pull request, but got > > > an > > > > > error trying to push it in IntelliJ: > > > > > > > > > > Can't create a new pull request: Push failed: remote: Permission to > > > > > apache/wicket

Re: module error

2022-02-18 Thread Martin Grigorov
Hm. Looking at https://github.com/qos-ch/logback/commit/5186d2604b460f I think we need the 'uses' only in the module where we call ServiceLoader.load(), i.e. in wicket-core. On Fri, Feb 18, 2022 at 11:53 AM Martin Grigorov wrote: > Hi Jon, > > According to > https://www.oracle.c

Re: module error

2022-02-18 Thread Martin Grigorov
Hi Jon, According to https://www.oracle.com/corporate/features/understanding-java-9-modules.html *provides…with.* A provides…with module directive specifies that a module provides a service implementation—making the module a *service provider*. The provides part of the directive specifies an

Re: servlet api "BigBang"

2022-02-02 Thread Martin Grigorov
aging and logging > is in the module kivakit-kernel (although there are some additional > loggers like EmailLogger in kivakit-extensions). Let me know if people are > interested in trying this out on a branch and I'd be happy to help out. > > Best, > > Jon > > _

Re: servlet api "BigBang"

2022-02-02 Thread Martin Grigorov
Hi, On Wed, Feb 2, 2022 at 4:59 PM Tobias Haupt wrote: > We are using wicket for several projects and are piece by piece > migrating to wicket 9. > In all of these projects we use logback as logging adapter. Since > version 9.x wicket requires version 2.0.0.alpha[x] of slfj. > Logback provides

Re: Indicator on IndicatingAjaxButton and IndicatingAjaxLink not working

2022-01-24 Thread Martin Grigorov
tings settings = new BootstrapSettings(); > >>> >> Bootstrap.install(this, settings); > >>> >> > >>> >> 3. added necessary html elements > >>> >> [HomePage.html] > >>> >> > >>> >> Test Indicating Ajax Button

Re: OAuth authentication

2022-01-18 Thread Martin Grigorov
Hi, You could use any OAuth library you like. The idea is: - when an unauthenticated user requests a secured page Wicket should redirect to the login page - that logic page is not managed by Wicket but by your preferred OAuth library - in the callback from the OAuth library you should save the

Re: Indicator on IndicatingAjaxButton and IndicatingAjaxLink not working

2022-01-16 Thread Martin Grigorov
Hi, Please check https://examples9x.wicket.apache.org/ajax/links. The third link demostrates usage of IndicatingAjaxLink. When clicked it adds style="display:inline" and removes "hidden". Its source code could be found at

Re: Convert to science Number

2022-01-11 Thread Martin Grigorov
12:03 PM Martin Terra < > martin.te...@koodaripalvelut.com> wrote: > > > Also, are you using a BigDecimal or arbitrary floating point numbers > > <https://docs.oracle.com/cd/E19957-01/806-3568/ncg_goldberg.html>? Big > > decimals should have a built in converter.

Re: [DISCUSSION] drop wicketstuff-jwicket-ui*

2022-01-11 Thread Martin Grigorov
+1 to drop them ! On Wed, Jan 12, 2022 at 8:19 AM Maxim Solodovnik wrote: > Hello All, > > I've just noticed: > > wicketstuff-jwicket-ui-datepicker > Contains `jQuery UI Datepicker 1.10.3` ( more than 160 js/css files) > wicketstuff-jwicket-ui-tooltip > Contains `jQuery UI Tooltip

Re: Convert to science Number

2022-01-11 Thread Martin Grigorov
Please give more details On Tue, Jan 11, 2022 at 9:10 AM vahid ghasemi wrote: > Hello, > In wicket, the number above from 10E7 will convert to science number in > input. > How can I prevent that? >

Re: version of java

2022-01-04 Thread Martin Grigorov
On Wed, Jan 5, 2022 at 9:26 AM vahid ghasemi wrote: > We are using wicket 8 > Is it a bad idea to get java 17 with wicket 8? > I am not sure! I haven't tried! Try it and if there are problems then upgrade to Wicket 9.7.0! > > On Wed, Jan 5, 2022 at 9:23 AM Martin Grigorov &g

Re: version of java

2022-01-04 Thread Martin Grigorov
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 wrote: > Hello. > What version of wicket can support the latest LTS version of java(17)? >

Re: Spring Boot Circular reference error

2021-12-12 Thread Martin Grigorov
Hi, I think there is no release of Wicket-Spring-Boot-Starter for Spring Boot 2.6. Maybe you have both 2.5.x and 2.6.1 on the classpath. Check with "mvn dependency:tree" On Sun, Dec 12, 2021, 09:03 Pranav Kacholia wrote: > Hi, > > I started the same app with spring boot version 2.5.7 and it

Re: wicket clickable image with tooltips map

2021-11-04 Thread Martin Grigorov
Hi, I am not sure how useful it could be for your use case but Wicket also provides org/apache/wicket/markup/html/link/ClientSideImageMap.java

Re: ContextRelativeResourceReference CSS rendering problem

2021-10-21 Thread Martin Grigorov
Hi, On Thu, Oct 21, 2021 at 1:15 AM Greg Dunn wrote: > I'm using the following code under Wicket 9 to load a CSS file > > > > private static final ContextRelativeResourceReference CSS_FILE = > > new ContextRelativeResourceReference("style/cssFile.css", > false); > > > >

Re: About jQuery 2.2.4 vulnerability

2021-10-20 Thread Martin Grigorov
On Wed, Oct 20, 2021 at 1:34 PM Martin Grigorov wrote: > > > On Wed, Oct 20, 2021 at 1:30 PM Martin Grigorov > wrote: > >> >> >> On Wed, Oct 20, 2021 at 1:21 PM Shengche Hsiao >> wrote: >> >>> Dear Martin >>> >>> After I

Re: About jQuery 2.2.4 vulnerability

2021-10-20 Thread Martin Grigorov
On Wed, Oct 20, 2021 at 1:30 PM Martin Grigorov wrote: > > > On Wed, Oct 20, 2021 at 1:21 PM Shengche Hsiao > wrote: > >> Dear Martin >> >> After I applied the code, the website showed exceptions below >> >> >> ERROR [org.apache.wicket.Defaul

Re: About jQuery 2.2.4 vulnerability

2021-10-20 Thread Martin Grigorov
be printed only if DEBUG is enabled. Also the response code should be 404! I will create a ticket! You could use another solutuion - use a custom Servlet Filter that is declared before WicketFilter. If the tequest is to jquery-2*.js then return 404 and do not pass the request & respo

Re: About jQuery 2.2.4 vulnerability

2021-10-20 Thread Martin Grigorov
erence/jquery/jquery-2.2.4-v-6233386130326534.js] > appears. I know this resource is generated automatically by Wicket 8.13.0 > (our project), and I don’t want this url resource be retrieved by scanner. > How to do that? > > > From: Martin Grigorov > Date: Wednesday, October 20, 2021

Re: About jQuery 2.2.4 vulnerability

2021-10-20 Thread Martin Grigorov
Hi, On Wed, Oct 20, 2021 at 5:46 AM Shengche Hsiao wrote: > Dear All > > Recently, our website made a vulnerability scanning. The report shows > [/wicket/resource/org.apache.wicket.resource.JQueryResourceReference/jquery/jquery-2.2.4-v- > 6233386130326534.js] as a vulnerability library. How do

Re: Wicket 8 + 9 on jdk17?

2021-10-07 Thread Martin Grigorov
On Thu, Oct 7, 2021 at 9:57 AM Jeroen Steenbeeke wrote: > My personal Wicket apps (Wicket 9) are all running on JDK17 now. No > problems so far, other than certain libraries not being able to handle code > compiled with JDK17, but this was easily fixed by upgrading those > libraries. > > What

Re: Wicket 9: AjaxSubmitLink.onSubmit is not called second time

2021-10-05 Thread Martin Grigorov
Hi, On Tue, Oct 5, 2021, 17:37 Stepan Samarin wrote: > Hello, > > After migration to Wicket 9 we started to experience the following problem: > > Form has 3 AjaxSubmitLink elements. First one is pressed, onSubmit is > invoked, makes another one visible, target.add is called on both form and >

Re: add Dropdown object to List

2021-09-28 Thread Martin Grigorov
On Tue, Sep 28, 2021 at 10:57 AM vahid ghasemi wrote: > Can I limit the users' choice number in ListMultipleChoice? > You could use a validator for this formComponent.add(new IValidator() {...}); > > On Mon, Sep 27, 2021 at 9:41 AM Martin Grigorov > wrote: > > > Hi

Re: tag into tag

2021-09-27 Thread Martin Grigorov
Hi, On Sat, Sep 25, 2021 at 3:45 PM vahid ghasemi wrote: > Hello > I have a tag and tag inside of it: > > wicket:id="panelName"> > Dashboard > > > > > wicket:id="panelDes">#XRS-45670 > > > my h1 has a Label component. > > how I can add Lable into Label? >

Re: add Dropdown object to List

2021-09-27 Thread Martin Grigorov
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 singleton list :( > You need to use ListMultipleChoice instead of DropDownChoice. > On Sun, Sep 26, 2021, 6:17 PM Martin Terra < > martin.te...@koodaripalvelut.com>

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

2021-09-22 Thread Martin Grigorov
ConnectionHandler.process(AbstractProtocol.java:860) > at > org.apache.tomcat.util.net > .NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1598) > at > org.apache.tomcat.util.net > .SocketProcessorBase.run(SocketProcessorBase.java:49) > at > > java.util.concurrent.ThreadP

Re: Session instance in memory goes null

2021-09-21 Thread Martin Grigorov
t; > getCustomSession().replaceSession(); //tried using changeSessionId, but > it doesn't help > > > > > > > > > > *Thanks And RegardsSibi.ArunachalammCruncher* > > > > > > On Tue, Sep 21, 2021 at 2:10 PM Martin Grigorov > > wrote: &g

Re: Allow multiple "logins" in same application

2021-09-21 Thread Martin Grigorov
Hi, On Tue, Sep 21, 2021 at 10:35 AM Thomas Matthijs wrote: > Hello, > > Wonder if anyone has tried (and succeed?) in allowing users to sign in > with multiple accounts, thinking of the way gmail for example handles > it, when each account you login with get a unique url foobar.com/1/ > and

Re: Session instance in memory goes null

2021-09-21 Thread Martin Grigorov
Hi, On Tue, Sep 21, 2021 at 6:57 AM Arunachalam Sibisakkaravarthi < arunacha...@mcruncher.com> wrote: > Hi guys, > User Session goes null and other user 's session is updated wrongly. > > I keep track of session instances in a map with username as key > Where do you keep this map ? I guess in

Re: Wicket 9 CSP CssResourceHeader CSS location problem

2021-09-20 Thread Martin Grigorov
Hi, On Mon, Sep 20, 2021 at 11:26 AM Peter van der Post < peter.van.der.p...@gmail.com> wrote: > I’m in the process of upgrading an application to Wicket 9 in order to get > strict CSP compliance. > > I’m using > > response.render(CssHeaderItem.forReference(new >

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

2021-09-20 Thread Martin Grigorov
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: > > java.lang.IllegalStateException: Cannot create a session after the response > has been committed > The error says that the response has

Re: Wicket EnclosureContainer - any changes to behaviour from 6.x -> 7.x?

2021-09-13 Thread Martin Grigorov
On Mon, Sep 13, 2021 at 10:19 AM Martin Grigorov wrote: > > > On Mon, Sep 13, 2021 at 9:44 AM Martin Grigorov > wrote: > >> >> >> On Mon, Sep 13, 2021 at 9:27 AM Chris Colman >> wrote: >> >>> >>> > You shouldn't use if you us

Re: Wicket EnclosureContainer - any changes to behaviour from 6.x -> 7.x?

2021-09-13 Thread Martin Grigorov
On Mon, Sep 13, 2021 at 9:44 AM Martin Grigorov wrote: > > > On Mon, Sep 13, 2021 at 9:27 AM Chris Colman > wrote: > >> >> > You shouldn't use if you use EnclosureContainer. >> > Use a instead. >> >> It's weird how it's worked perfect

Re: Wicket EnclosureContainer - any changes to behaviour from 6.x -> 7.x?

2021-09-13 Thread Martin Grigorov
On Mon, Sep 13, 2021 at 9:27 AM Chris Colman wrote: > > > You shouldn't use if you use EnclosureContainer. > > Use a instead. > > It's weird how it's worked perfectly for many years for us in Wicket 6.x. > > Maybe an extra note could be added to the 6.x -> 7.x migration guide in > case others

Re: Wicket EnclosureContainer - any changes to behaviour from 6.x -> 7.x?

2021-09-11 Thread Martin Grigorov
On Sun, Sep 12, 2021, 08:03 Chris Colman wrote: > We're in the middle of migrating a large enterprise content management > system (>1000 UI classes) from 6.x to 7.x. > > We've finally got it compiling with Wicket 7.x but we're having an issue > with an EnclosureContainer that worked fine in

Re: Adding css resource available to all component in the application using wicket 9.x

2021-09-08 Thread Martin Grigorov
ed. > > *Thanks And Regards* > > *Sibi.ArunachalammCruncher* > > > On Wed, Sep 8, 2021 at 5:14 PM Martin Grigorov > wrote: > > > On Wed, Sep 8, 2021 at 12:04 PM Arunachalam Sibisakkaravarthi < > > arunacha...@mcruncher.com> wrote: > > > > > T

Re: Adding css resource available to all component in the application using wicket 9.x

2021-09-08 Thread Martin Grigorov
aded in the header. Is > that expected behaviour in Wicket 9.x? because in my previous > implementation in Wicket 7.x JS loaded in the footer which is expected. > How do I make the JS to be loaded in the footer to improve page loading > performance? > @Martin Grig

Re: Adding css resource available to all component in the application using wicket 9.x

2021-09-08 Thread Martin Grigorov
Hi, Instead of dealing with response decorators you could use org.apache.wicket.markup.html.IHeaderContributor getHeaderContributorListeners().add( return response -> { response.render(CssHeaderItem.forReference(css1)); response.render(CssHeaderItem.forReference(css2)); })

Re: Page is being lost from Session intermittently

2021-09-02 Thread Martin Grigorov
Where is the Wicket code is this logic done managing the page in the > session? > https://github.com/apache/wicket/blob/d1b17b53b3141082c038f4721836488cb38f9083/wicket-core/src/main/java/org/apache/wicket/core/request/handler/PageProvider.java#L401 > > Many thanks > > > >

Re: Page is being lost from Session intermittently

2021-09-02 Thread Martin Grigorov
Hi, On Wed, Sep 1, 2021 at 7:31 PM Wayne W wrote: > Hello there, > > We recently upgraded from Wicket 7.8.0 to 9.4.0 . We are experiencing > intermittent pages that are being lost from the session. > > I can reproduce in production but it takes time and is random. We have a > page where some

Re: examples9x certificate is expired

2021-08-24 Thread Martin Grigorov
Fixed it! Thanks, François! On Tue, Aug 24, 2021 at 12:23 PM Francois Meillet < francois.meil...@gmail.com> wrote: > Hi, certificate of http://examples9x.wicket.apache.org is expired > > François > > > > > - > To unsubscribe,

Re: RedirectRequestHandler and HttpHeader?

2021-08-23 Thread Martin Grigorov
k it should be possible to do anything you need than to have an API for every possible use case out there! But let's assume we add such "Headers..." parameter. Should we also add logic to protect the users from doing strange things like adding caching response headers to a PERM

Re: RedirectRequestHandler and HttpHeader?

2021-08-23 Thread Martin Grigorov
Hi Korbinian, I am not sure this is possible. You could set response headers for normal responses, but not for redirects' targets. On Mon, Aug 23, 2021 at 1:41 AM Locke, Jonathan (Luo Shibo) < jonath...@telenav.com> wrote: > It's been a while, but can't you get the WebResponse from

Re: Cookiebot support

2021-08-09 Thread Martin Grigorov
Hi, One more thing. On Fri, Aug 6, 2021 at 3:53 PM Stepan Samarin wrote: > Hello, > > I'm trying to integrate Cookiebot and am facing the following problem: >

Re: login captcha issue

2021-08-01 Thread Martin Grigorov
Have you tried calling `captchaImageResource.invalidate();` in your onSubmit() method ? On Sun, Aug 1, 2021 at 4:24 PM vahid ghasemi wrote: > I used this method but after that my captcha image is not rendered and cant > see that. > > On Sun, Aug 1, 2021 at 11:11 AM Maxim Solodovnik > wrote: >

Re: Bug with backbutton in Chrome / Edge

2021-07-05 Thread Martin Grigorov
Thanks for sharing with us, Johannes! Let's see what the Chromium developers will say about it! I'd recommend you to simplify the demo application to pure static HTML, without Wicket or any other server side technology. On Fri, Jul 2, 2021 at 10:04 AM Johannes Renoth wrote: > Hello all, > >

Re: Reg : Wicket cache controls

2021-06-14 Thread Martin Grigorov
Hi, On Mon, Jun 14, 2021 at 1:24 PM sundar saba wrote: > Hi all, > > I am using wicket and spring security in my project. I > enabled HTTP headers in spring security .My spring security Cache controls > are overridden by wicket cache controls. Can you all please help me to >

Re: Ajax events invoked twice

2021-06-14 Thread Martin Grigorov
Thanks for sharing this finding, Ilya! On Mon, Jun 14, 2021 at 7:55 AM Ilya Naryzhnyy wrote: > Hello, > > Here is demo project: > https://github.com/PhantomYdn/wicket-bugs/tree/master/doublefire > After some investigation: it seems to be JQuery bug: >

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 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: CVE-2021-23937: Apache Wicket: DNS proxy and possible amplification attack

2021-05-26 Thread Martin Grigorov
On Wed, May 26, 2021, 18:37 Mihir Chhaya wrote: > Thank you for the reply. > > We have something like below in our code. Will this be enough or still we > need to replace the jar file? > The CVE is about usage of Wicket APIs. Anything you do in your app code is your responsibility to make sure

Re: CVE-2021-23937: Apache Wicket: DNS proxy and possible amplification attack

2021-05-26 Thread Martin Grigorov
Hi, Please use users@ or dev@. There is nothing to announce@ On Wed, May 26, 2021 at 5:36 PM Mihir Chhaya wrote: > Thank you for sharing this information. > > Questions: > 1. Will there be any upgrades from Wicket-CDI, Wicket-bootstrap etc. > libraries related to this Vulnerability? >

Re: Embedding Wicket Components

2021-05-25 Thread Martin Grigorov
Hi, On Mon, May 24, 2021 at 3:51 AM Ilya Naryzhnyy wrote: > Hello, > > I'm thinking about creating JavaScript library for more seamless embedding > Wicket components and pages into external HTML pages. Use case: there is > Wordpress site and it's needed to embed few components into

Re: FileNotFoundException

2021-05-18 Thread Martin Grigorov
-4503 > > > On May 18, 2021, at 9:38 AM, Martin Grigorov > wrote: > > > > Hi, > > > > See inline! > > > >> On Tue, May 18, 2021 at 4:02 PM Eric Hamel > wrote: > >> > >> Good morning, > >> > >> For

Re: FileNotFoundException

2021-05-18 Thread Martin Grigorov
Hi, See inline! On Tue, May 18, 2021 at 4:02 PM Eric Hamel wrote: > Good morning, > > For the last month I’ve been struggling to find the root cause of the > following exception. It is polluting our logs and I’m just not > understanding what’s happening here. > > We’re on Wicket 6.24.0 > > Any

Re: Disable first level cache - session

2021-04-15 Thread Martin Grigorov
s method here - https://github.com/apache/wicket/blob/53a68caf0b16b6faca07132a7939dedc6184de2f/wicket-core/src/main/java/org/apache/wicket/page/PageStoreManager.java#L498-L502 Beware that this part of Wicket has been reworked in Wicket 9.x and once you make these changes in 8.x you will need to redo them o

Re: Disable first level cache - session

2021-04-15 Thread Martin Grigorov
Hi, You need to create a custom IPageManagerProvider. To make it simpler you can extend from https://github.com/apache/wicket/blob/wicket-8.x/wicket-core/src/main/java/org/apache/wicket/DefaultPageManagerProvider.java and override its #newPageStore(IDataStore) and return an IPageStore that does

Re: Problem with MetaData when detaching Component

2021-04-12 Thread Martin Grigorov
Hi, On Mon, Apr 12, 2021 at 12:13 PM Daniel Radünz wrote: > Hello, > > I am facing a problem with our Wicket 8.10.0 application and I wonder if > it's a > bug or if I am using the MetaData feature in an unsupported or wrong way. > > I have a Behavior, which adds a MetaData entry to a component

Re: Can the new ModalDialog be stacked?

2021-04-08 Thread Martin Grigorov
Hi, On Fri, Apr 9, 2021 at 6:39 AM Chris Colman wrote: > I have just noticed in Wicket 9 that ModalWindow has been deprecated and > replaced by ModalDialog (which sounds pretty good) > > It is possible to stack ModalDialogS like we could stack ModalWindowS? > > e.g. In a page a user opens a

Re: Wicket 8.x Migration Issues with AjaxFallBackLink

2021-03-23 Thread Martin Grigorov
Hi, On Tue, Mar 23, 2021 at 7:43 AM Satyavathi Iynaparthi wrote: > Classification: Confidential > I am not sure whether I am allowed to read further. > > Hi Team, > > We are in process of migration our Web application from Wicket 6.30 to > Wicket 8.11.0. > As a first step, placed below jars

Re: Add input in javascript and process value in form?

2021-03-12 Thread Martin Grigorov
Hi, On Fri, Mar 12, 2021, 15:13 Per Newgro wrote: > Hi, > > i would like to add some input fields to an ul/li using JS. > > > > function add_fields() { > var d = document.getElementById("items"); > var i = d.childElementCount; > d.innerHTML += "

  • Re: Any CSP migration tips??

    2021-02-16 Thread Martin Grigorov
    Hi, In your case I'd disable CSP and migrate the app to 9.2.0. Once all runs as before I will start experimenting enabling CSP little by little, e.g. allow inline scripts and styles for resources served by your application, i.e. same domain. Any third party scripts/styles should be CSP

    Re: Provide a additional static content with https://github.com/MarcGiffing/wicket-spring-boot

    2021-01-13 Thread Martin Grigorov
    ic-resources. A mini spring > boot app with wicket-spring-boot does not provide it. I got a error > message with not found of ... > > Some ideas or experience about it? > > > Am 13.01.2021 um 14:52 schrieb Martin Grigorov: > > Hi, There is nothing Wicket specific in this.

    Re: Provide a additional static content with https://github.com/MarcGiffing/wicket-spring-boot

    2021-01-13 Thread Martin Grigorov
    Hi, There is nothing Wicket specific in this. Just use Spring Boot/MVC facilities: https://www.baeldung.com/spring-mvc-static-resources On Wed, Jan 13, 2021 at 3:08 PM Daniel Weiss wrote: > > Hi all, > > I use https://github.com/MarcGiffing/wicket-spring-boot with Wicket 8.x > and with a

    Re: Stateless ModalDialog

    2021-01-11 Thread Martin Grigorov
    Hi, Sven Meier already explained you the problem at https://stackoverflow.com/questions/65632010/stateless-modaldialog-in-wicket/65664328 I've added sample code how to achieve it. On Sun, Jan 10, 2021 at 7:20 PM Prag Progger wrote: > Hi, > > Is it possible to create a stateless ModalDialog? >

    Re: Issue overriding JSession cookie name - Wicket assumes overwritten name contains no uppercase characters

    2020-12-09 Thread Martin Grigorov
    https://issues.apache.org/jira/browse/WICKET-6858 On Tue, Dec 8, 2020 at 11:19 AM Sven Meier wrote: > Hi Chris, > > that #toLowerCase() has been introduced with WICKET-4816. > > The commit does not mention anything about the requirement for a lower > case comparison, and the test does not

    Re: Apache Wicket - Enforcing POST on Ajax calls

    2020-10-19 Thread Martin Grigorov
    , Maxim Solodovnik wrote: > > +1 > > > > On Mon, 19 Oct 2020 at 17:28, Martin Grigorov > wrote: > > > >> Hi Eric, > >> > >> You can implement it yourself: > >> > >> In #onUpdate(AjaxRequestTarget) start with: > >> > &g

    Re: Apache Wicket - Enforcing POST on Ajax calls

    2020-10-19 Thread Martin Grigorov
    ubmit is never called. > > > > Is there an alternative to the onMethodMismatch ? > > > > — > > Eric Hamel > > Senior Project Manager > > Albany Information Technology Group > > C. 518-698-4503 > > > >> On Oct 16, 2020, at 4:32 PM,

    Re: Apache Wicket - Enforcing POST on Ajax calls

    2020-10-16 Thread Martin Grigorov
    On Fri, Oct 16, 2020, 23:27 Eric Hamel wrote: > I apologize in advance for my vague question. Our Wicket 8 based > application was submitted to pen testing from our EISO. While I understand > the finding, I'm not 100% sure I understand the problem nor do I know how > to address it. > > In one of

    Re: [ANNOUNCE] WicketStuff 9.1.0 Released

    2020-10-12 Thread Martin Grigorov
    Ernesto, Maxim, Please do not use announce@ for such discussions! You can just create an issue at https://github.com/sebfz1/wicket-jquery-ui/issues/new On Mon, Oct 12, 2020 at 1:47 PM Maxim Solodovnik wrote: > Are you using `9.x` branch? > > On Mon, 12 Oct 2020 at 17:26, Ernesto Reinaldo

    Re: Does wicket 9 support reactive programming?

    2020-09-18 Thread Martin Grigorov
    Hi, A hint: Wicket won't flush the response if the request is in async mode: https://github.com/apache/wicket/blob/286240202cc3cc673cc2f973b6e46da66e7097fc/wicket-core/src/main/java/org/apache/wicket/protocol/http/servlet/ServletWebResponse.java#L313

    Re: Display custom page automatically on session expiry without any action

    2020-09-10 Thread Martin Grigorov
    Hi, On Fri, Sep 11, 2020 at 4:55 AM Arunachalam Sibisakkaravarthi < arunacha...@mcruncher.com> wrote: > Hi guys, > When session expires, user is redirected to a page set by > getApplicationSettings().setPageExpiredErrorPage(SomePage.class) on his > Note: *page* expiration is not *session*

    Re: Urgent help

    2020-08-28 Thread Martin Grigorov
    On Fri, Aug 28, 2020 at 9:02 AM Dan Haywood wrote: > I doubt that Martin (Grigorov) will be able to help much based on this > description, Mukesh... there's not enough info here. > > I would recommend you put together a small quickstart sample application on > github s

    Re: Migration from 7 to 8.9.0 : Missing Ajax target in listener

    2020-08-24 Thread Martin Grigorov
    On Fri, Aug 21, 2020 at 1:31 PM Frédéric Donckels < frederic.donck...@gmail.com> wrote: > I am indeed using Ajax fallback links. What could make the event handlers > not properly registered/firing? > Check for JavaScript errors in your browser DevTools > Console. Most probably the JavaScript

    Re: Issues with refreshing panel with form

    2020-08-04 Thread Martin Grigorov
    ubmitOnNestedFormSubmit() returns false. > Therefore I conclude, that after POST request, other references among > components are broken. > What do you mean with this ? > > The question might be: How to "refresh" or keep these references after > nested form is submitted? > &

    Re: Issues with refreshing panel with form

    2020-08-04 Thread Martin Grigorov
    Hi, On Mon, Aug 3, 2020 at 2:53 PM Zimen, Michal wrote: > Hi Wicket Users, > > >I've just started to learn the Wicket by fixing some issues in our > legacy backlog repository. > > Therefore, I need some clarification to manage my blockpoints. Having > spent enough time to fix it by myself,

    Re: Page with AjaxSelfUpdatingTimerBehavior in multiple browser tabs

    2020-07-28 Thread Martin Grigorov
    Hi, On Tue, Jul 28, 2020 at 11:09 AM Zbynek Vavros wrote: > Hi, > > We have a page with AjaxSelfUpdatingTimerBehavior and now one of our > customers is complaining about "weird" behavior when this page is opened in > multiple browser tabs (yeah yeah we told him not to do it...). > > What

    Re: Lambda expressions on StringResourceModel does not work

    2020-07-14 Thread Martin Grigorov
    Hi again, On Tue, Jul 14, 2020 at 10:46 AM Martin Grigorov wrote: > Hi, > > On Tue, Jul 14, 2020 at 10:10 AM Alberto wrote: > >> >> Hello, >> >> I have a StringResourceModel in a parent abstract class of all pages. >> >> IModel titleModel = new

    Re: Change pageId Parameter structure

    2020-07-14 Thread Martin Grigorov
    On Tue, Jul 14, 2020 at 3:54 PM Ravi Knox wrote: > Hi Martin, > > > > that was a good starting point, thank you. > > I had to overwrite basically all Mappers within the SystemMapper and mounts > (since they create mappers themselves). > > > > The following Methods I had to overwrite: > > -

    Re: Lambda expressions on StringResourceModel does not work

    2020-07-14 Thread Martin Grigorov
    Hi, On Tue, Jul 14, 2020 at 10:10 AM Alberto wrote: > > Hello, > > I have a StringResourceModel in a parent abstract class of all pages. > > IModel titleModel = new StringResourceModel("contentTitle", > getModel()); > > where "contentTitle" is a property specified for every child page in >

    Re: Change pageId Parameter structure

    2020-07-13 Thread Martin Grigorov
    Hi Ravi, The logic you look for is at https://github.com/apache/wicket/blob/267fb06eec31e8e530fb5f0a4f691a0782e3d5b8/wicket-core/src/main/java/org/apache/wicket/core/request/mapper/AbstractComponentMapper.java#L79 It is called by:

    Re: Preventing the ModalWindow from being rendered as iframe

    2020-07-07 Thread Martin Grigorov
    Hi, On Tue, Jul 7, 2020 at 1:26 PM Lukas Fülling wrote: > Hi, > > I'm currently trying to get Javascript callbacks from/to a Wicket > ModalWindow to work. > Currently, the WebPage the ModalWindow consis of is being redered as an > iframe. > > The Wicket documentation states the following: > > >

    Re: Page locked for a long time

    2020-07-06 Thread Martin Grigorov
    On Sun, Jul 5, 2020 at 9:16 PM Sven Meier wrote: > Hi Maxim, > > you'll have to upload these files to a resource separately. > > I'm not aware of a reusable solution for that. > Here is a blog article on this topic: http://wicketinaction.com/2012/11/uploading-files-to-wicket-iresource/ and its

    Re: Focusout event fires twice

    2020-06-13 Thread Martin Grigorov
    Hi Claudia, I'd suggest you to use your browser's Dev Tools and put a breakpoint on 'focusout' event and see how many times it fires and what is the reason/initiator. On Fri, Jun 12, 2020 at 11:56 AM Claudia Beck wrote: > Hi all, > > i came across the issue when binding a focusout event to a

    Re: Locatable UnsupportedOperationException

    2020-06-01 Thread Martin Grigorov
    https://issues.apache.org/jira/browse/WICKET-6796 On Mon, Jun 1, 2020 at 4:08 PM Sven Meier wrote: > +1 that should have no negative impact > > Sven > > On 01.06.20 11:22, Martin Grigorov wrote: > > Hi, > > > > I like the idea to ca

    Re: Locatable UnsupportedOperationException

    2020-06-01 Thread Martin Grigorov
    Hi, I like the idea to catch UnsupportedOperationException at org.apache.wicket.IGenericComponent#setModelObject(T) and re-throw it as: throw new WicketRuntimeException("You need to use read/write Model for component '{}", this.getPageRelativePath(), uox) Does anyone see a drawback ? Martin On

    Re: WebSocket concurrent modification

    2020-05-28 Thread Martin Grigorov
    On Thu, May 28, 2020 at 9:43 AM fanfy wrote: > Hello,I finally found the problem ... It seems that I didn't understood > very > well how to use WebSocketMessageBroadcaster from wicket-spring-boot. The > proper way to broadcast websocket messages from an ajax call is to use >

      1   2   3   4   5   6   7   8   9   10   >