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 dynamic
model not caching the number of elements (e.g. AbstractReadOnlyModel or
LDM). Then I would update the whole panel via AJAX.

Side note: no one in this list is getting paid for answering and helping
people. Maybe starting you messages with "Thanks for your answer... But
unfortunately what you have answered does not help me because ..." might
increase the chances you get answered in the future.

On Wed, Sep 25, 2019 at 9:00 PM dylanbozeman <dylan.m.boze...@boeing.com>
wrote:

> I have a Label within a ListView that is refreshed using Ajax upon the
> closing of a ModalWindow that is also part of that ListView.
>
> Th problem is, the Label isn't refreshing.
>
> I don't believe I can use a PropertyModel within a ListView and I believe I
> need that for the Label to by dynamic. (if I can use a PropertyModel, how
> so? because I can't specify - new PropertyModel(this,
> "localVariableInsideListView") - because it looks at the class level for
> that variable)
>
> Is there a way around this or something I am not seeing?
>
> When I do this with a regular Model I am getting:
>
> [qtp976782276-127] WARN org.apache.wicket.page.PartialPageUpdate -
> Component
> '[Component id = numberLabel]' not rendered because it was already removed
> from page
>
>
>
>
> --
> 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
>
>

-- 
Regards - Ernesto Reinaldo Barreiro

Reply via email to