Re: Framework Name
Re: Framework Name
- Subject: Re: Framework Name
- From: Hugi Thordarson <email@hidden>
- Date: Tue, 08 Jan 2013 14:35:27 +0000
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@hidden> (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@hidden | 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@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >Framework Name (From: Thomas Grass <email@hidden> (01SoftwareSolutions)) |