How to get object from *AttributeTypeController
Permalink
Hi...
I'm working on an attribute type. But, unlike most attribute types, it's not "blind". It depends on what it's attached to.
How can I get the object that it's attached to from within the controller?
I see that I can access the *AttributeKey object (in my case -- and every case for this particular attribute type -- the FileAttributeKey), and I have an akID, but I can't figure out where to get the fID (or File object) from.
Thanks,
James
I'm working on an attribute type. But, unlike most attribute types, it's not "blind". It depends on what it's attached to.
How can I get the object that it's attached to from within the controller?
I see that I can access the *AttributeKey object (in my case -- and every case for this particular attribute type -- the FileAttributeKey), and I have an akID, but I can't figure out where to get the fID (or File object) from.
Thanks,
James