8 Replies Latest reply on May 26, 2009 9:20 PM by yancaoshi

    Conceptual question of creating customer component

    yancaoshi Level 1

      Hi all,


      I think most of you know how to create a customer component, one way of which is to inherit some standard component to have its behavior. But when I do this, for example


      public class ToggleButton extends Button


      However, metadata of Button is not considered in this new ToggleButton which is reasonable. So I copy all those definition, but the new problem is there are some included files in Button's metadata which makes problem more complex.


      Can we have some easier way for this?