On Tue, 9 Aug 2005 19:16:34 -0700, Igor Vaynberg <[EMAIL PROTECTED]> wrote:

> Instead of using a Set in internalOnBeginRequest() use a
Map and map
> from Model to DataItem and get the (generated) id this way.

How does the dataview know how to get an id from Imodel?

-Igor

Why can't DataView generate its own ids and map them back to the IModels?

If there is already a DataItem which holds the current IModel than do not recreate it otherwise create a new DataItem give it some not yet existing id and the IModel - remove all DataItems for which the iterator has not given an IModel. Why does dataview have to get an id from the IModel?

Christian
        

        
                
___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de



-------------------------------------------------------
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