On Nov 23, 2007 10:31 AM, Peter Ertl <[EMAIL PROTECTED]> wrote:

> Hello Timo,
>
> I think this should be in JIRA.
>
> It's easy to update the data in the data provider. But it's really
> complicated to only update the changed elements of the data view in
> the ajax response as there is no easy way to get only the element of
> the data view that contain changes.
>
> usually you resort to
>
>   target.addComponent(dataView)
>
> but I want to do
>
>   target.addComponent(dataViewItem)
>
> imagine you have 200 elements of the data view in the browser window
> and only one changes. you don't want to transmit all 200 elements
> again but just that one.

+1, I had to write custom javascript to have a log component be updated with
new lines only, having something built-in in Wicket would be easier.

Xavier


>
>
> Best regards
> Peter
>
>
>
> Am 22.11.2007 um 04:49 schrieb Timo Rantalaiho:
>
> > I don't know if this should really be in Jira, as partial
> > Ajax updates on repeaters work without anything too special.
> >
> > In your case it sounds to me you would be better off using
> > DataView and updating the data its IDataProvider provides.
>
>


-- 
Xavier Hanin - Independent Java Consultant
http://xhab.blogspot.com/
http://ant.apache.org/ivy/
http://www.xoocode.org/

Reply via email to