Wicket dataprovider query / search time

2013-02-04 Thread Rob Audenaerde
Hi All, I'm displaying (Lucene)search results in Wicket using a DataTable. The Datatable uses a IDataProvider to populate the toolbars and cells. I try to figure out the amount of time it took to do the query. A typical query involves calls to * size(...) * iterator(...) * model(..) What

Re: Wicket dataprovider query / search time

2013-02-04 Thread Rob Audenaerde
. For this I could use a model that wraps a time collector variable in the DataProvider. Op 4 feb. 2013 om 17:44 heft Francois Meillet francois.meil...@gmail.com het volgende geschreven: Try to collect the search method's duration in your DAO. François Le 4 févr. 2013 à 16:36, Rob

AjaxSelfUpdatingTimerBehavior memory?

2014-03-14 Thread Rob Audenaerde
I have a question on the AjaxSelfUpdatingTimerBehavior I have some memory issues and wondered in the behavior could cause this (on Jetty) When connected with jvisualvm I see the heap increasing each time the AjaxSelfUpdatingTimerBehavior is fired (with about 3M per request) Is that what I should

RE: AjaxSelfUpdatingTimerBehavior memory?

2014-03-14 Thread Rob Audenaerde
On Fri, Mar 14, 2014 at 3:29 PM, Rob Audenaerde rob.audenae...@valuecare.nl wrote: I have a question on the AjaxSelfUpdatingTimerBehavior I have some memory issues and wondered in the behavior could cause this (on Jetty) When connected with jvisualvm I see the heap increasing each time

Re: Best Practice - Create component by entity type?

2015-07-03 Thread Rob Audenaerde
Hi Per, You can do something like this: Create a set of compontents that will be your panels to display specific Persons. Let's call them PersonPanels. You can introduce a PersonPanelFactory, which might give you the appropriate PersonPanel based on the class of the Person ( person.getClass()

wicketstuff-select2 in wicket 7.1.0

2015-11-06 Thread Rob Audenaerde
Has anyone got this working? -Rob

Re: wicketstuff-select2 in wicket 7.1.0

2015-11-06 Thread Rob Audenaerde
g and Consulting > > https://twitter.com/mtgrigorov > > > > On Fri, Nov 6, 2015 at 11:51 AM, Rob Audenaerde < > rob.audenae...@gmail.com> > > wrote: > > > > > Has anyone got this working? > > > > > > -Rob > > > > > > > > > -- > WBR > Maxim aka solomax >

2 factor authentication, AuthenticatedWebSession, best practice?

2015-10-07 Thread Rob Audenaerde
Hi all, I'm looking into 2 factor authentication for my Wicket Application. Currently, I have a simple implementation where the user prepends a code to his password and the authenticate method uses that part as second factor. However, I would like a nicer interface (like, for example, google

Re: 6.0.x Docs Down?

2015-07-08 Thread Rob Audenaerde
Thanks Martin! On Wed, Jul 8, 2015 at 9:08 AM, Martin Grigorov mgrigo...@apache.org wrote: The javadocs [1] and guide [2] are available again! As I said we use JDK 7.x for the build as a workaround. 1. http://ci.apache.org/projects/wicket/apidocs/6.x/ 2.

StringValidator does not fail?

2015-09-28 Thread Rob Audenaerde
Hi all I have a change-password-page with a PasswordField with a StringValidator.lengthBetween( 3, 20 ). I ran into an error where I could paste a long password (>20 chars), and Wicket not throwing errors, but cutting the password to length 20. Wicket version: 7.0 Chrome: 45 The maxlength is

Re: StringValidator does not fail?

2015-09-28 Thread Rob Audenaerde
with a quickstart and/or unit test. > Thanks! > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Mon, Sep 28, 2015 at 10:54 AM, Rob Audenaerde <rob.audenae...@gmail.com > > > wrote: > > > Hi al

relative or absolute redirects (use in proxy?)

