Re: Is it now possible to dynamically define component trees on wicket?
We've been doing "Java side" dynamic for some time. Key Java components override a createComponent(String tagId) method that will create a Java component on demand. The "demand" is dictated by the markup. So we can dynamically reconfigure markup to dictate the assembly of Wicket components and on the Java side the components are dynamically created on demand as the markup layouts dictate. We have found it extremely flexible and productive doing things this way and it means the UI guys have some flexibility in layout without having to hassling the devs :) On 12/02/2020 10:19 pm, ViktorO wrote: I have not used Wicket for some time now. Is is possible to dynamically define component trees currently or we have to define them both in the HTML layout and Java code as before? Thanks in advance. - Web Sales at https://frontit.dk/services/hjemmesider -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Is it now possible to dynamically define component trees on wicket?
Hi Victor! Which sort of dynamism you expect? Repeaters such as RepeaterView and ListView are sort of dynamic. Also with JavaScript you could do with DOM whatever you want, this could even keep the ability to interact with wicket-ajax as long as components retain their ID's and you do not remove elements which are later added to the AjaxRequestTarget. On Thu, 13 Feb 2020 at 00:19, ViktorO wrote: > I have not used Wicket for some time now. Is is possible to dynamically > define component trees currently or we have to define them both in the HTML > layout and Java code as before? > Thanks in advance. > > - > Web Sales at https://frontit.dk/services/hjemmesider > -- > Sent from: > http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Is it now possible to dynamically define component trees on wicket?
I have not used Wicket for some time now. Is is possible to dynamically define component trees currently or we have to define them both in the HTML layout and Java code as before? Thanks in advance. - Web Sales at https://frontit.dk/services/hjemmesider -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org