Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext User
    Join Date
    Mar 2009
    Posts
    18
    Vote Rating
    0
    DataSurfer is on a distinguished road

      0  

    Default [CLOSED] Component.applyState() not overrideable?

    [CLOSED] Component.applyState() not overrideable?


    Why is Component.applyState protected and not public as seems is intended by Component.initState()?

  2. #2
    Sencha User
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Because you are not calling it from the outside. CLOSED

  3. #3
    Sencha User
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Also you can override it when it is protected. This is basic Java.

  4. #4
    Ext User
    Join Date
    Mar 2009
    Posts
    18
    Vote Rating
    0
    DataSurfer is on a distinguished road

      0  

    Default


    I have custom Components that have state that needs to be saved and applied to and from the StateManager.

    How do I do that if my custom components can't override applyState?

  5. #5
    Sencha User
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    You can override it.

  6. #6
    Ext User
    Join Date
    Mar 2009
    Posts
    18
    Vote Rating
    0
    DataSurfer is on a distinguished road

      0  

    Default


    No I can't its protected

  7. #7
    Ext User
    Join Date
    Mar 2009
    Posts
    18
    Vote Rating
    0
    DataSurfer is on a distinguished road

      0  

    Default


    Oops nevermind

Thread Participants: 1