I am well aware of the fact that no one will ever implement icomponent. What I am trying to do is to make it easier to create mixins.
If I want to have a group of components that implement a certain functionality having an interface with JUST that functionality doesn't work because the component implementation is IMPLICIT. I am trying to make it more EXPLICIT. -Igor > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Jonathan Locke > Sent: Saturday, July 30, 2005 11:31 AM > To: wicket-user@lists.sourceforge.net > Subject: Re: [Wicket-user] Feedback Refactor Idea > > > you're missing several major points, but especially this one: > > nobody will EVER implement IComponent. > > you'd have to write a whole new version of wicket to do that. > and in doing that, you'd discover that you wanted to change > IComponent anyway. > > Igor Vaynberg wrote: > > >Just from a quick look at the component Icomponent can have > > > >Getid() getpage() getapplication() getmodel() getmodelobject() > >getmodelobjectasstring() getrequest() getresponse() setresponsepage() > >modelchanging() modelchanged() ....... > > > >All these members are very stable and taking them out will break > >backwards compat anyways. > > > >I can do a more detailed analysis if this even has a chance of going > >through. Look at my ipageablecomponent patch, in my > ipageablecomponent > >I need to have getpage() which really shouldn't be there. > > > >Igor > > > > > > > > > > > >>-----Original Message----- > >>From: [EMAIL PROTECTED] > >>[mailto:[EMAIL PROTECTED] On Behalf > Of Jonathan > >>Locke > >>Sent: Saturday, July 30, 2005 10:30 AM > >>To: wicket-user@lists.sourceforge.net > >>Subject: Re: [Wicket-user] Feedback Refactor Idea > >> > >> > >>sorry, but yuck. what members would IComponent have? if > it has more > >>than one or two members, it will break in a matter of weeks if not > >>days. and again, components should not be aware of their attached > >>feedback components. > >> > >>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 > >> > >> > >> > >> > >> > > > > > > > > > >------------------------------------------------------- > >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