ComponentNotFoundException during concurrent requests to the same page ?

2021-07-22 Thread Tobias Gierke
Hi, I'm currently investigating the root cause of a ComponentNotFoundException in our application (Wicket 8.12) that IMHO should not happen in the first place (assuming I understood Wicket page versioning correctly, that is). 1. The offending page displays search results using a DataTable

Re: Displaying a Jenkins like "Getting ready to work" message in a web page when application is starting up

2018-12-12 Thread Tobias Gierke
t;Getting ready to work" message when it starts up. I've seen some Atlassian products even displaying what's happening behind the hood during startup. Can someone explain how to do something similar with Wicket? -- Tobias Gierke Software Developer Voipfuture GmbH Wendenstr. 4

Re: Repeaters, dynamic data & detaching models

2018-08-28 Thread Tobias Gierke
ant I should override ListView#getListItemModel() and return a LoadableDetachableModel there, right ? +1 exactly. Sven Am 28.08.2018 um 09:44 schrieb Tobias Gierke: Hi Sven, Thanks for your reply ! Hi, your first solution was inefficient anyways, because every click reloaded all Datas fi

Repeaters, dynamic data & detaching models

2018-08-27 Thread Tobias Gierke
Hi, A collegue of mine just came across a rather interesting bug in our Wicket application. 1. We have a simple page with a repeater (ListView) that displays a table and on each row, some buttons to perform actions on the item shown on this row  (edit/delete/etc.) 2. The underlying data

Re: Curated list of Wicket Libraries and Solutions

2018-07-10 Thread Tobias Gierke
Libs 2 years ago: https://github.com/ PhantomYdn/awesome-wicket Please, if you don't find your beloved library: email me or create a PR. Thanks, Ilia - Orienteer(http://orienteer.org) - open source Business Application Platform -- Tobias Gierke

Re: AJAX & IllegalStateException: Components can no longer be added

2018-05-25 Thread Tobias Gierke
difficulties: what if a component in beforeRender() adds one of its ancestors to be updated? Thanks for the clarification! Cheers, Tobias Have fun Sven Am 25.05.2018 um 10:44 schrieb Tobias Gierke: Hi, Can someone please explain to me what's causing this exception (see end of this mail

AJAX & IllegalStateException: Components can no longer be added

2018-05-25 Thread Tobias Gierke
Hi, Can someone please explain to me what's causing this exception (see end of this mail) when trying to add a component to an ART ? In http://apache-wicket.1842946.n4.nabble.com/Components-can-no-longer-be-added-td4662838.html Sven Meier said once rendering of components via Ajax has

Re: Wicket 8 migration / header contributions question

2018-05-25 Thread Tobias Gierke
the old event names stopped working completely. Thanks, Tobias https://wicket.apache.org/news/2018/02/17/wicket-8.0.0-M9-released.html On 23/05/2018 17:55, Tobias Gierke wrote: Hi, I'm in the process of migrating our application from Wicket 7.10 to Wicket 8 and encountered some we

Re: Wicket 8 migration / header contributions question

2018-05-25 Thread Tobias Gierke
HeaderItem dependencies :-) I still feel that the WICKET-6498 change somehow interacts with FilteringHeaderResponse in a not-too-obvious way (our code used to work in 7.10 but fails in 8.0.0). Cheers, Tobi Thanks Sven Am 24. Mai 2018 08:43:47 MESZ schrieb Tobias Gierke <tobias.gie...@code-sourcery.

Re: Wicket 8 migration / header contributions question

2018-05-24 Thread Tobias Gierke
Hi, Hi, this should be caused by WICKET-6498. This issue has changed the behavior for HeaderResponseDecorator. You can find how to adapt your code in the migration guide or in the release note of Milestone 9: https://wicket.apache.org/news/2018/02/17/wicket-8.0.0-M9-released.html Thanks

Wicket 8 migration / header contributions question

2018-05-23 Thread Tobias Gierke
Hi, I'm in the process of migrating our application from Wicket 7.10 to Wicket 8 and encountered some weirdness with regards to header contributions. Our application has a top-level WebPage that defines a HeaderResponseContainerat the very end of the page markup and all other application

