THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
class MyComponent extends WebMarkupContainer { public void onAttach() { super.onAttach(); // handle attach event createRepeaterItems(); createHeaderItems(); } private void createRepeaterItems() { ... } private void createHeaderItems() { ... } } |
becomesbecomes
Code Block |
---|
class MyComponent extends WebMarkupContainer { @OnAttach private void createRepeaterItems() { ... } @OnAttach private void createHeaderItems() { ... } } |