Re: list view ajax update takes too much time

2015-04-17 Thread Chris
over all object > panels. > How can I add a specific Panel as sink so that I can use the Exact strategy? > Currently, the page is added as sink. > > Thanks, > Chris > > >> Am 17.04.2015 um 17:55 schrieb Chris : >> >> Hi all, >> >> I have a

Re: list view ajax update takes too much time

2015-04-17 Thread Chris
Hi, the problem seems with the Breadth strategy that iterates over all object panels. How can I add a specific Panel as sink so that I can use the Exact strategy? Currently, the page is added as sink. Thanks, Chris > Am 17.04.2015 um 17:55 schrieb Chris : > > Hi all, > > I h

list view ajax update takes too much time

2015-04-17 Thread Chris
Hi all, I have a list view with about 100 objects. For updating the individual panels based on some user action, I am using the Broadcast.Breadth strategy. This works fine when the list contains a few objects, but with 100 objects it takes about 2 seconds to render the corresponding panel. I

Re: Add components dynamically to a list view

2012-05-10 Thread James Carman
. So here it goes the issue > that I have: > > I want to add to a list view different components dynamically. E.g., > depending on the listItem model, I want to add an input field or a select > box to my list view. And I also want to use the CompoundPropertyModel for > these comp

Add components dynamically to a list view

2012-05-10 Thread cristic83
Hi guys, I have the following scenario to implement and I couldn't devise my own solution or find anywhere on the internet something that could help me, so I thought to give it a try on this mailing list. So here it goes the issue that I have: I want to add to a list view different compo

Re: Looking for Editable List View

2011-08-21 Thread mnadeem
How about this one https://github.com/mnadeem/EditableGridWicket_1_3 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Looking-for-Editable-List-View-tp1853936p3758096.html Sent from the Users forum mailing list archive at Nabble.com

Re: load list view when scroll

2011-04-06 Thread Flori
again, there is nothing reloaded. I can not use pagination, I have to keep the scroll. Do you have any idea how can I clear (and if it's possible) the list views previously loaded? But in such a manner that if I scroll to them again, to reload the documents corresponding to the respective Batch

Re: load list view when scroll

2011-04-05 Thread Michael O'Cleirigh
eping only one Batch loaded in memory once (so only max 50 documents) and to clear all the other ListView objects previously created which are not used anymore. Do you have any ideas that can help me? Thank you! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/load-list-vi

load list view when scroll

2011-04-05 Thread Flori
ear all the other ListView objects previously created which are not used anymore. Do you have any ideas that can help me? Thank you! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/load-list-view-when-scroll-tp3428291p3428291.html Sent from the Users forum mailing list

CRUD Operation on a List View or Grid View

2010-11-22 Thread Nivedan Nadaraj
Hi All, I am starting to build a component that allows to add, edit and delete items into/from a List/Grid view. The use case is where we want to add multiple phone/address items as part of adding a contact. - User enters Contact related details - User gets a list of pre-existing(if any) Phone n

Re: How to delete an item from List view.

2010-03-17 Thread prati
;> >>> >>> >>> } >>> >>> Thanks >>> >>> Prati >>> >>> Johan Compagner wrote: >>>> >>>> You do use a delete button, so i guess the values are submitted. >>>> Then

Re: How to delete an item from List view.

2010-03-17 Thread Major Péter
>>> Then if you store those first in the model objects you won't loose >>> anything >>> >>> johan >>> >>> >>> >>> On Feb 4, 2008 2:35 PM, pnerkar wrote: >>> >>>> >>>> Hi Johan, >>>&

Re: How to delete an item from List view.

2010-03-17 Thread prati
the model objects you won't loose >>> anything >>> >>> johan >>> >>> >>> >>> On Feb 4, 2008 2:35 PM, pnerkar wrote: >>> >>>> >>>> Hi Johan, >>>> >>>> Yes that will be

Re: How to delete an item from List view.

2010-03-17 Thread prati
>>> -Pnerkar >>> >>> >>> Johan Compagner wrote: >>> > >>> > wasn't the quickest solution: >>> > >>> > public void onSubmit() { >>> >List vehicles = (List) >>> getParent().getParent().

Re: How to delete an item from List view.

2010-03-15 Thread prati
>> > that should work fine. After you alter the listviews model you have to >> > remove all the items so that it will rebuild >> > >> > johan >> > >> > >> > >> > >> > On Feb 1, 2008 12:49 AM, pnerkar wrote: >> > &

list view

2010-01-18 Thread chinedu efoagui
Hello, I have a table that stores menutabs. In the list of tabs are main tabs On the page there are main tabs and subtabs that would appear if the tab that is click in the active one for example "home", "applications","admin". there could be subtabs under "applications" menu such as "leave", "loan

Re: Updating form components in list view

