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 >

    Re: FilenameWithVersionResourceCachingStrategy accepts (almost) any string as a version

    2020-05-26 Thread Martin Grigorov
    On Tue, May 26, 2020 at 11:59 AM Daniel Stoch wrote: > I know that and for me this is not an issue either ;). > But this "issue" is reported by some security scanners which checks > for obsolete and backup files by adding "_old", "_bak", "_backup" > suffix to filename of selected resource (css,

    Re: Wicket and Vue.js synergy

    2020-05-08 Thread Martin Grigorov
    Hi Илья, 7 years ago I've made a (small) integration with Ractive.js: https://github.com/martin-g/wicket-ractive and blogged about it https://wicketinaction.com/2013/08/surgical-ajax-updates-with-ractive-js/ IMO Vue.js has started as a fork from Ractive.js but Rich Harris says it just influenced

    Re: WebSocket onClose/onError/onAbort is not being called

    2020-05-05 Thread Martin Grigorov
    Hi Maxim, On Fri, May 1, 2020 at 2:22 PM Maxim Solodovnik wrote: > On Fri, 1 May 2020 at 18:15, Martin Grigorov wrote: > > > Hi Maxim, > > > > On Fri, May 1, 2020 at 1:31 PM Maxim Solodovnik > > wrote: > > > > > Hello Martin, > > > >

    Re: WebSocket onClose/onError/onAbort is not being called

    2020-05-01 Thread Martin Grigorov
    ava#L86 > :( > > On Fri, 1 May 2020 at 17:12, Martin Grigorov wrote: > > > Hi Maxim, > > > > If WicketEndpoint#onError() [1] is not called then probably there is a > bug > > in Tomcat. > > I suggest you to post this question at Tomcat's users@. >

    Re: WebSocket onClose/onError/onAbort is not being called

    2020-05-01 Thread Martin Grigorov
    Hi Maxim, If WicketEndpoint#onError() [1] is not called then probably there is a bug in Tomcat. I suggest you to post this question at Tomcat's users@. 1.

    Re: SessionStore on database

    2020-04-29 Thread Martin Grigorov
    Hi On Wed, Apr 29, 2020, 19:55 Andrea Del Bene wrote: > Hi, > > if you haven't done it yet you should have a look at WicketStuff data > store projects: > > https://github.com/wicketstuff/core/tree/master/datastores-parent > > > this should give you some good ideas. > The data stores distribute

    Re: The AutoCompleteTextField model callback setObject() not working

    2020-04-28 Thread Martin Grigorov
    Hi, On Tue, Apr 28, 2020 at 9:54 AM kyc wrote: > I am using wicket 7.14 > Try to upgrade to 7.16. > > The following setObject is not called if I select the item from the list > showing from AutoCompleteTextField. > However, it will be called if I type something on the textfield. I tried >

    Re: Form submit sends GET request, if Wicket-generated URL contains jsessionId

    2020-04-24 Thread Martin Grigorov
    ys GET. And their parameters are in the query string. What does your proxy do with multipart POSTs? What does it do with single part body that is too long to be in the query string? Does it truncate it? > -Igor. > > On 24. Apr 2020, at 20:57, Martin Grigorov mgrigo...@apache.org>> wrote: >

    Re: Form submit sends GET request, if Wicket-generated URL contains jsessionId

    2020-04-24 Thread Martin Grigorov
    TsJaOkrQX-Ez-mAG5UgADs3kdXgJpJlXbS8vhw > * > Request Method: > GET > * > Status Code: > 302 > * > Remote Address: > 10.1.37.99:443 > * > Referrer Policy: > no-referrer-when-downgrade > 1. Response Headers > * > cache-con

    Re: Form submit sends GET request, if Wicket-generated URL contains jsessionId

    2020-04-24 Thread Martin Grigorov
    * > server: > nginx > * > status: > 302 > > Am I missing something? > I don't know. You tell us :-) Is there a problem with the functionality ? As far as I understood until now the problem was that there is no POST submit. Now you see that ther

    Re: Form submit sends GET request, if Wicket-generated URL contains jsessionId

    2020-04-24 Thread Martin Grigorov
    es) > > -Igor. > > On 24. Apr 2020, at 06:02, Martin Grigorov mgrigo...@apache.org>> wrote: > > Hi Igor, > > > > On Fri, Apr 24, 2020 at 12:55 AM Igor Khvostenkov > igor.khvosten...@lindenbaum.eu.invalid>> wrote: > > Hi Sven, > > POST is

    Re: Form submit sends GET request, if Wicket-generated URL contains jsessionId

    2020-04-23 Thread Martin Grigorov
    Hi Igor, On Fri, Apr 24, 2020 at 12:55 AM Igor Khvostenkov wrote: > Hi Sven, > > POST is substituted with GET by the HTTP client (Browser). > > A web-server, any web-server, returns a 301 or 302 redirect then Browser, > on client side, will replace any type of request to GET. No server-side >

    Re: Equivalent for PerSessionPageStore in Wicket 9

    2020-04-16 Thread Martin Grigorov
    >>>> The problem is this: The heap was full of objects referencing > > >>>>> InMemoryPageStore, i.e. the in-memory 2nd-level cache for pages. My > > >> first > > >>>>> thought was that there is something wrong with the implementation

    Re: Equivalent for PerSessionPageStore in Wicket 9

    2020-04-10 Thread Martin Grigorov
    On Fri, Apr 10, 2020 at 4:01 PM Thomas Heigl wrote: > FYI: I deployed Wicket 9.0.0-M5 to production an hour ago. 100k requests > served and no issues so far. > Awesome! Thank you for testing it! > > Great work! > > Thomas > > On Wed, Apr 8, 2020 at 3:13 PM Sven Meier wrote: > > > Many thanks

    Re: Quick Start Error with 8.7.0 - The desired archetype does not exist

    2020-04-10 Thread Martin Grigorov
    Hi, It works fine for me: mvn archetype:generate -DarchetypeGroupId=org.apache.wicket -DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=8.7.0 -DgroupId=4MyTestCompany -DartifactId=testWicket8 -DarchetypeRepository= https://repository.apache.org/ -DinteractiveMode=false [INFO]

    Re: About XML Injection

    2020-04-09 Thread Martin Grigorov
    gt; > > > > > > > image.png > > > < > > > > > > https://drive.google.com/file/d/1RcAegoREfmkdPNm1DCw9ouUyfI20lh7K/view?usp=drive_web > > > > > > > > > > > > > As a result, I have to prevent the xml inject

    Re: Upgrade to Wicket 9: troubles with WicketTester and MockPageStore

    2020-04-09 Thread Martin Grigorov
    It is not my day today! :-) This is the second description of an issue here in users@ which I don't understand. I'll let someone else try to help you. On Thu, Apr 9, 2020 at 2:32 PM Francesco Chicchiriccò wrote: > On 2020/04/09 10:58:13, Martin Grigorov wrote: > > Hi, > > >

    Re: Upgrade to Wicket 9: troubles with WicketTester and MockPageStore

    2020-04-09 Thread Martin Grigorov
    Hi, Why do you need to use PageManager ? By default WicketTester uses MockPageManager without a backing PageStore. On Thu, Apr 9, 2020 at 1:20 PM Francesco Chicchiriccò wrote: > Hi all, > at Syncope we have been upgrading our Console and Enduser web applications > from Wicket 8 to 9.0.0-M5, in

    Re: About XML Injection

    2020-04-09 Thread Martin Grigorov
    ion, do I check the entire > payload or only check there value we need ? > > On Thu, Apr 9, 2020 at 4:11 PM Martin Grigorov > wrote: > >> On Thu, Apr 9, 2020 at 11:09 AM Shengche Hsiao >> wrote: >> >> > Yes, I need to know overriding which methods >&

    Re: About XML Injection

    2020-04-09 Thread Martin Grigorov
    On Thu, Apr 9, 2020 at 11:09 AM Shengche Hsiao wrote: > Yes, I need to know overriding which methods > I still do not understand what exactly you need to accomplish. Please be more specific! > > On Thu, Apr 9, 2020 at 16:03 Martin Grigorov wrote: > > > Hi, > > &g

    Re: About XML Injection

    2020-04-09 Thread Martin Grigorov
    Hi, On Thu, Apr 9, 2020 at 10:27 AM ShengChe Hsiao wrote: > Dear all > > I use built-in ajax dropdownchoice component, it's default payload is xml > entity, but if I need to prevent xml injection ,how can i do? > Could you please give some more information what exactly you need? > > >

    Re: Kendo Material update from 8.3.0 to 8.6.0 adds 'user-select:none'

    2020-04-03 Thread Martin Grigorov
    Hi Manfred, On Thu, Apr 2, 2020 at 6:23 PM Bergmann Manfred wrote: > Hi. > > We’ve just realized that none of the texts when changing this library > version are selectable/copyable. > Is this intentional? > It sounds like the change is in Kendo Material sources, not in Wicket JQuery UI, so the

    Re: MetaData for websocket connections

    2020-03-26 Thread Martin Grigorov
    plus the required glue code for keeping the > registry up to date. > > But if you prefer not to add functionality I can go ahead and implement an > external solution and see how it goes. > Anyone else having an opinion on this? > > Best regards, > > Thomas > >

    Re: MetaData for websocket connections

    2020-03-25 Thread Martin Grigorov
    Hi Thomas, Is this really necessary? You can achieve the same today by using an external registry. E.g. List channels = channelRegistry.get(webSocketConnection); internally the registry can use WebSocketConnection's getApplication().getName(), getSessionId() and getKey() to construct the key.

    Re: jquery-weekdays

    2020-03-19 Thread Martin Grigorov
    Hi, I am not aware of an integration of Wicket with https://github.com/nikolasmagno/jquery-weekdays. You can use Wicket Bootstrap code for inspiration how to integrate it. For example

    Re: PerSessionPageStore thread-safety

    2020-02-28 Thread Martin Grigorov
    al lock map is not shared > between requests. Moving the lock map into global or application scope > solves the issue with the downside of > increased concurrency to the, now shared, map but should not require any > additional locking or synchronization. > It is quite trivial to write such a glob

    Re: PerSessionPageStore thread-safety

    2020-02-27 Thread Martin Grigorov
    Hi Thomas, Could you please explain how exactly Spring Session works ? This will help us both understand where the problem comes from. Also how exactly do you integrate it with Wicket ? Which extension points do you use ? Since it is backed by Redis it means that it is distributed. But at the

    Re: AjaxEventBehavior/AjaxFormComponentUpdatingBehavior & visibility

    2020-01-22 Thread Martin Grigorov
    On Wed, Jan 22, 2020 at 8:55 AM Sven Meier wrote: > Ah, our old friends 'enclosures'! > > Problem is that a component inside an enclosure is really inside it only > during rendering of its markup. > But the strategy walking through the component hierarchy to render all > headers doesn't know

    Re: Need an event later than 'done'

    2020-01-22 Thread Martin Grigorov
    On Tue, Jan 21, 2020 at 11:59 PM Entropy wrote: > That seems promising. If you could look how you did it in your other > project > that would be great. I suppose if I could get access to the response XML I > could look for the redirect in that. I'm not sure where it is though or > even if

    Re: An open source devops platform completely created with Wicket

    2020-01-17 Thread Martin Grigorov
    Thank you for sharing it with us, Robin! It looks awesome! On Fri, Jan 17, 2020 at 2:26 AM Robin Shen wrote: > Dear wicket users, > > I'd like to introduce OneDev, an open source all-in-one devops platform: > https://github.com/theonedev/onedev > > It is created completely with Wicket with

    Re: Test errors after upgrading to Wicket 8.7.0

    2020-01-10 Thread Martin Grigorov
    On Fri, Jan 10, 2020 at 2:55 PM Francesco Chicchiriccò wrote: > On 2020/01/10 12:24:49, Martin Grigorov wrote: > > Hi Francesco, > > > > This was a bug in Wicket, a security related one. > > You will need to fix your code. > > > >

    Re: Test errors after upgrading to Wicket 8.7.0

    2020-01-10 Thread Martin Grigorov
    Hi Francesco, This was a bug in Wicket, a security related one. You will need to fix your code. The change should look something like this: - tester.getRequest().setParameter("select", page.option1.getValue()); - tester.getRequest().setParameter("text", "text is

    Re: Best way to refresh entire NestedTree

    2019-12-29 Thread Martin Grigorov
    Hi Chris, On Sun, Dec 29, 2019 at 11:22 AM Chris Colman wrote: > Sorry for the duplication. These messages did not appear in the mail > group until about 8 hours after they were posted. I thought I must have > This is because you are not subscribed to the mailing list and your messages are

    Re: Is there an example project for wicket-spring-boot with gradle and webpack?

    2019-12-08 Thread Martin Grigorov
    Hi, I would suggest you to generate your application with JHipster and then remove the front-end (Angular/React) and add Wicket instead. On Sun, Dec 8, 2019, 10:02 Per Newgro wrote: > Hello *, > > i try to setup a spring boot project based on wicket-spring-boot-parent. > To built my frontend

    Re: Partial update of DataGridView when adding new items

    2019-12-04 Thread Martin Grigorov
    Hi Chris, Please read https://wicketinaction.com/2008/10/repainting-only-newly-created-repeater-items-via-ajax/ The article explains how to do this with ListView but the idea is the same for all other repeaters. On Wed, Dec 4, 2019 at 6:53 AM Chris Colman wrote: > We're using a DataGridView

    Re: FileUpload class still implements IClusterable

    2019-12-03 Thread Martin Grigorov
    On Tue, Dec 3, 2019 at 3:42 PM Ernesto Reinaldo Barreiro wrote: > Hi Martin, > > > On Tue, Dec 3, 2019 at 3:09 PM Martin Grigorov > wrote: > > > Hi Ernesto, > > > > Yes, I think FileUpload should not be Serializable. > > FileUploadField uses trans

    Re: FileUpload class still implements IClusterable

    2019-12-03 Thread Martin Grigorov
    Hi Ernesto, Yes, I think FileUpload should not be Serializable. FileUploadField uses transient reference to the list of file uploads for this reason:

    Re: Application # newSession # sessionUnbound - RuntimeException

    2019-11-21 Thread Martin Grigorov
    esn't > make sense for an exception happening on a worker thread. > you meant on *non*-worker thread ? Francois, please give us the stack trace. > Hope this helps > Sven > > > On 21.11.19 16:37, Martin Grigorov wrote: > > Hi Francois, > > > > #sessionUnbound() is called i

    Re: Application # newSession # sessionUnbound - RuntimeException

    2019-11-21 Thread Martin Grigorov
    Hi Francois, #sessionUnbound() is called in two contexts: 1) the user clicked the Logout button - in this case the call is executed in http worker thread where there is a ThreadContext, i.e. Application.get(), Session.get() and RequestCycle.get() would work here, I think, Wicket should use the

    Re: Wicket blog

    2019-11-10 Thread Martin Grigorov
    Done! https://wicket.apache.org/learn/blogs.html#get-your-blog-listed https://github.com/apache/wicket-site/commit/6a07ad54303361f583f8182e2516b96bc07f627c Thank you, Roman! On Sat, Nov 9, 2019 at 7:03 PM Roman Sery wrote: > Hello, > I have been working with Wicket for many years now and

    Re: Log feedback messages

    2019-10-29 Thread Martin Grigorov
    Hi, On Mon, Oct 28, 2019 at 7:33 PM Entropy wrote: > As part of a larger effort to improve our audit logs, I have been requested > to add the feedback messages that appear as part of validation to those > audits. So in the onError() of a button or form, where the validation has > failed, I

    Re: Client browser timezone offset

    2019-10-28 Thread Martin Grigorov
    Hi, I didn't get what is the problem with the current code. For me http://examples8x.wicket.apache.org/ajaxhellobrowser/ shows utcDSTOffset=3 utcOffset=2 which seems to be correct. On Mon, Oct 28, 2019 at 5:56 PM Maxim Solodovnik wrote: > On the other hand: the old code can be used if TZ is

    Re: Is there a way to control Wicket's id generation?

    2019-10-27 Thread Martin Grigorov
    On Fri, Oct 25, 2019 at 6:06 PM Entropy wrote: > I work on a government project and one of our rules is that all of our apps > scrape the request object and log it so that everything that happens can be > reviewed. Partly this is for audit reasons, sometimes it comes in handy > for > lawsuits,

    Re: 404 : https://wicket.apache.org/learn/#javadoc JavaDoc 9.x

    2019-10-07 Thread Martin Grigorov
    Fixed! On Mon, Oct 7, 2019, 12:11 Martin Grigorov wrote: > Hi Francois, > > This is a known issue. > > https://markmail.org/message/6owzkxowbsf33jcy > https://markmail.org/message/ac65iqbmwjdlugz3 > > I will try to find a working solution for it this week. > > Ma

    Re: Wicket Cookie Deletion

    2019-10-07 Thread Martin Grigorov
    header then most probably the Wicket WebResponse you have used when calling #clearCookie() is not the one that has been used to deliver the HTML response. Most probably your application has replaced the response object with another one without preserving the already set headers. > >

    Re: Is there a SOAP resource?

    2019-10-07 Thread Martin Grigorov
    Hi, I am not aware of such resource. That does not mean that there is no such out there though! But SOAP is just XML, i.e. text, so you can read and parse it and do whatever is needed. Martin On Mon, Oct 7, 2019 at 1:22 PM Per Newgro wrote: > Hello every1, > > i would like to migrate some

    Re: 404 : https://wicket.apache.org/learn/#javadoc JavaDoc 9.x

    2019-10-07 Thread Martin Grigorov
    Hi Francois, This is a known issue. https://markmail.org/message/6owzkxowbsf33jcy https://markmail.org/message/ac65iqbmwjdlugz3 I will try to find a working solution for it this week. Martin On Mon, Oct 7, 2019 at 11:17 AM Francois Meillet wrote: > Hi, > > There is a 404 for >

    Re: Wicket Cookie Deletion

    2019-10-07 Thread Martin Grigorov
    Hi, On Mon, Oct 7, 2019 at 3:14 AM Sibgha Nazir wrote: > Hi, > > I set a cookie from JavaScript in the chrome browser like > > > var d = new Date(); > > d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000)); > > var expires = "expires=" + d.toUTCString(); > > document.cookie =

    Re: Wicket 9.x and wicket-bootstrap status

    2019-09-24 Thread Martin Grigorov
    2.0.11 (Wicket 8.6.1 + Bootstrap 3.x) and 3.0.0-M12 (Wicket 8.6.1 + Bootstrap 4.x) are also released! On Tue, Sep 24, 2019 at 9:18 AM Michał Szwaczko wrote: > Thanks Martin :) > > > Dnia 23 września 2019 o 15:54 Martin Grigorov < mgrigo...@apache.org > mailto:mgrigo...@ap

    Re: Wicket 9.x and wicket-bootstrap status

    2019-09-23 Thread Martin Grigorov
    Wicket Bootstrap 4.0.0-M3 (Wicket 9.0.0-M3 and Bootstrap 3.x) has been released! The other versions will be released on the coming days because upload to Sonatype is very slow today. On Thu, Sep 19, 2019 at 3:57 PM Martin Grigorov wrote: > Hi, > > The branch is there since a long time

    Re: Wicket first time visit check

    2019-09-23 Thread Martin Grigorov
    d how? > > Best Regards, > Sibgha > > On Sat, Sep 21, 2019 at 7:08 AM Martin Grigorov > wrote: > > > Hi, > > > > You can execute your logic in the page's constructor or onInitialize() > > method. > > > > On Fri, Sep 20, 2019, 21:25 Sibgha Nazi

    Re: Wicket first time visit check

    2019-09-20 Thread Martin Grigorov
    Hi, You can execute your logic in the page's constructor or onInitialize() method. On Fri, Sep 20, 2019, 21:25 Sibgha Nazir wrote: > Hi, > > I have a wicket application and I want to do something when the user opens > the webpage for the first time. > > Could anyone give me a clue on how to

    Re: Wicket 9.x and wicket-bootstrap status

    2019-09-19 Thread Martin Grigorov
    Hi, The branch is there since a long time: https://github.com/l0rdn1kk0n/wicket-bootstrap/tree/wicket-9.x. -SNAPSHOT builds are deployed at Sonatype OSS repos when TravisCI is happy to work. I am using a -SNAPSHOT build of it for my training application. Lately I release versions of

    Re: Google and DevUtils Inspector Page can kill your WebApp

    2019-09-12 Thread Martin Grigorov
    Hi Илья, On Thu, Sep 12, 2019 at 12:04 AM Илья Нарыжный wrote: > Hello, > > This is real-life story. It started a relatively long time ago: our > demo server from time to time had OurOfMemory condition. It was > strange because the solution itself is very well "stress volume > tested". So we

    Re: Wicket Kendo UI - Grid/Chart datasources not cleaned up

    2019-09-11 Thread Martin Grigorov
    at looks like a doable solution. > > I'd go for the Listener but I'll probably have to ask some more when I'm > > going to implement it. > > > > > > Manfred > > > > > > > > Martin Grigorov-4 wrote > >> Hi Manfred, > >> > >> T

    Re: Wicket Kendo UI - Grid/Chart datasources not cleaned up

    2019-09-10 Thread Martin Grigorov
    Hi Manfred, The #refresh(PartialPageUpdateHandler) methods are useful if you update the specific component. They do not help if you repaint a parent of such a component. In your case you will need to destroy the component (grid, chart) in your action callback (e.g. onUpdate(), onClick()). You can

    Re: Import Javascript through webjars as maven dependency.

    2019-09-09 Thread Martin Grigorov
    aResponse.render(JavaScriptHeaderItem.forReference(new WebjarsJavaScriptResourceReference("jquery.scroll*T*o/current/jquery.scroll *T*o.js"))); On Mon, Sep 9, 2019 at 2:06 PM Sibgha Nazir wrote: > Any idea, how to fix it? > > On Mon, Sep 9, 2019 at 10:01 AM Martin Grigorov

    Re: [ANNOUNCE] Apache Wicket 8.6.0 released

    2019-09-09 Thread Martin Grigorov
    > > > > > https://github.com/apache/wicket/blob/wicket-8.x/wicket-core/src/main/java/org/apache/wicket/markup/html/form/AutoLabelResolver.java#L106 > > > > > > -- > > > Olivier Dutrieux > > > Evolution du SI Scientifique et de Gestion (Tél

    Re: [ANNOUNCE] Apache Wicket 8.6.0 released

    2019-09-09 Thread Martin Grigorov
    Hi Olivier, The backport of the commit from 9.x (master) is https://github.com/apache/wicket/commit/efcffbb7be97847bec40aec77cfb9414fc55fa8c And I see the lines at:

    Re: Import Javascript through webjars as maven dependency.

    2019-09-09 Thread Martin Grigorov
    Hi, I think the problem is in the packaging of this webjar. The folder name in the .jar file is: /META-INF/resources/webjars/jquery.scroll*T*o/ . Note the capiral T in scrollTo. It does not match with the Maven artifact id - it uses lower case 't'. Because of this

    Re: Wrapping a FormComponent with a Border

    2019-09-03 Thread Martin Grigorov
    k with FormGroup then you will need to override onComponentTagBody() too > > Tom > > > > Gesendet: Dienstag, 03. September 2019 um 09:22 Uhr > > Von: "Martin Grigorov" > > An: "users@wicket.apache.org" > > Betreff: Re: Re: Wrapping a Form

      1   2   3   4   5   6   7   8   9   10   >