In wicket I have created dynamic panels (parent panel) using list view in which I have to display the slider for that I have created another panel(child panel) to display the slider. Now the slider is created for each panel. On change of the slider in child panel I should do some calculation and change the values in parent panel where i moved the slider without refresh the page. is there any way to achieve this in wicket without using javascript
How to change all component values of parent panel on change of child panel in wicket
1k views Asked by user5008679 At
1
The "Wicket way" would be to use Wicket Events with Broadcast.BUBBLE. See example of Wicket events at http://www.wicket-library.com/wicket-examples-6.0.x/events/ and some documentation at http://ci.apache.org/projects/wicket/guide/6.x/guide/advanced.html#advanced_2.
Send an event up to the parent. The event payload may bring the AjaxRequestTarget so that the parent can repaint itself if needed.