Re: Repeater that disposses content after rendering?

2009-03-03 Thread Martijn Dashorst
RefreshingView?

Martijn

On Tue, Mar 3, 2009 at 8:13 AM, Bert taser...@gmail.com wrote:
 Hi,

 perhaps this does not make sense, but is there a Component that
 discards all child components after the rendering, before
 the serialization?

 Would this make sense for components that render a large amount
 of child's (tables with many cells) where all of them could be
 reconstructed from a LDM in the repeater? Would this save space
 in the page store / session?

 Thanks in advance.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.5 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Repeater that disposses content after rendering?

2009-03-03 Thread Bert
That was my first idea and i checked the javadoc and source (without
following too deep
into the stack (DefaultItemReuseStrategy is where this is done?).

Good to know that the RefreshingView is behaving like this, i use it
rather often.

Thanks for the reply,
Bert

On Tue, Mar 3, 2009 at 09:43, Martijn Dashorst
martijn.dasho...@gmail.com wrote:
 RefreshingView?

 Martijn

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Repeater that disposses content after rendering?

2009-03-03 Thread Igor Vaynberg
refreshing view clears its content before render, not after render. if
you have a link in your table cell, or any component that requires a
callback and you clear the items after render than the link wont work
because when it is clicked the component that is supposed to receive
it is no longer there.

if this is not a concern for your particular usecase you can roll your
own repeater quiet easily using a subclassed refreshing view or
something similar.

-igor

On Tue, Mar 3, 2009 at 12:54 AM, Bert taser...@gmail.com wrote:
 That was my first idea and i checked the javadoc and source (without
 following too deep
 into the stack (DefaultItemReuseStrategy is where this is done?).

 Good to know that the RefreshingView is behaving like this, i use it
 rather often.

 Thanks for the reply,
 Bert

 On Tue, Mar 3, 2009 at 09:43, Martijn Dashorst
 martijn.dasho...@gmail.com wrote:
 RefreshingView?

 Martijn

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org