2015-12-10 Thread Rob Audenaerde
Hi all, I'm trying to host a Wicket Application in an Azure cloud environment. A third party with Azure knowledge (which I lack atm) put up a proxy for us that enforces 2factor authentication. If the user is allowed in, the traffic is send to our application. That way we don't have to spend too

Re: relative or absolute redirects (use in proxy?)

2015-12-10 Thread Rob Audenaerde
omcat (for failover) > 3.2) Azure load balancer balances the Nginx instances, so they serve > www.myrealapp.com > 3.3) Nginx config uses reverse proxy to fix the urls coming from Tomcats > > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigor

Re: Why is Wicket called Wicket?

2015-11-26 Thread Rob Audenaerde
utfs :) http://osdir.com/ml/java-wicket-user/2008-10/msg01066.html On Thu, Nov 26, 2015 at 9:38 AM, Tobias Soloschenko < tobiassolosche...@googlemail.com> wrote: > Catch question? :-D > > kind regards > > Tobias > > > Am 26.11.2015 um 09:32 schrieb Ernesto Reinaldo Barreiro < >

Re: examples7x.wicket.apache.org not available

2016-06-08 Thread Rob Audenaerde
Confirmed working! On Wed, Jun 8, 2016 at 11:18 AM, Andrea Del Bene wrote: > Restarted! Should shortly be available. > > Andrea. > > > On 08/06/2016 11:11, Marc Ende wrote: > >> Hi, >> >> I've seen that the http://examples7x.wicket.apache.org/ is currently not >>

Ajax Editable Label -> Request Entity Too Large

2016-03-08 Thread Rob Audenaerde
Hi all, I'm testing my application on unexpected user-input, and I am now facing this error: "Wicket.Ajax: Wicket.Ajax.Call.failure: Error while parsing response: Request Entity Too Large" I triggered this by pasting 10 paragaphs of "Lorem Ipsum" into an AjaxEditableLabel. Is this expected

Re: Ajax Editable Label -> Request Entity Too Large

2016-03-09 Thread Rob Audenaerde
e0cc05395348242cdd8e8/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/AjaxEditableLabel.java#L189 > ) > to set POST as a request method. > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Tue, Mar 8,

Re: wicket 7 + cglib + asm: net.sf.cglib.core.CodeGenerationException

2016-03-30 Thread Rob Audenaerde
I have had some similar issue in the past (and finally decided to ditch spring :). IIRC, the maven-shade-plugin could be used to relocate packages of classes of dependencies. But it is kind of black magic :/ -Rob On Wed, Mar 30, 2016 at 4:20 PM, Marieke Vandamme

Re: Encrypt selected form data before submitting the request to Server

2017-01-16 Thread Rob Audenaerde
> > Thanks Martin. > Hi Rob, your approach looks interesting. > Can you please elaborate on that? > Yes. Although I don't really see the point. The secret that is passed on will be readable by an attacker if the attacker could otherwise access the fields in the form, effectively rendering this

Re: Encrypt selected form data before submitting the request to Server

2017-01-15 Thread Rob Audenaerde
Ah you wrote about the synchronous ajax at the same time as my message :) (and sorry for the typo in your name, Martin!) On Mon, Jan 16, 2017 at 8:45 AM, Rob Audenaerde <rob.audenae...@gmail.com> wrote: > @Marin I thought synchronous Ajax is actively discouraged now? Or is it &g

Re: Encrypt selected form data before submitting the request to Server

