Uploaded image for project: 'Errai'
  1. Errai
  2. ERRAI-692

Better diagnostic for improper use of @Templated for list widgets

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.4.3.Final
    • Fix Version/s: 3.0.0.CR1
    • Component/s: ErraiUI
    • Labels:
      None

      Description

      The issue is described here:
      https://community.jboss.org/thread/236833

      Basically:
      ...
      @Templated(...)
      public class MyListWidget extends ListWidget<...>

      { ...}

      is illegal, as @Templated can not be applied to list widgets. However, Errai
      ends with a very obscure run-time exception that does not point to the problem. Ideally, It would be nice if such illegal code is caught at compile time.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                csa Christian Sadilek
                Reporter:
                hr.stoyanov Hristo Stoyanov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: