Hi all,

   looking for workaround for the following issue:

  1. i have mixin, which is atatched to t:actionlink:

<a disabled="lacksPermission('reports:edit')" t:type="ActionLink"
t:mixins="MyMixin">

  2. Mixing doing :

    void afterRender()
    {
        String elementId = element.getClientId();
        .......
    }

  3. If actionlink is disabled in runtime, i'm getting

 java.lang.IllegalStateException: Client id for .... is not available as it
did not render yet (or was disabled).

  Which is pretty obvious what it means, but how can i test in mixin that
element was not rendered?

Reply via email to