Yes :-) [ Re: Any usable IntelliJ plugin ?]

2018-04-11 Thread Tobias Gierke
Hey Lukas, Hi Tobias, WicketForge 5.0.2 works for me with IntelliJ 2018.1. Make sure that you configure your wicket resources in „Project Structure > Facets“. This was the step I missed! Thanks a lot, Tobias Regards Lukas On Wed, Apr 11, 2018 at 3:07 PM Tobias Gierke < tobias.gie..

Any usable IntelliJ plugin ?

2018-04-11 Thread Tobias Gierke
Hi, I'm in the process of migrating from Eclipse to IntelliJ and just found out that the IntelliJ WicketForge plugin is not working for the current release of IntelliJ (Ultimate 2018.1). I really miss the QWickie plugin I was using in Eclipse. Does anyone know of a good way to get at least

Re: The day Wicket became Apache Wicket 10 years ago!

2017-06-20 Thread Tobias Gierke
Thank you all for the great work you're doing and the quick replies to user questions :-) To the next 10 years ! Today marks the date 10 years ago that the Wicket project graduated from the Incubator to a fully fledged Apache project. The time flies when you're having fun! I would like to

Re: Weird ListView behaviour on AJAX updates

2017-06-14 Thread Tobias Gierke
. When the next request comes in, the underlying list represents the actual contents after deleting an item. Calling #detach() is ok, using an 'EntityModel' is an alternative - see ListView#getListItemModel() javadoc. Have fun Sven Am 13.06.2017 um 13:35 schrieb Tobias Gierke: Hi, While trying

Weird ListView behaviour on AJAX updates

2017-06-13 Thread Tobias Gierke
Hi, While trying to debug an AIOOBE that happens when a user opened the same page in multiple tabs (the page renders a repeater where users can remove items by clicking a button), I came across some interesting behaviour. I created a tiny example project to show it:

Re: Difficulty with related, mutually updating fields

2015-12-03 Thread Tobias Gierke
Hi, Hello, I have a form with the following fields : start date, duration (in days) & end date. I want the user to be able to enter EITHER a duration OR an end date and the other field will be automatically calculated according to this and the start date. Each field has an associated feedback

Re: Wicket 6: Generic solution for generating "nicer-looking" URLs ?

2015-09-08 Thread Tobias Gierke
should have only "?x", where "x" is the page id. Usually only developers look in the HTML source. Users do not do this. On Mon, Sep 7, 2015 at 12:54 PM, Tobias Gierke <tobias.gie...@voipfuture.com wrote: Hi, Is there a generic way to rewrite Wicket-generated URLs to somethin

Wicket 6: Generic solution for generating "nicer-looking" URLs ?

2015-09-07 Thread Tobias Gierke
Hi, Is there a generic way to rewrite Wicket-generated URLs to something less frightening than "?x.y-ILinkListener" ? Looks like one would need to implement their own IRequestMapper for this, right ? Thanks, Tobias -

Re: Wicket 6 + string resource caching

2015-06-19 Thread Tobias Gierke
this to identify your current 'theme'? Then theme-specific string resources should work out-of-the-box. Have fun Sven *See Localizer#getCacheKey() On 18.06.2015 16:39, Tobias Gierke wrote: Hi, I'm working on a 'themeable' (does this word exist ?) application were some string resources differ based

Wicket 6 + string resource caching

2015-06-18 Thread Tobias Gierke
) { LOG.warn(getString(): Failed to load string properties for UI theme '+getUITheme().getName()+' from '+path+',e); } } return props.properties.getProperty( key ); } } } -- Tobias Gierke Development VOIPFUTURE

Re: Possible to add a new component to a page using IComponentResolver ?

2015-05-10 Thread Tobias Gierke
On 09.05.2015 15:21, Andrea Del Bene wrote: You are right. I'm afraid you can not do what you want in Wicket 6 because up to this version autocomponents (i.e those who are added during markup parsing) are removed after rendering phase. That's why your link doesn't find its component. With

Possible to add a new component to a page using IComponentResolver ?

