Re: Split Install and ERXResponseRewriter.addScriptResourceInHead()

Michael Schmiedgen <[email protected]> Thu, 20 Jun 2013 13:19:02 +0200
Newsgroups gmane.comp.web.webobjects.wonder-disc
Message-ID <[email protected]>
On 19.06.2013 22:32, Bastian Triller wrote:
> The WOFrameworksBaseURL property should've being set in the app startup
> script. See [1] for a discussio about that.
> I remember I had to remove the installed app dir to get the right script
> installed.
>
> [1]: http://lists.apple.com/archives/webobjects-dev/2012/Dec/msg00018.html
> Am 19.06.2013 19:13 schrieb "Michael Schmiedgen" <[email protected]>:

I added

setFrameworksBaseURL("/WebObjects/" + name() + ".woa/Frameworks");

to our frameworks Application base class constructor and it works as
expected, URL paths generated by addScriptResourceInHead() are
application relative now.

Thanks,
   Michael

-- 
___________________________

Michael Schmiedgen, BSc
Senior Software Engineer

Takwa GmbH
Friedrich-List-Str. 36
99096 Erfurt GERMANY

Tel  +49 361 6534096
Fax  +49 361 6534097
Mail [email protected]
Web  http://www.takwa.de/
___________________________


Amtsgericht Jena HRB 112964
Geschäftsführung: Ingo Buchholz

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Wonder-disc mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wonder-disc