No, but I'll make one now.

Eelco


On 9/13/05, Jim McBeath <[EMAIL PROTECTED]> wrote:
> Yes, and I am calling setOptimizeItemRemoval(true) on my ListView objects.
> 
> Is there an example somewhere of a form that uses and updates a ListView?
> 
> --
> Jim
> 
> On Tue, Sep 13, 2005 at 07:49:18PM +0200, Eelco Hillenius wrote:
> > From: Eelco Hillenius <[EMAIL PROTECTED]>
> > To: [email protected]
> > Subject: Re: [Wicket-user] ListItemModel doesn't update the item in the List
> > Date: Tue, 13 Sep 2005 19:49:18 +0200
> >
> > Before you look any further, did you read/do:
> > http://wicket.sourceforge.net/wiki/index.php/Listviews_in_a_form ?
> >
> > Eelco
> >
> >
> > On 9/13/05, Jim McBeath <[EMAIL PROTECTED]> wrote:
> > > I am working on an app with a form containing a table where some of the
> > > cells are editable.  The model for the app is a bean with a property
> > > for the data whose value is a List of Lists.  At the bottom, I create a
> > > CheckBox or TextField using the ListItem passed to me in populateItem.
> > > Since my models are all chained back to the original model, I expected
> > > that when I submitted the form, the data in my app model would be updated.
> > > However, this does not happen.  From looking at the code for 
> > > ListItemModel,
> > > it looks like the new value gets stored in the ListItemModel itself
> > > rather than getting stored in the List from which that model was created.
> > >
> > > ListItemModel.setObject() line 95 sets a local "object" variable rather
> > > than setting the data into the underlying list in the same way as it
> > > accesses it in ListItemModel.onAttach() line 70.
> > >
> > > Am I reading this correctly?  Shouldn't it be updating the List itself?
> > > I can do this myself in an onModelChanged() method, but it seems like I
> > > shouldn't have to.
> > >
> > > This is in rc1.
> > >
> > > --
> > > Jim McBeath
> > >
> > >
> > > -------------------------------------------------------
> > > SF.Net email is Sponsored by the Better Software Conference & EXPO
> > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle 
> > > Practices
> > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> > > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> > > _______________________________________________
> > > Wicket-user mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> >
> >
> > -------------------------------------------------------
> > SF.Net email is Sponsored by the Better Software Conference & EXPO
> > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> > _______________________________________________
> > Wicket-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to