Trouble updating ListEditor with a detachable model

2016-04-11 Thread ChambreNoire
Hi, I'm trying to use the ListEditor component from the Wicket in Action blog (). I'm giving it a PropertyModel that points to "parent.children" where parent is a LDM that loads a 'parent' from the database. It displays properly however when I update the TextFields added to the ListItems and try

Re: Panel.this always giving previous version of the object but not the modified one.

2016-04-11 Thread Francois Meillet
Hi, In order to help you, you should show us the code you use for the MyTextFieldPanel class and the modal window content (The PageCreator or the component you use). Even better, try to do a quickstart. https://wicket.apache.org/start/quickstart.html François Le 11 avr. 2016 à

Re: repeater with 2 TR's in each row (how to highlight)

2016-04-11 Thread Sven Meier
Sorry, you markup didn't make it through - please repeat your question. Regards Sven On 11.04.2016 19:24, trlt wrote: I have the following in my repeater (ListView) in which each row has 2 TR's: Everything works, but now I want to highlight the selected TR.

repeater with 2 TR's in each row (how to highlight)

2016-04-11 Thread trlt
I have the following in my repeater (ListView) in which each row has 2 TR's: Everything works, but now I want to highlight the selected TR. item.add(AttributeModified.replace("class, new Model("selected")) adds this to , not to . Any suggestions?

repeater with 2 TR's in each row (how to highlight)

2016-04-11 Thread trlt
I have the following in my repeater (ListView) in which each row has 2 TR's: Everything works, but now I want to highlight the selected TR. item.add(AttributeModified.replace("class, new Model("selected")) adds this to , not to . Any suggestions?