That clears it up thanks

Christian

On Mon, 21 Nov 2005 12:04:26 -0800, Igor Vaynberg <[EMAIL PROTECTED]> wrote:

On 11/21/05, Christian Essl <[EMAIL PROTECTED]> wrote:

A question: is the ItemReuseStrategy (OIR) still needed for forms and
feebackpanels, because it seems also to work with removeAll()?


really depends on what you are doing.

the component handlers are called before the onbeginrequest of the page and its components, so while the event handler is operating on the dataview its
items are still intact from the previous request. The items wont be
refreshed until after the event handler is done, so no need to keep them
around via a strategy.

on the other hand, if the event handler modifies the Item ( you want to show
feedback in the row or something) and you want that change to still be
available during render, you need a strategy to keep the item around
otherwise it will be recretead in onbeginrequest handler.

does this clear it up?

-Igor



--
Christian Essl
        

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



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to