sorry i misread again :),i assumed you meant for more than one item
the parent has to be repainted .
On Mon, Aug 6, 2012 at 3:45 PM, vineet semwal wrote:
> quickview *can* add/remove any number of items without the need to
> repaint the parent of repeater,check the examples in the quickview ;)
>
quickview *can* add/remove any number of items without the need to
repaint the parent of repeater,check the examples in the quickview ;)
,AjaxItemsNavigator and other new onscroll behaviors which i have
added recently would not have been possible if quickview was not
capable of that,they work like
On Mon, Aug 6, 2012 at 12:52 PM, vineet semwal wrote:
> actually with quickview you can add/remove any number of items but i
> might have overread/misunderstood what martin is saying..
Correct!
I meant to add/remove just items without the need to repaint the
parent of the repeater.
>
> On Thu, A
actually with quickview you can add/remove any number of items but i
might have overread/misunderstood what martin is saying..
On Thu, Aug 2, 2012 at 12:37 PM, Martin Grigorov wrote:
> On Thu, Aug 2, 2012 at 3:25 AM, Benjamin Heiskell
> wrote:
>> Hi,
>>
>> I have a List that I want to represent
On Thu, Aug 2, 2012 at 3:25 AM, Benjamin Heiskell
wrote:
> Hi,
>
> I have a List that I want to represent with TextFields. I need
> to be able to dynamically add and remove them via AJAX.
For dynamic add/remove of a single item see :
https://github.com/vineetsemwal/quickview/wiki
>
> From what I
Thank you, that's exactly the type of advice I was looking for!
On Thu, Aug 2, 2012 at 2:55 PM, Sven Meier wrote:
> This is not possible with ListView.
>
> You have to switch to RefreshingView with a ReuseIfModelsEqualStrategy.
>
> Hope this helps
> Sven
>
>
> On 08/02/2012 08:45 PM, Benjamin Hei
This is not possible with ListView.
You have to switch to RefreshingView with a ReuseIfModelsEqualStrategy.
Hope this helps
Sven
On 08/02/2012 08:45 PM, Benjamin Heiskell wrote:
That makes the TextFields reflect their original model correctly, but
it also disposes of any modified values.
For
That makes the TextFields reflect their original model correctly, but
it also disposes of any modified values.
For example:
1. List starts with "1", "2", "3"
2. Add two entries "4", "5"
3. Modify "1" to "modified"
4. Remove "2"
What I would like to see is: "modified", "3", "4", "5"
What I
After submit your TextFields still have their previous RAW_INPUT, call
form#clearInput() so they render the value from the model.
Sven
On 08/02/2012 05:31 PM, Benjamin Heiskell wrote:
Additions seem to work fine with setReuseItems(true), but I've been
having trouble with removals. My remove Aj
Additions seem to work fine with setReuseItems(true), but I've been
having trouble with removals. My remove AjaxButton calls
listView.getList().remove(item.getIndex()), but that always removes
the last element. Am I making an incorrect assumption about how this
should work?
The following is a simp
Hi,
what kind of problem have you encountered with ListView?
Hi,
I have a List that I want to represent with TextFields. I need
to be able to dynamically add and remove them via AJAX.
From what I’ve read online (and experienced firsthand) ListViews do
not seem to be designed for this.
What i
There's nothing wrong with using TextFields inside ListViews. Just call
#setReuseItems(true) and (in most cases) you're done.
And if you're using a LDM, detach it after you've changed the backing list.
Sven
On 08/02/2012 02:25 AM, Benjamin Heiskell wrote:
Hi,
I have a List that I want to rep
mples/nested/wicket/bookmarkable/org.apache.wicket.examples.ajax.builtin
.tree.EditableTreeTablePage?2
-Original Message-
From: Benjamin Heiskell [mailto:ben.heisk...@gmail.com]
Sent: Wednesday, August 01, 2012 8:26 PM
To: users@wicket.apache.org
Subject: Repeating TextFields
Hi,
I have a
13 matches
Mail list logo