2015-05-08 Thread Tobias Gierke
Hi, I'm trying to use IComponentResolver to implement a custom tag that will render a panel with a link that when clicked will display some help text. I want to use a custom tag for this because I need to be able to programmatically validate up-front (during the build process) that there are

Re: Possible to add a new component to a page using IComponentResolver ?

2015-05-08 Thread Tobias Gierke
. Or did I miss something ? Cheers, Tobias On 08/05/2015 10:41, Tobias Gierke wrote: Hi, I'm trying to use IComponentResolver to implement a custom tag that will render a panel with a link that when clicked will display some help text. I want to use a custom tag for this because I need

Re: Returning some default markup when rendering of a component (subtree) fails with a RuntimeException ?

2014-10-14 Thread Tobias Gierke
10, 2014 at 11:50 AM, Tobias Gierke tobias.gie...@voipfuture.com wrote: Hi, Wouldn't it be possible to embed the failing prone porlets inside iframes so that each one is a Wicket page? I already thought about this but the page uses quite a lot of fancy CSS/Ajax/Javascript (portlets

Re: Returning some default markup when rendering of a component (subtree) fails with a RuntimeException ?

2014-10-14 Thread Tobias Gierke
Sorry for the noise, I should've read your e-mail more thorougly :( But as you can see the default rendering of a component should be suppressed (PortletLike#onRender() {}) so it is not enough just to have the behavior. I'll fix my implementation and try again. Cheers, Tobias

Re: Returning some default markup when rendering of a component (subtree) fails with a RuntimeException ?

2014-10-14 Thread Tobias Gierke
, Tobias Gierke tobias.gie...@voipfuture.com wrote: Sorry for the noise, I should've read your e-mail more thorougly :( But as you can see the default rendering of a component should be suppressed (PortletLike#onRender() {}) so it is not enough just to have the behavior. I'll fix my implementation

Returning some default markup when rendering of a component (subtree) fails with a RuntimeException ?

2014-10-10 Thread Tobias Gierke
a RuntimeException is thrown. We're running Wicket 1.5.12. Thanks in advance, Tobias -- Tobias Gierke Development VOIPFUTURE GmbH Wendenstraße 4 20097 Hamburg, Germany Phone +49 40 688 900 164 Fax +49 40 688 900 199 Email tobias.gie...@voipfuture.com Web http://www.voipfuture.com CEO Jan Bastian

Re: Returning some default markup when rendering of a component (subtree) fails with a RuntimeException ?

2014-10-10 Thread Tobias Gierke
them around etc.) and I'd rather not touch the existing code if there's a Java-side only solution ;-) Cheers, Tobias On Fri, Oct 10, 2014 at 11:12 AM, Tobias Gierke tobias.gie...@voipfuture.com wrote: Hi, In our web application we have a dashboard-like homepage that displays a number of user

Re: Wicket AJAX Google Chrome: Strange DOMException in Wicket.Ajax.Request.doGet

2014-05-16 Thread Tobias Gierke
Hi, Considering the mess with the Apache foundation's mailserver outage, I'm not sure my message got through ... anyway , I found out what was causing me trouble: Seems like Chrome's handling of synchronous AJAX requests is broken, switching to asynchronous mode fixed it. Cheers, Tobias

Wicket AJAX Google Chrome: Strange DOMException in Wicket.Ajax.Request.doGet

2014-05-14 Thread Tobias Gierke
Hi, I'm stumped by an error (DOMException #19, A network error occurred) that seems to have started with Chrome version =31. In our Wicket 1.5.11 application I have some Javascript that issues an synchronous AJAX call like this: 888888 var

Re: Two Questions

2014-04-15 Thread Tobias Gierke
Hi, 1) I have a feedback panel and when i add messages under info(), they do not show up. When I add the message via error(), it shows as expected. Why might this be? Hm, IMHO both should work. Are you maybe using AJAX and not adding the FeedbackPanel to the AjaxRequestTarget when using

Strange issue with AJAX update + file download

2014-04-10 Thread Tobias Gierke
Hi, We're using Wicket 1.5.11 with the approach described in https://cwiki.apache.org/confluence/display/WICKET/AJAX+update+and+file+download+in+one+blow to trigger a file download from within a modal dialog. This all works fine, our problem is with the rendering of the page after the

