Feature Requests item #1247793, was opened at 2005-07-30 01:31
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684978&aid=1247793&group_id=119783

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: 1.1
Status: Open
Priority: 5
Submitted By: Igor (ivaynberg)
Assigned to: Nobody/Anonymous (nobody)
Summary: we need an IComponent interface

Initial Comment:
we need to create an IComponent interface. this will
make things much more flexible.

here are a couple of examples:

i am working on a fieldlabel component. i am going to
add a FieldLabel field to the FormComponent to allow
linking between the two. currently FieldLabel extends
Label and that works great. However what if someone
wants to create a field label thats more complex and
thus needs to be a panel. without IComponent they are
stuck in either the webmarkupcontainer hirarchy or
webcomponent hirarchy. with IComponent all i have to do
is create a new interface IFieldLabel extends
IComponent, put all the special methods the field label
provides and now it can come from anywhere.

another example is the IPageableComponent patch.
currently IPageableComponent needs to have a Page
getPage() func in it because it is accessed by some
navigating components. if IPageableComponent could
extend IComponent i would not need to put that function in.

Thanks,
Igor


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684978&aid=1247793&group_id=119783


-------------------------------------------------------
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-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to