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: 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