Re: TreePanel#onInitialize() is not being called from AbstractGridRow#onBeforeRender(). - WicketStuff-wicket7

2017-07-28 Thread durairaj t
Issue has been fixed by adding "*final" *in the TreeGrid initiation. Thank you for your help Martin! On Fri, Jul 28, 2017 at 11:41 AM, durairaj t wrote: > from *Component.java* ---> getFlag(FLAG_INITIALIZED) --> it returns false > > /** > * Used to call {@link

Re: Application wide key-value storage

2017-07-28 Thread Martin Grigorov
Hi Maxim, All of the datastores at https://github.com/wicketstuff/core/tree/master/datastores-parent support this. https://github.com/wicketstuff/core/wiki/DataStores They are alternatives of DiskDataStore but you can use them as inspiration for anything you need. Martin Grigorov Wicket

Re: AjaxButton not calling onError after required validation fail

2017-07-28 Thread Martin Grigorov
Hi, The provided information is not enough to help you. Which version of Wicket do you use ? Do you have other buttons in this form ? Is Form#onError() called ? Put a breakpoint in Form#onFormSubmitted() and follow to see where it goes. Martin Grigorov Wicket Training and Consulting

AjaxButton not calling onError after required validation fail

2017-07-28 Thread Entropy
We have an AjaxButton, some fields are failing required check, but the onError of the button is not being invoked. This means we can't add the container to the target, and therefore the ComponentFeedbackPanel is not rendering with the message. radioWmc2Step1.add(new AjaxButton("btnResSend",

Application wide key-value storage

2017-07-28 Thread Maxim Solodovnik
Hello All, I'm trying to set up my first cluster on Tomcat. I need to have application wide key-value storage which is cluster aware. Is this possible? Maybe someone already did something like this? WBR, Maxim (from mobile, sorry for the typos)

Re: TreePanel#onInitialize() is not being called from AbstractGridRow#onBeforeRender(). - WicketStuff-wicket7

2017-07-28 Thread durairaj t
from *Component.java* ---> getFlag(FLAG_INITIALIZED) --> it returns false /** * Used to call {@link #onInitialize()} */ final void fireInitialize() { *if (!getFlag(FLAG_INITIALIZED))* { setFlag(FLAG_INITIALIZED, true); setRequestFlag(RFLAG_INITIALIZE_SUPER_CALL_VERIFIED, false); onInitialize();

Re: TreePanel#onInitialize() is not being called from AbstractGridRow#onBeforeRender(). - WicketStuff-wicket7

2017-07-28 Thread Martin Grigorov
Where is this line of code ? Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Fri, Jul 28, 2017 at 6:18 PM, durairaj t wrote: > Thank you Martin! I will compare the entire code. > > beside, I found that the below code from the >

Re: TreePanel#onInitialize() is not being called from AbstractGridRow#onBeforeRender(). - WicketStuff-wicket7

2017-07-28 Thread durairaj t
Thank you Martin! I will compare the entire code. beside, I found that the below code from the Component#fireInitialize(){} returns false, it should to be true to invoke the onInitialize();. any idea about this line of code, I did not understand that why it is false and what it mean. if

Re: TreePanel#onInitialize() is not being called from AbstractGridRow#onBeforeRender(). - WicketStuff-wicket7

2017-07-28 Thread Martin Grigorov
Hi, It is not very clear what is broken and why. I think the best you can do is to check what is different in your code against the samples application for InMethodGrid - https://github.com/wicketstuff/core/tree/wicket-7.x/inmethod-grid-parent/inmethod-grid-examples Martin Grigorov Wicket

TreePanel#onInitialize() is not being called from AbstractGridRow#onBeforeRender(). - WicketStuff-wicket7

2017-07-28 Thread durairaj t
I'm upgrading wicketstuff from wicket 5 to 7, one of the TreePanel functionality is not working. it was TreePanel#onBeforeRender() in wicket5 and AbstractGridRow #onBeforeRender(). Component component = get(column.getId()); returns BaseTreeColumn object with the null child object in

Re: HTTP PUT, POSTs to arbitrary URLs within wicket without use of any other 3rd party library

2017-07-28 Thread Andrea Del Bene
You should be ok with standard class HttpURLConnection. To write request body use getOutputStream. On Fri, Jul 28, 2017 at 10:59 AM, lucast wrote: > Dear forum, > I need to send an HTTP PUT/POST request to an arbitrary URL and I have to > set headers and body. > > Is

HTTP PUT, POSTs to arbitrary URLs within wicket without use of any other 3rd party library

2017-07-28 Thread lucast
Dear forum, I need to send an HTTP PUT/POST request to an arbitrary URL and I have to set headers and body. Is there a way of doing this within wicket without using 3rd party libraries such as spring framework's RestTemplate? I looked at wicketstuff-restannotations