Ticket #2530944 (closed enhancement)

Reporter


Brian J. Miller
Opened: 08/18/11
Last modified: 12/13/11
Status: closed
Type: enhancement
Resolution: wontfix

Owner


Ryan Grove
Target Release: 3.5.0
Priority: P3 (normal)
Summary: Include getClassName in Y.View
Description:

It is nice to be able to call .getClassName on Y.Widget based objects and get a sane class name, similar functionality would be very helpful with Y.View objects.

Type: enhancement Observed in Version: development master
Component: View Severity: S3 (normal)
Assigned To: Ryan Grove Target Release: 3.5.0
Location: Library Code Priority: P3 (normal)
Tags: Relates To:
Browsers: N/A
URL:
Test Information:

Change History

Ryan Grove

YUI Developer

Posted: 08/23/11
  • location changed to Library Code
  • milestone changed to 3.5.0
  • priority changed to P3 (normal)
  • status changed from new to accepted

Ryan Grove

YUI Developer

Posted: 08/23/11
  • estimated changed from 0 to 0.2
  • remaining changed from 0 to 0.2
  • sprint changed to sprint 2

Ryan Grove

YUI Developer

Posted: 12/13/11
  • resolution changed to wontfix
  • status changed from accepted to closed

After giving this some thought, I think getClassName probably doesn't add enough value to the base View class to justify being a default dependency. It's easy enough to add it to a subclass, so that's what I'd recommend doing if you need to generate class names for a view.