Re: FormComponentPanel with tag

2016-12-22 Thread Olivier Dutrieux
Hi Martin, Sorry for the problem with the visibility of the code on email :s And you are all rights wicket generate ... not ... : sorry I don't check the raw generated html. Thx for reply. Duto - Duto -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/FormComponen

Re: ResponseIOException

2016-12-22 Thread Martin Grigorov
Are you sure ? I see that the QueryResult is initialized right after the check for null: https://github.com/wicketstuff/core/blob/core-1.5.x/jdk-1.5-parent/inmethod-grid-parent/inmethod-grid/src/main/java/com/inmethod/grid/common/AbstractPageableView.java#L213 So I don't expect that the second call

Re: FormComponentPanel with tag

2016-12-22 Thread Martin Grigorov
Hi, It is a bit hard to comment your code because it is not in the email that reaches the mailing list. We can see it only when we open the Nabble link at the bottom. 1) Your markup is wrong. is leaf node, i.e. it cannot have children elements, but you are trying to produce: ... 2) are you sure

Re: ResponseIOException

2016-12-22 Thread durairaj t
I found recursion in the inmethod API. I'm not sure whether this is the reason for the memory leakage. Java file name: AbstractPageableView.java at com.inmethod.grid.common.AbstractPageableView.initialize(AbstractPageableView.java:244) [classes:] at com.inmethod.grid.common.AbstractPage

FormComponentPanel with tag

2016-12-22 Thread Olivier Dutrieux
I discover that if I do : And I attach this composantForm to When wicket render the page I obtain : * I'm surprisely that's a work : I thought for FormComponentPanel.class it's necessary to have a tag like (with open and close tag) : it is normal ? * when I update the afterFieldCompo

Re: Calling Javascript for any event in a parent

2016-12-22 Thread Bas Gooren
Hi! You can override #onEvent in your “parent” component. The AjaxRequestTarget is broadcast as an event (you can check if the payload is an ART). You can then check if the ART contains your table component, and if it does, append your javascript. Met vriendelijke groet, Kind regards, Bas Go

Re: Calling Javascript for any event in a parent

2016-12-22 Thread MissOvenMitts
Thank you guys so much for your quick responses! I had not tried global listeners - mostly because if I have a component and not a target (as one of the method parameters) I don't really get how to call a javascript function. For example, when I have a target, I can do a target.appendJavaScript().

Re: Calling Javascript for any event in a parent

2016-12-22 Thread Ernesto Reinaldo Barreiro
Hi, Should this action be server side defined and different for every button? If it is the same action for a group of buttons maybe you can use jquery selectors to do some client side logic combined with what Sven suggested. If you could describe better your use case maybe someone can come up wit