you do understand that i'm proposing we throw away the current model
almost completely, right?
Igor Vaynberg wrote:
Icomponent would be an interface that Component implements. This allows you
to pass around interfaces rather then concrete implementations.
For example if I have some function
setFeedbackComponent(Ifeedback feedback)
I have to assume that feedback is backed by a component that implemetns
ifeedback when in reality it could be anything.
Having Ifeedback extend Icomponent would ensure that the feedback is also a
component.
Igor
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Jonathan Locke
Sent: Saturday, July 30, 2005 10:02 AM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Feedback Refactor Idea
no. what's in this "IComponent"? nothing of use. we only need this:
public interface IFeedback
{
public void updateFeedback()
}
the rest is pure and simple OO programming!
Igor Vaynberg wrote:
And I still have to cast Ifeedback to Component in order to
retrieve
the model used for the label.
Ok scractch this one, im searching only the component tree so the
visitor will return a component. Still we should have an
Icomponent and
have Ifeedback extend Icomponent to make it clearer.
-Igor
-------------------------------------------------------
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=7477&alloc_id=16492&op=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=7477&alloc_id=16492&op=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=7477&alloc_id=16492&op=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=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user