Re: Strange issue with AJAX update + file download

2014-04-10 Thread Tobias Gierke
...sorry, forgot that sending attachments to mailing-lists does not generally work... http://picpaste.com/firebug.png http://picpaste.com/chrome_after_download.png Hi, We're using Wicket 1.5.11 with the approach described in

Re: Strange issue with AJAX update + file download

2014-04-10 Thread Tobias Gierke
}); so that download is triggered once DOM is ready. On Thu, Apr 10, 2014 at 11:02 AM, Tobias Gierke tobias.gie...@voipfuture.com wrote: ...sorry, forgot that sending attachments to mailing-lists does not generally work... http://picpaste.com/firebug.png http://picpaste.com

Re: Strange issue with AJAX update + file download

2014-04-10 Thread Tobias Gierke
- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Tobias Gierke Development VOIPFUTURE GmbH Wendenstraße 4 20097 Hamburg, Germany Phone +49 40 688 900 111 Fax +49 40 688 900 199 Email tobias.gie

Solved [ Re: Strange issue with AJAX update + file download ]

2014-04-10 Thread Tobias Gierke
Sorry for the noise, I just tried to validate my assumption by (again) setting the timeout to some really large value (20 seconds) and noticed that I screwed up while testing your initial suggestion , the changed timeout value was never in effect ... Raising the timeout value does in fact

Re: Strange issue with AJAX update + file download

2014-04-10 Thread Tobias Gierke
Hi, Hi, On Thu, Apr 10, 2014 at 1:13 PM, Tobias Gierke tobias.gie...@voipfuture.com wrote: Hi, What do you exactly mean by the rendering of the page after download completed? You repaint a part of the screen via AJAX? And this is the one giving problem with images? Good point. I just

Re: Strange issue with AJAX update + file download

2014-04-10 Thread Tobias Gierke
On Thu, Apr 10, 2014 at 1:13 PM, Tobias Gierke tobias.gie...@voipfuture.com wrote: Hi, What do you exactly mean by the rendering of the page after download completed? You repaint a part of the screen via AJAX? And this is the one giving problem with images? Good point. I just

wicket:enclosure not finding child nested in border ? (Wicket 1.5.8)

2013-10-08 Thread Tobias Gierke
Hi, In one of my pages I have a textfield (whose visibility is changed through AJAX) that is wrapped with a border like so: 8-8-8- wicket:enclosure child=loginNameBorder:loginName tr tdwicket:message

Re: wicket:enclosure not finding child nested in border ? (Wicket 1.5.8)

2013-10-08 Thread Tobias Gierke
! Cheers, Tobias Sven On 10/08/2013 12:29 PM, Tobias Gierke wrote: Hi, In one of my pages I have a textfield (whose visibility is changed through AJAX) that is wrapped with a border like so: 8-8-8- wicket:enclosure child

Generic in-app bookmarking mechanism

2013-09-24 Thread Tobias Gierke
Hi, I'm currently investigating a bug in our application that is most likely caused by the very brute-force way I implemented a generic in-app bookmarking feature. The basic requirement is something along the lines of Users should be able to create an (internal) bookmark for virtually any

Re: Generic in-app bookmarking mechanism

2013-09-24 Thread Tobias Gierke
the following request will search in the disk store, not in the DB. I think a custom IPageStore will be needed .. Sven On 09/24/2013 12:06 PM, Tobias Gierke wrote: Hi, I'm currently investigating a bug in our application that is most likely caused by the very brute-force way I implemented

How to include the JQuery version bundled with WiQuery in a page ?

2013-08-13 Thread Tobias Gierke
version that comes with WiQuery ? Thanks, Tobias -- Tobias Gierke Development VOIPFUTURE GmbH Wendenstraße 4 20097 Hamburg, Germany Phone +49 40 688 900 111 Mobile +49 172 323 06 11 Fax +49 40 688 900 199 Email jan.bast...@voipfuture.com Web http://www.voipfuture.com CEO Jan Bastian

Scheduled IRequestHandler never executed ?

