Re: Get framework name

2013-01-23 Thread Miguel Torres
Thanks Mike, We'll test it. On 22/01/2013, at 17:47, Mike Schrag msch...@pobox.com wrote: Hi Miguel, You can use NSBundle.bundleForClass(some class in that bundle).name() You should test this with embedded frameworks in deployment … I seem to recall a bug at one point where the embedded

Re: Get framework name

2013-01-23 Thread Chuck Hill
Hi Miguel, You can use NSBundle.bundleForClass(some class in that bundle).name() Chuck On 2013-01-22, at 11:59 AM, Miguel Torres wrote: Hi List, We need to get the framework name to get some resource. We have made this before just calling the method frameworkName() from a java class

Get framework name

2013-01-22 Thread Miguel Torres
Hi List, We need to get the framework name to get some resource. We have made this before just calling the method frameworkName() from a java class that extends from a ERXComponent o WOComponent. Now we need to get the framework's name from a class that do not extends from WOComponent, is any

Re: Get framework name

2013-01-22 Thread Thomas Grass (01SoftwareSolutions)
Hi Miguel, i don't know if there is a function which can handle this. But a solution for your problem could be to build your class like that: public class YOURCLASS { private String _frameworkName public void init(String frameworkName) { _frameworkName = frameworkName; } public

Re: Get framework name

2013-01-22 Thread Hugi Thordarson
Hi Miguel. You should be able to use: NSBundle.bundleForClass( My.class ).name() Cheers, - hugi // Hugi Thordarson // http://www.godurkodi.is/ On 22.1.2013, at 19:59, Miguel Torres w...@toracom.net wrote: Hi List, We need to get the framework name to get some resource. We have made this

Re: Get framework name

2013-01-22 Thread Miguel Torres
Thanks everyone I will try it. On 22/01/2013, at 14:20, Chuck Hill ch...@global-village.net wrote: Hi Miguel, You can use NSBundle.bundleForClass(some class in that bundle).name() Chuck On 2013-01-22, at 11:59 AM, Miguel Torres wrote: Hi List, We need to get the framework

Re: Get framework name

2013-01-22 Thread Mike Schrag
Hi Miguel, You can use NSBundle.bundleForClass(some class in that bundle).name() You should test this with embedded frameworks in deployment … I seem to recall a bug at one point where the embedded jars inside of frameworks tricked NSBundle into thinking they were app-level jars. that might