Opened 8 years ago

Closed 8 years ago

#4411 closed enhancement (fixed)

Widget factory should auto detect getters

Reported by: scottgonzalez Owned by: scottgonzalez
Priority: blocker Milestone: 1.8
Component: ui.core Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:


Plugins shouldn't have to define which methods are getters (or getters and setters). The widget factory should determine this automatically based on the return value of the plugin method. If the method returns the plugin instance, it should be chainable, otherwise it should be treated as a getter.

Change History (2)

comment:1 Changed 8 years ago by scottgonzalez

  • Owner set to scott.gonzalez
  • Status changed from new to accepted

comment:2 Changed 8 years ago by scottgonzalez

  • Resolution set to fixed
  • Status changed from accepted to closed

Fixed in r2453.

Note: See TracTickets for help on using tickets.