Interface NamingContextable

    • Method Detail

      • getNamingContextId

        String getNamingContextId()
        Allow components that implement NamingContextable to selectively disable prepending their ID to their descendent's IDs by breaking the prepending logic into a seperately callable method.

        See WComponent.getId() for usage.

        By default, this method will call through to WComponent.getId() and return the result.

        Returns:
        by default, return getId().
      • isNamingContext

        boolean isNamingContext()
        A naming context is only considered active if an Id name has been set.
        Returns:
        true if active naming context.