Re: Get framework name
Re: Get framework name
- Subject: Re: Get framework name
- From: "Thomas Grass (01SoftwareSolutions)" <email@hidden>
- Date: Tue, 22 Jan 2013 21:14:54 +0100
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 YOURCLASS() { ... } ... }
You could initialize when you create your instance:
YOURCLASS yourClass = new YOURCLASS(); yourClass.init(frameworkName();
That would i do. Let me know if theres a better solution for this.
Thomas
Am 22.01.2013 um 20:59 schrieb 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 method to get it?
Thanks in advance.
Miguel
-- Thomas Grass | 01SoftwareSolutions 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