Re: DynamicModel within ListView That Refreshes on ModalWindow Close

2019-09-26 Thread Sven Meier
You'll have to show us some code (quickstart?), without it it is difficult to understand your problem. Have fun Sven Am 26. September 2019 16:41:47 MESZ schrieb dylanbozeman : >Thank you Ernesto. I will look into this. > >I didn't mean to be rude, I was thankful for the answer. I was just

Re: DynamicModel within ListView That Refreshes on ModalWindow Close

2019-09-26 Thread dylanbozeman
Thank you Ernesto. I will look into this. I didn't mean to be rude, I was thankful for the answer. I was just hopeful for a followup as the first response didn't address my specific situation, so I was trying to be direct. -- Sent from:

Re: DynamicModel within ListView That Refreshes on ModalWindow Close

2019-09-26 Thread Ernesto Reinaldo Barreiro
Hi, It is difficult to understand what you are describing. What I guess is you have a panel containing a listview and a label and open some modal to do some operation on listview and after that operation you want the label to show correct number of elements? If so, make the label receive a

Re: DynamicModel within ListView That Refreshes on ModalWindow Close

2019-09-25 Thread dylanbozeman
This actually didn't answer my question because what I want to display in the label is not contained within the ModelObject of my ListView items. It's a local list defined within the ListView itself. I want the Label to show a string the represents theList.size() but that list size can change

Re: DynamicModel within ListView That Refreshes on ModalWindow Close

2019-09-25 Thread Sven Meier
Hi, of course you can use a PropertyModel within a Listview, e.g.: https://github.com/apache/wicket/blob/0a1c33574d08ad9afd2e36a24085d48cdf9efc3f/wicket-examples/src/main/java/org/apache/wicket/examples/forminput/FormInput.java#L213 Or use a CompoundPropertyModel: