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
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
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
. 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
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
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
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
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
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
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
;>
>>>
>>>
>>> }
>>>
>>> Thanks
>>>
>>> Prati
>>>
>>> Johan Compagner wrote:
>>>>
>>>> You do use a delete button, so i guess the values are submitted.
>>>> Then
>>> 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,
>>>&
the model objects you won't loose
>>> anything
>>>
>>> johan
>>>
>>>
>>>
>>> On Feb 4, 2008 2:35 PM, pnerkar wrote:
>>>
>>>>
>>>> Hi Johan,
>>>>
>>>> Yes that will be
>>> -Pnerkar
>>>
>>>
>>> Johan Compagner wrote:
>>> >
>>> > wasn't the quickest solution:
>>> >
>>> > public void onSubmit() {
>>> >List vehicles = (List)
>>> getParent().getParent().
>> > 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:
>> >
&
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
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
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
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.
---
--
> 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
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
:
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
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
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
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
; >> item.add(new Label("label-objective-name",
>> >> backingListModel.getName()));
>> >>
>> >>final Button deletePlanObjectiveDetailButton = new
>> >> Button("butto
private static final long serialVersionUID = 1L;
> >>
> >> // onSubmit.
> >>public final void onSubmit() {
> >>new
> >> ObjectiveMeasureDataProvider().deleteObjectiveMeasure(b
// onSubmit.
>>public final void onSubmit() {
>>new
>> ObjectiveMeasureDataProvider().deleteObjectiveMeasure(backingListModel);
>>backingListModels.remove( ); /// < Searches
>> for backing M
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
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);
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
> 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 &
; 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
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
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,
> >
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
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
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
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:
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
gt;>
> > > >> >> >>
> > > >> >> >>
> > > >> >> >> igor.vaynberg wrote:
> > > >> >> >> >
> > > >> >> >> > vehicles.setReuseItems(true); <== that is what i
t; >> >> to
> > >> >> >> > reuse old components
> > >> >> >> >
> > >> >> >> > -igor
> > >> >> >> >
> > >> >> >> >
> > >> >> >> &
List vehicles = new VehiclesList("vehicledetails",
> >> >> >> >> ((RatingRequestAuto)getModelObject()).getVehicles());
> >> >> >> >> vehicles.setOutputMarkupId(true);
> >> >> >> >>
tems(true);
>> >> >> >> add(vehicles);
>> >> >> >>
>> >> >> >> private static class VehiclesList extends ListView {
>> >> >> >>
>> >> >> >>
>> >>
st vehicles) {
> >> >> >> super (id, vehicles);
> >> >> >>
> >> >> >> }
> >> >> >>
> >> >> >> protected void populateItem(final ListItem item)
> &g
add(new TextField("vehicle.modelText", new
>> >> >> PropertyModel(vehicle, "model")).setRequired(true));
>> >> >> TextField registrationnumber = new
>> >> >> TextField("vehicle.registrationnumber", new Pro
));
> >> >> TextField engineNumber = new
> >> >> TextField("vehicle.enginenumber", new
> >> >> PropertyModel(vehicle, "engineNumber"));
> >> >>
> >> >> final
item.getIndex();
>> >> Button remVehBtn = new Button("btn_removeVeh",
>> >> new ResourceModel(
>> >> "removevehicle" )) {
>> >> public void onSubmit() {
>> >>
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
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
t;,
>> >> new ResourceModel(
>> >> "removevehicle" )) {
>> >> public void onSubmit() {
>> >> List vehicles = (List)
>> >> getParent().getParent().getModelObject
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'
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
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
;> List vehicles = (List)
> >> getParent().getParent().getModelObject();
> >> vehicles.remove(index);
> >> }
> >> });
> >
new Button("btn_removeVeh",
>> new ResourceModel(
>> "removevehicle" )) {
>> public void onSubmit() {
>> List vehicles = (List)
>> getParent().getParent().getModelObject();
>> vehicles.remove(index);
>>
vehicles.remove(index);
> }
> });
> }
> }
>
> Thanks a lot for ur reply :)
>
>
>
>
> igor.vaynberg wrote:
> >
> > show us how you populate your listview...
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
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',
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
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
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
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
63 matches
Mail list logo