2009-04-06 Thread Ryan Gravener
have you tried ListView#setReuseItems(true) ? Ryan Gravener http://ryangravener.com/flex | http://twitter.com/ryangravener On Mon, Apr 6, 2009 at 4:57 PM, Jeff Palmer wrote: > I have a list view that has some form components (a checkbox and a > RadioChoice). All of the data from the Li

Updating form components in list view

2009-04-06 Thread Jeff Palmer
I have a list view that has some form components (a checkbox and a RadioChoice). All of the data from the ListView is getting displayed on the page properly, but when I try to modify one of the form values, it isn't getting updated as expected. If anyone has any idea what I might be

Re: counting/summing items in a list view

2009-03-11 Thread Brill Pappin
users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- View this message in context: http://www.nabble.com/counting-summing-items-in-a-list-view-tp22448946p22450359.html Sent from the Wicket - User mailing list archive at Nabble.com. ---

Re: counting/summing items in a list view

2009-03-11 Thread triswork
-- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > -- View this message in context: http://www.nabble.com/counting-summing-items-in-a-list-view-tp224489

counting/summing items in a list view

2009-03-10 Thread Brill Pappin
I have an issue I'm sure someone else must have come across at one point or another. It's essentially to do with rendering order. Take the following example: final BigDecimalCalc adder = new BigDecimalCalc(); add(new ListView<...>("myListView", yModel(...)) { ... protected void

Re: Looking for Editable List View

2008-08-14 Thread J.D.
: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/inmethod-grid https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/inmethod-grid -- View this message in context: http://www.nabble.com/Looking-for-Editable-List-View-tp18489968p18986853.html Sent from the

Looking for Editable List View

2008-07-16 Thread Jonathan Chauncey
of an Editable ListView. -- View this message in context: http://www.nabble.com/Looking-for-Editable-List-View-tp18489968p18489968.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mai

Re: How to get the data altered by the user in html page in a list view

2008-07-07 Thread Igor Vaynberg
a) you should be using models to bind data instead of directly iterating over listview's listitems b) when using listview in a form you should call setreuseitems(true) on it. -igor On Mon, Jul 7, 2008 at 3:17 AM, Deepak_G <[EMAIL PROTECTED]> wrote: > > Hello, > > I a

How to get the data altered by the user in html page in a list view

2008-07-07 Thread Deepak_G
Hello, I am rendering a list view having multiple rows using wicket. In form submit(), I could retrive the data in below mentioned code but i am not sure whether it is right way of getting the changed data from the list view . Below is my code snippet attached. Please review the

Re: Refreshing a List view

2008-06-06 Thread Ricky
; >> item.add(new Label("label-objective-name", >> >> backingListModel.getName())); >> >> >> >>final Button deletePlanObjectiveDetailButton = new >> >> Button("butto

Re: Refreshing a List view

2008-06-06 Thread Ricky
private static final long serialVersionUID = 1L; > >> > >> // onSubmit. > >>public final void onSubmit() { > >>new > >> ObjectiveMeasureDataProvider().deleteObjectiveMeasure(b

Re: Refreshing a List view

2008-06-06 Thread Maurice Marrink
// onSubmit. >>public final void onSubmit() { >>new >> ObjectiveMeasureDataProvider().deleteObjectiveMeasure(backingListModel); >>backingListModels.remove( ); /// < Searches >> for backing M

Re: Refreshing a List view

2008-06-05 Thread Sam Barnum
Models.remove( ); /// < Searches for backing Model deleted in current list based on id and removes it. // TODO Figure out a way to do list view refresh here. } }; item.add(deletePlanObjectiveDetailButto

Refreshing a List view

2008-06-05 Thread Ricky
istModels.remove( ); /// < Searches for backing Model deleted in current list based on id and removes it. // TODO Figure out a way to do list view refresh here. } }; item.add(deletePlanObjectiveDetailButton);

Re: How to delete an item from List view.

2008-02-04 Thread Nino Saturnino Martinez Vazquez Wael
I've come to love listview, and use it all the time. Would be sad to see it go away.. Sure there are somethinges you need to be aware of when working with it but thats just life... -1 Eelco Hillenius wrote: On Feb 4, 2008 3:45 AM, Martijn Dashorst <[EMAIL PROTECTED]> wrote: On 2/3/08, Eel

Re: How to delete an item from List view.

2008-02-04 Thread pnerkar
> differently) >> > that should work fine. After you alter the listviews model you have to >> > remove all the items so that it will rebuild >> > >> > johan >> > >> > >> > >> > >> > On Feb 1, 2008 12:49 AM, pnerkar &

Re: How to delete an item from List view.

2008-02-04 Thread Igor Vaynberg
; differently) > > > that should work fine. After you alter the listviews model you have to > > > remove all the items so that it will rebuild > > > > > > johan > > > > > > > > > > > > > > > On Feb 1, 2008 12:49 AM, pner