2017-01-15 Thread Rob Audenaerde
@Marin I thought synchronous Ajax is actively discouraged now? Or is it supported through webworkers now? (see: https://xhr.spec.whatwg.org/#the-open()-method ) I would just generate a random secret the moment the form is rendered. Then, in javascript, you can use your favorite symmetric block

Re: Busy indicator delay with IAjaxIndicatorAware?

2016-10-06 Thread Rob Audenaerde
Hi Lars, I use a CSS animation for this: .wicket-ajax-indicator { visibility:hidden; animation: appear 0s ease-in 0.5s forwards; } -Rob On Thu, Oct 6, 2016 at 10:58 AM, Lars Törner wrote: > Hi everyone! > > Is there a best practice in wicket for adding a busy indicator

Re: ModalWindow and OnDomReady

2016-10-20 Thread Rob Audenaerde
igorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Wed, Oct 19, 2016 at 5:06 PM, Rob Audenaerde <rob.audenae...@gmail.com> > wrote: > > > Hi all, > > > > I have a panel that needs some JavaScript for sizing etc. to run after a > >

Re: ModalWindow and OnDomReady

2016-10-20 Thread Rob Audenaerde
The panel is created and added with setContent just before the modal window is shown. On Oct 20, 2016 10:40 AM, "Ernesto Reinaldo Barreiro" <reier...@gmail.com> wrote: > is this panel initially added to the mcdal? When page is created? > > On Thu, Oct 20, 2016 at

ModalWindow and OnDomReady

2016-10-19 Thread Rob Audenaerde
Hi all, I have a panel that needs some JavaScript for sizing etc. to run after a ModalWindow is shown, but as I now see it the Javascript is run *before* the modal window is shown. What is the proper way to run javascript after a ModalWindow is shown? It seems OnDomReady is not sufficient here?

How to solve: Application and Wicket-select2 both use PageParameter 'q'.

2016-11-22 Thread Rob Audenaerde
(question is also on StackOverflow: http://stackoverflow.com/questions/40736742/wicket-and-wicket-select2-both-use-pageparameter-q-how-to-solve ) I have a set of PageParameters for my page, one is q (for query). This allows for nice URLs like: http://myapplication/search?q=myquery. But when I

Re: How to solve: Application and Wicket-select2 both use PageParameter 'q'.

2016-11-22 Thread Rob Audenaerde
/issues > > On Tue, Nov 22, 2016 at 3:31 PM, Rob Audenaerde <rob.audenae...@gmail.com> > wrote: > > > Additional setting would be great. I use wicket-select2 in a lot of > > different places, so mounting all kinds of resources does not seem very > > appealing.

Re: How to solve: Application and Wicket-select2 both use PageParameter 'q'.

2016-11-22 Thread Rob Audenaerde
/wicketstuff/select2/HomePage.java#L158 > > > > On Tue, Nov 22, 2016 at 9:19 AM, Pi P314 <picuda...@gmail.com> wrote: > > > > > you can also use selected to in stateless mode > > > > > > 1- Mount a resource > > > 2- Point you sel

wicket datatable, row selection, update another component

2016-10-28 Thread Rob Audenaerde
Hi all, I have a DataTable which, in onConfigure(), sets a selected item. I want another (detail) panel, outside of this component, to react on that selection i.e. set it's visibility and render details of the selected item. What I see is that the onConfigure() of the detail component is called

Re: wicket datatable, row selection, update another component

2016-10-31 Thread Rob Audenaerde
gure(); > configureMyself();} > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Fri, Oct 28, 2016 at 1:33 PM, Rob Audenaerde <rob.audenae...@gmail.com> > wrote: > > > Hi all, > > > > I have a DataTable whic

Re: NumberTextField and LambdaModel, typing goes wrong?

2017-10-05 Thread Rob Audenaerde
> > // Bas > > Verstuurd vanaf mijn iPhone > > > Op 4 okt. 2017 om 16:58 heeft Rob Audenaerde <rob.audenae...@gmail.com> > het volgende geschreven: > > > > We are preparing for migration to Wicket 8 (when it comes out). So we are > > already replacing

back button difference 7.6.0, 7.7.0, 7.8.0 and 7.9.0?

2017-10-10 Thread Rob Audenaerde
Hi all, We upgraded some time ago from Wicket 7.6.0 to Wicket 7.7.0 and now we see that that back-button behaves differently? Before, pressing back would return the page with all the ajax modifications. After it seems to return an entirely new page. I could not find anything in the release notes

Re: back button difference 7.6.0, 7.7.0, 7.8.0 and 7.9.0?

2017-10-10 Thread Rob Audenaerde
gt; Sven > > Am 10. Oktober 2017 12:04:33 MESZ schrieb Rob Audenaerde < > rob.audenae...@gmail.com>: > >Hi all, > > > >We upgraded some time ago from Wicket 7.6.0 to Wicket 7.7.0 and now we > >see > >that that back-button behaves differently? > >Before, p

Re: FileUploadField with AJAX Behavior

2017-08-24 Thread Rob Audenaerde
I use this home brew Behavior: import java.io.File; import org.apache.wicket.Component; import org.apache.wicket.ajax.AbstractDefaultAjaxBehavior; import org.apache.wicket.ajax.AjaxRequestTarget; import org.apache.wicket.markup.head.IHeaderResponse; import

NumberTextField and LambdaModel, typing goes wrong?

2017-10-04 Thread Rob Audenaerde
We are preparing for migration to Wicket 8 (when it comes out). So we are already replacing our old PropertyModels with a backported LambdaModel (we use the implementation from Wicket 8). I noticed an odd behavior where the RangeValidator gets an empty String from the input (in

Re: back button difference 7.6.0, 7.7.0, 7.8.0 and 7.9.0?

2017-10-11 Thread Rob Audenaerde
gt; Something to keep in mind for future changes! > > Sven > > Am 10. Oktober 2017 13:47:53 MESZ schrieb Rob Audenaerde < > rob.audenae...@gmail.com>: > >Hi Sven, > > > >Thanks for your reply! > > > >I was mistaken in believing 7.8.0 was still

Re: WicketTester#testComponentInPage and executeBehavior

2017-11-20 Thread Rob Audenaerde
er/wicket-core/ > src/test/java/org/apache/wicket/ajax/form/OnChangeAjaxBehavi > orTest.java#L47 > > Please check what's different in your case. > > Have fun > Sven > > > > Am 20.11.2017 um 13:33 schrieb Rob Audenaerde: > >> Hi all, >> >> I try to

Re: WicketTester#testComponentInPage and executeBehavior

2017-11-20 Thread Rob Audenaerde
geAjaxBehavi > orTest.java#L47 > > Please check what's different in your case. > > Have fun > Sven > > > > Am 20.11.2017 um 13:33 schrieb Rob Audenaerde: > >> Hi all, >> >> I try to test a AjaxLink-based component using: >> >> MyComponent myC

WicketTester#testComponentInPage and executeBehavior

2017-11-20 Thread Rob Audenaerde
Hi all, I try to test a AjaxLink-based component using: MyComponent myComponent = new MyComponent("id"); wicketTester.startComponentInPage( myComponent); MyComponent contains some AjaxLinks, I want to click on them by: (uses a visitor to find the first child) AjaxLink on =

Re: DatePicker in wicket 8

2018-05-09 Thread Rob Audenaerde
I actually kinda disliked the wicket date picker(and its dependencies) , and went with integrating PickADay. https://github.com/dbushell/Pikaday On Wed, May 9, 2018, 22:43 René Stolle wrote: > Hello everybody, > > I just realized the wicket-datetime module is gone in wicket

Re: Modifying componentfeedbackpanel output

2018-02-22 Thread Rob Audenaerde
Can't your front end guy use CSS content to accomplish this? On Feb 22, 2018 20:39, "Entropy" wrote: > I'm not sure what a quickstart would do to demonstrate what I'm after. > It's > not a bug I am trying to work through, I don't even know how to get control > so I can

Re: error shutting down

2018-10-12 Thread Rob Audenaerde
, Oct 12, 2018 at 4:08 PM Rob Audenaerde wrote: > Is there a simple way to disable the AsynchronousDataStore (for now)? > > On Fri, Oct 12, 2018 at 3:31 PM Maxim Solodovnik > wrote: > >> I'm occasionally able to see this error on Apache Jenkins, but >> unfortunat

Re: error shutting down

2018-10-12 Thread Rob Audenaerde
4ce9d9a03ccb526358834fca/wicket-core/src/main/java/org/apache/wicket/pageStore/AsynchronousDataStore.java#L325 > > > > I do not remember changes in this area of the code in 8.x but it is not > > impossible. > > > > On Fri, Oct 12, 2018 at 12:32 PM Rob Audenaerde < >

error shutting down

2018-10-12 Thread Rob Audenaerde
Hi all, I'm experiencing some jetty-shutdown problems after upgrading from 7.9 to 8.1. See the stacktrace below. Is there a simple remedy for this? (or a known cause?) It is annoying because this error prevents Jetty from shutting down, and I use this in my tests, so my tests never end... :(

Re: error shutting down

2018-10-26 Thread Rob Audenaerde
l -o; done > >> > >> We also can merge this code (after proper review) > >> And then it can be tested using Jenkins and 8.2.0-SNAPSHOT as wicket > >> version > >> > >> On Wed, 24 Oct 2018 at 15:02, Rob Audenaerde > >> wrote: > >

Re: error shutting down

2018-10-24 Thread Rob Audenaerde
xplains why > > Maxim has been seeing Jenkins failing occasionally). > > > > Thanks for checking into this! > > > > -Rob > > > > On Fri, Oct 12, 2018 at 4:08 PM Rob Audenaerde > > > wrote: > > > > > Is there a simple way to disable the Asynchr

Re: An open source git server written with Wicket

2019-01-06 Thread Rob Audenaerde
Looks good! You should add onedev.io repo to the demo though :) On Mon, Jan 7, 2019 at 12:25 AM Robin Shen wrote: > Dear wicket user, > > > I'd like to introduce an open source project - OneDev. It is a self-hosted > git server with unique features. The technology stack used is Wicket + >

