1 Reply Latest reply on Apr 28, 2010 9:41 PM by Flex harUI

    is there a way to access class static constants via another class?

    sanggpark Level 1

      So here's what I mean.  Let's say I have a class ErrorMessages which holds all my error messages as static constants. So I could access them like ErrorMessages.PASSWORD_INVALID or ErrorMessage.PASSWORD_TOO_SHORT. I want to know if it is possible to have separate classes that hold subset of these constants and access them like ErrorMessages.PASSWORD.INVALID or ErrorMessages.PASSWORD.TOO_SHORT, etc.  This way I can more structured static structure and makes it much easier to use autocomplete.  I tried few different ways and couldn't figure out if this was possible..