Looks what Im trying todo are sort of a misuse of wicket, i'll fallback to using a plain model for the forms then.
And thanks :) On Wed, Jun 8, 2016 at 9:42 PM, Martin Grigorov <mgrigo...@apache.org> wrote: > Hi, > > The ListView will render whatever its underlying List contains. > It is up to you to decide how to load the items of the list and how to > store them. > You could use a composite model that has a slot for those custom entries > and another one that delegates to the LDM. > > You may also find the following article interesting: > http://wicketinaction.com/2008/10/repainting-only-newly-created-repeater-items-via-ajax/ > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Wed, Jun 8, 2016 at 7:43 PM, nino martinez wael < > nino.martinez.w...@gmail.com> wrote: > >> Hi >> >> Are there a way to remove one or more list items from a listview >> backed by a loadabledetachablemodel that are inside a form? >> >> I seem to be stuck at only be able to remove the current clicked >> item.. This applies whether or not ajax are used.. I think it's >> because the detachable model are detached between requests. forgetting >> the changes made to it (working as designed from wicket). >> >> Im interested in being able to remove items or potentially also adding >> items without persisting to our dao layer.. >> >> What are the options? >> >> 1.Making a normal model, that serializes the whole object graph >> 2.Making a shallow model copy that only keeps changes on disk? >> >> Or something completely different like manipulating the markup with >> jquery or something? >> >> -- >> Best regards / Med venlig hilsen >> Nino Martinez >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> -- Best regards / Med venlig hilsen Nino Martinez --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org