Re: How to delete an item from List view.

2008-02-04 Thread Eelco Hillenius
On Feb 4, 2008 3:45 AM, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > On 2/3/08, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > > > How about a reconsideration of depreciating ListView? > > > -1 > > If anytime someone comes along with a misunderstanding of a valid component > we don't have a framew

Re: How to delete an item from List view.

2008-02-04 Thread Johan Compagner
ld work fine. After you alter the listviews model you have to > > remove all the items so that it will rebuild > > > > johan > > > > > > > > > > On Feb 1, 2008 12:49 AM, pnerkar <[EMAIL PROTECTED]> wrote: > > > >> > >> Hi All, > >

Re: How to delete an item from List view.

2008-02-04 Thread pnerkar
del you have to > remove all the items so that it will rebuild > > johan > > > > > On Feb 1, 2008 12:49 AM, pnerkar <[EMAIL PROTECTED]> wrote: > >> >> Hi All, >> >> I have rendered a list view on a Web Page. >> >> vehicle1

Re: How to delete an item from List view.

2008-02-04 Thread Johan Compagner
that list you really should do it differently) that should work fine. After you alter the listviews model you have to remove all the items so that it will rebuild johan On Feb 1, 2008 12:49 AM, pnerkar <[EMAIL PROTECTED]> wrote: > > Hi All, > > I have rendered a

Re: How to delete an item from List view.

2008-02-04 Thread Martijn Dashorst
On 2/3/08, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > How about a reconsideration of depreciating ListView? -1 If anytime someone comes along with a misunderstanding of a valid component we don't have a framework left: - models - drop down choice - urls - mounting All those things can b

Re: How to delete an item from List view.

2008-02-02 Thread Igor Vaynberg
i dont think i was harsh. i simply stated that the excuse "i dont yet know enough" is not really an excuse but a cop out, because most users dont come back and contribute something. im not angry about it, but it is a fact. -igor On Feb 2, 2008 9:05 PM, Eelco Hillenius <[EMAIL PROTECTED]> wrote:

Re: How to delete an item from List view.

2008-02-02 Thread Eelco Hillenius
On Feb 2, 2008 2:19 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > well, thats the problem. you say you are not the right person because > you dont know. and that is the excuse a lot of users give for not > writing the wiki page. but guess what, after we help them here and > they do understand how

Re: How to delete an item from List view.

2008-02-02 Thread Igor Vaynberg
gt;> > > > >> >> >> > > > >> >> >> > > > >> >> >> igor.vaynberg wrote: > > > >> >> >> > > > > >> >> >> > vehicles.setReuseItems(true); <== that is what i

Re: How to delete an item from List view.

2008-02-02 Thread Alan Romaniuc
t; >> >> to > > >> >> >> > reuse old components > > >> >> >> > > > >> >> >> > -igor > > >> >> >> > > > >> >> >> > > > >> >> >> &

Re: How to delete an item from List view.

2008-02-01 Thread Igor Vaynberg
List vehicles = new VehiclesList("vehicledetails", > >> >> >> >> ((RatingRequestAuto)getModelObject()).getVehicles()); > >> >> >> >> vehicles.setOutputMarkupId(true); > >> >> >> >>

Re: How to delete an item from List view.

2008-02-01 Thread pnerkar
tems(true); >> >> >> >> add(vehicles); >> >> >> >> >> >> >> >> private static class VehiclesList extends ListView { >> >> >> >> >> >> >> >> >> >>

Re: How to delete an item from List view.

2008-02-01 Thread Igor Vaynberg
st vehicles) { > >> >> >> super (id, vehicles); > >> >> >> > >> >> >> } > >> >> >> > >> >> >> protected void populateItem(final ListItem item) > &g

Re: How to delete an item from List view.

2008-02-01 Thread pnerkar
add(new TextField("vehicle.modelText", new >> >> >> PropertyModel(vehicle, "model")).setRequired(true)); >> >> >> TextField registrationnumber = new >> >> >> TextField("vehicle.registrationnumber", new Pro

Re: How to delete an item from List view.

2008-02-01 Thread Igor Vaynberg
)); > >> >> TextField engineNumber = new > >> >> TextField("vehicle.enginenumber", new > >> >> PropertyModel(vehicle, "engineNumber")); > >> >> > >> >> final

Re: How to delete an item from List view.

