Re: [Wicket-user] Re: Difference between DetachableChoiceList and ChoiceList

2005-07-23 Thread Phil Kulak
Yea, I was wondering why all of a sudden there's no way for me to
supply a detachable list. Will that functionality be replaced?

On 7/23/05, james [EMAIL PROTECTED] wrote:
 Hi Johan,
 
  Thanks for the clarification.
 
 Regards,
 James
 
 
 
 ---
 SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
 from IBM. Find simple to follow Roadmaps, straightforward articles,
 informative Webcasts and more! Get everything you need to get up to
 speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Re: Difference between DetachableChoiceList and ChoiceList

2005-07-23 Thread Johan Compagner

there is a way
The List can implement IDetachable and then detach will be called.
But this is a bit hidden currently and the attach cycle must completely 
be programmed by the developer

(on List.size() or List.get(xx) attach check must be done...)
So on the developer list i just posted a question how to refactor this
Currently i think we are heading this way:

replace this:
public AbstractChoice(final String id, IModel model, final List choices, 
final IChoiceRenderer renderer)


with this:

public AbstractChoice(final String id, IModel model, final IModel 
choices, final IChoiceRenderer renderer)


johan


Phil Kulak wrote:

Yea, I was wondering why all of a sudden there's no way for me to
supply a detachable list. Will that functionality be replaced?

On 7/23/05, james [EMAIL PROTECTED] wrote:
  

Hi Johan,

 Thanks for the clarification.

Regards,
James



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user





---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

  



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user