AjaxEventBehavior/AjaxFormComponentUpdatingBehavior & visibility

2020-01-20 Thread Rob Audenaerde
Hi all, I recently got some javascript errors that came from behaviors of components that where triggered to be visible or invisible in the dom (using onConfigure()) in an ajax request. Typically something like: Wicket.Ajax: Cannot bind a listener for event "change" on element "format1dd"

Re: AjaxEventBehavior/AjaxFormComponentUpdatingBehavior & visibility

2020-01-21 Thread Rob Audenaerde
gt; forever. > > But maybe we can improve that in Wicket core? > > > > Sven > > > > > > On 20.01.20 10:36, Rob Audenaerde wrote: > >> Hi all, > >> > >> I recently got some javascript errors that came from behaviors of > >> com

Re: JS - defer automatic?

2020-06-23 Thread Rob Audenaerde
WICKET-6498 > > Have fun > Sven > > > On 22.06.20 13:23, Rob Audenaerde wrote: > > Hi all, > > > > I'm trying to increase the google-page-speed of some WicketApplication. > It > > seems most jquery javascript is 'blocking', i.e. not usign 'defer'. >

Re: one pass render, mounted page back button

2020-06-24 Thread Rob Audenaerde
. An F5 while on your first page should result in > the same problem. > > I don't know how to square that circle. > > Have fun > Sven > > > On 24.06.20 17:12, Rob Audenaerde wrote: > > Hi all, > > > > We switched our app to use the renderstategy O

one pass render, mounted page back button

2020-06-24 Thread Rob Audenaerde
as it was after all the ajax stuff. (which is really great for users) Now, it generates a clean new page without all the changes. What would be the best way to still work around is problem? Or is there a simple fix? Thanks in advance, Rob Audenaerde

JS - defer automatic?

2020-06-22 Thread Rob Audenaerde
Hi all, I'm trying to increase the google-page-speed of some WicketApplication. It seems most jquery javascript is 'blocking', i.e. not usign 'defer'. For example this google-chrome-audit section: URL Size Potential Savings …jquery/jquery-2.2.4-ver-F9E….js

Wicket and Web Application Firewalls

2020-07-07 Thread Rob Audenaerde
Hi all, Do any of you have experience running a Wicket application behind a Web Application Firewall? ( https://en.wikipedia.org/wiki/Web_application_firewall) and want to share their experience? I'm curious to know as we are planning to run our application directly accessible on the internet.