Hi,
Please help me out here. In my web app, I have to show a list of data.
Previously I was using simple arraylist in listview. To deal with any memory
concern in future, I moved from arraylist to loadabledetachablemodal list.
But now, in any operation like delete, update etc, whole list is being
Probably better to use a DataView with a dataprovider for populating
the list. The dataprovider has a way to create a model for each item.
In that you can use a LDM for just populating one item. The dataview
will only populate the dataprovider for rendering. For actions the
individual LDM will be
Martin,
Thanks for your input.
Chuck
From Chuck's iPad
iPad: (502) 713-3283
On Aug 18, 2012, at 7:06 AM, Martin Grigorov mgrigo...@apache.org wrote:
Hi,
Writing web apps requires writing JavaScript code ...
Even if you use components like Wicket-extensions' ModalWindow or
Hi,
Thanks for the reply. I am trying t achieve what you suggested me. But one
thing I want to ask. In listDataProvider, you will anyway provide list of
data to get rendered. You may render it in any manner but that list will be
stored as final or class variable. Wont that take up the session ? I
Hi,
yes the listDataProvider doesnt help for minimize memory usage. The
DataProvider will be stored in Component and therefore all fields are
also stored in component/session. For e.g. 2000 Session you have 2000
times the same list in memory. This is not what you want.
First optimization:
The main problem I am facing is that in Wicket 1.4.x I can't figure
out how to access ART from the component that was not added to this
ART, e.g. during ajax form submission.
I tried to add AjaxFormSubmitBehavior to every Form child of the page
but that overrode those form ajax-submit
Hi,
Thank you for clarifying me. Removing the reference can help me out. Let me
try it :)
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Should-I-really-go-for-LoadableDetachableModel-tp4651353p4651359.html
Sent from the Users forum mailing list archive at