2013-07-04 Thread Tobias Gierke
Hi, I have a modal dialog window that - after closing - should start a file download. Basically I'm doing everything like in http://mail-archives.apache.org/mod_mbox/wicket-users/201304.mbox/%3c1364779681800-4657667.p...@n4.nabble.com%3E (AJAX response with setTimeout() call that redirects

Re: Scheduled IRequestHandler never executed ?

2013-07-04 Thread Tobias Gierke
Sorry, forgot to mention that I'm using Wicket 1.5.8 Hi, I have a modal dialog window that - after closing - should start a file download. Basically I'm doing everything like in http://mail-archives.apache.org/mod_mbox/wicket-users/201304.mbox/%3c1364779681800-4657667.p...@n4.nabble.com%3E

[SOLVED] Re: Scheduled IRequestHandler never executed ?

2013-07-04 Thread Tobias Gierke
Sorry for the noise, I just found out that scheduleRequestHandlerAfterCurrent() silently accepts NULL handlers and I was passing a NULL value... Sorry, forgot to mention that I'm using Wicket 1.5.8 Hi, I have a modal dialog window that - after closing - should start a file download.

Re: Scheduled IRequestHandler never executed ?

2013-07-04 Thread Tobias Gierke
the browser initiates a regular HTTP GET request and this is where I schedule my file download request handler (just like described in the link I posted). Cheers, Tobias Sven On 07/04/2013 11:04 AM, Tobias Gierke wrote: Hi, I have a modal dialog window that - after closing - should start

Re: Model is null after submit, using FormComponentPanel

2012-12-06 Thread Tobias Gierke
...@wicket.apache.org -- Tobias Gierke Development VOIPFUTURE GmbH Wendenstraße 4 20097 Hamburg, Germany Phone +49 40 688 900 111 Mobile +49 172 323 06 11 Fax +49 40 688 900 199 Email jan.bast...@voipfuture.com Web http://www.voipfuture.com CEO Jan Bastian Commercial Court AG Hamburg

WiQuery: Having trouble getting dynamically added AutocompleteAjaxComponent to work

2012-10-05 Thread Tobias Gierke
fairly sure this has something to do with the fact that the AutocompleteAjaxComponent is added dynamically to the form but how do I fix this ? Thanks in advance, Tobias P.S. I'm using Wicket 1.5.7 / WiQuery 1.5.7 -- Tobias Gierke Development VOIPFUTURE GmbH Wendenstraße 4 20097 Hamburg

Subclassing FormComponentPanel / propagating setRequired() to child components ?

2012-10-01 Thread Tobias Gierke
Hi, With setRequired() being final, I'm not sure how to propagate a setRequired() call to my child components ... I found some discussion about the pro's and con's of having a final setRequired() method () (

Re: Subclassing FormComponentPanel / propagating setRequired() to child components ?

2012-10-01 Thread Tobias Gierke
because the whole formcomponent is required. But I think you could overrive #checkRequired() - which is not final - to fit best your use case (which is called underneath by #validate()) Hope this helps, Sebastien. On Mon, Oct 1, 2012 at 1:48 PM, Tobias Gierke tobias.gie...@voipfuture.comwrote: Hi

Re: wicket session statistics

2011-05-26 Thread Tobias Gierke
Hi, Implement a http://download.oracle.com/javaee/5/api/javax/servlet/http/HttpSessionListener.html and put it in your web.xml. Regards, Tobias Hello, Maybe I found it,LiveSessionsPage.java ,it can count peak session,but not what i want. I want to count the online users, for example

Re: Problem with Link,PopupSettings and dynamic window names

2009-05-03 Thread Tobias Gierke
Hi, The class you want to edit must implement Serializable. It is serializable. My actual code uses domain objects wrapped in LoadableDetachableModels that only hold the (serializable) primary key and fetch the domain object using a Spring-injected DAO. I just sketched a rough outline of

Problem with Link,PopupSettings and dynamic window names

2009-05-02 Thread Tobias Gierke
Hi, In my application I have a edit something link that opens a popup-window where the user can actually edit something. Giving the window a generic title (like just Edit ) would be confusing when multiple pop-ups are open so I tried to make the popup-window title read Edit something