2008-02-01 Thread pnerkar
item.getIndex(); >> >> Button remVehBtn = new Button("btn_removeVeh", >> >> new ResourceModel( >> >> "removevehicle" )) { >> >> public void onSubmit() { >> >>

Re: How to delete an item from List view.

2008-02-01 Thread Martijn Dashorst
gt; On Jan 31, 2008 3:49 PM, pnerkar <[EMAIL PROTECTED]> wrote: > >> > >> Hi All, > >> > >> I have rendered a list view on a Web Page. > >> > >> vehicle1X > >> vehicle2X > >> vehicle3X > >> > &g

Re: How to delete an item from List view.

2008-02-01 Thread pnerkar
Hi Eelco, RefreshingView is available in wicket 1.3.0. While I'm using wicket 1.2.6. Regards, Pankaj,... Eelco Hillenius wrote: > > On Jan 31, 2008 3:49 PM, pnerkar <[EMAIL PROTECTED]> wrote: >> >> Hi All, >> >> I have rendered a list view on a Web P

Re: How to delete an item from List view.

2008-01-31 Thread pnerkar
t;, >> >> new ResourceModel( >> >> "removevehicle" )) { >> >> public void onSubmit() { >> >> List vehicles = (List) >> >> getParent().getParent().getModelObject

Re: How to delete an item from List view.

2008-01-31 Thread Eelco Hillenius
On Jan 31, 2008 3:49 PM, pnerkar <[EMAIL PROTECTED]> wrote: > > Hi All, > > I have rendered a list view on a Web Page. > > vehicle1X > vehicle2X > vehicle3X > > when a person click on 'X', that item should be deleted. > But I'

Re: How to delete an item from List view.

2008-01-31 Thread Igor Vaynberg
if you want to talk about a cleaner way... add(new removelink("remove", item.getmodel()) { onclick() { vehicles.remove(getmodelobject()); } } assuming vehicles is a property on listview's parent... -igor On Jan 31, 2008 7:29 PM, Timo Rantalaiho <[EMAIL PROTECTED]> wrote: > On Thu, 3

Re: How to delete an item from List view.

2008-01-31 Thread Timo Rantalaiho
On Thu, 31 Jan 2008, pnerkar wrote: > public void onSubmit() { > List vehicles = (List) getParent().getParent().getModelObject(); > vehicles.remove(index); > } As a cleaner way to do this you could try List vehicles = findParent(VehiclesList.class).getModelObject(); Best wishes

Re: How to delete an item from List view.

2008-01-31 Thread Igor Vaynberg
;> List vehicles = (List) > >> getParent().getParent().getModelObject(); > >> vehicles.remove(index); > >> } > >> }); > >

Re: How to delete an item from List view.

2008-01-31 Thread pnerkar
new Button("btn_removeVeh", >> new ResourceModel( >> "removevehicle" )) { >> public void onSubmit() { >> List vehicles = (List) >> getParent().getParent().getModelObject(); >> vehicles.remove(index); >>

Re: How to delete an item from List view.

2008-01-31 Thread Igor Vaynberg
vehicles.remove(index); > } > }); > } > } > > Thanks a lot for ur reply :) > > > > > igor.vaynberg wrote: > > > > show us how you populate your listview...

Re: How to delete an item from List view.

2008-01-31 Thread pnerkar
etParent().getModelObject(); vehicles.remove(index); } }); } } Thanks a lot for ur reply :) igor.vaynberg wrote: > > show us how you populate your listview... > > -igor > > > On Jan 31, 2008 3:49 PM, pnerkar <[EMAIL

Re: How to delete an item from List view.

2008-01-31 Thread Igor Vaynberg
show us how you populate your listview... -igor On Jan 31, 2008 3:49 PM, pnerkar <[EMAIL PROTECTED]> wrote: > > Hi All, > > I have rendered a list view on a Web Page. > > vehicle1X > vehicle2X > vehicle3X > > when a person click on 'X',

How to delete an item from List view.

2008-01-31 Thread pnerkar
Hi All, I have rendered a list view on a Web Page. vehicle1X vehicle2X vehicle3X when a person click on 'X', that item should be deleted. But I'm facing an issue, when i click on 'X', last item get deleted. Actually when I delete vehicle2 from my list, it

Re: Refreshing list view with ajax

2007-11-23 Thread Al Maw
Al Maw wrote: godin wrote: Hi, as a stupid newbie, i encounters a problem with refreshing list view with ajax i edit an object which relate to a list view in a modal dialog , and i can't manage to refresh the listview after the submit all the object in the list are detachable , (i ove

Re: Refreshing list view with ajax

2007-11-23 Thread Al Maw
godin wrote: Hi, as a stupid newbie, i encounters a problem with refreshing list view with ajax i edit an object which relate to a list view in a modal dialog , and i can't manage to refresh the listview after the submit all the object in the list are detachable , (i override the getItem

Refreshing list view with ajax

2007-11-23 Thread godin
Hi, as a stupid newbie, i encounters a problem with refreshing list view with ajax i edit an object which relate to a list view in a modal dialog , and i can't manage to refresh the listview after the submit all the object in the list are detachable , (i override the getItemModel to