Hi Thomas. You should be able to use: NSBundle.bundleForClass( My.class ).name()
Cheers, - hugi // Hugi Thordarson // http://www.godurkodi.is/ On 8.1.2013, at 13:53, Thomas Grass <[email protected]> (01SoftwareSolutions) wrote: > Hello WO-Developers, > within a component, i need to get the name of the framework for this function: > > public String logoPath() { > return > application().resourceManager().pathURLForResourceNamed("dataHeaderInvoice.png", > this.frameworkName(), null).getPath(); > } > > Usually i did this by the use of this.frameworkName(). In my current project, > this function returns "null" instead of the name of the framework. Is there > any other way to get this? > > Thomas > > > -- > Thomas Grass | 01SoftwareSolutions > [email protected] | www.01softwaresolutions.eu > Lichtenbergstraße 8 | D-85748 Garching b München > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/hugi%40karlmenn.is > > This email sent to [email protected] _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
