> On 07.04.2015, at 22:13, Calven Eggert <[email protected]> wrote:
> 
> Hi All,
> 
> I’m using AjaxDatePicker and it works great on my machine, however, when 
> installed on server the app doesn’t display the date.
> 
> The link when working locally is:
> 
> AOD.loadCSS('/cgi-bin/WebObjects/CancerStaging.woa/_wr_/wodata=/Users/coredev/Projects/COREWonderFW/Resources/CORECalendar.css')
> 
> When on the server:
> 
> AOD.loadCSS('/WebObjects/Frameworks/COREWonderFW.framework/Resources/CORECalendar.css')
> 
> I am overriding the css and framework so that all my apps can use the same 
> css:
> 
> AuditAjaxDate: AjaxDatePicker {
> ...
> calendarCSS = "CORECalendar.css";
> calendarCSSFramework = "COREWonderFW";
> }
> 
> Have I entered the values correctly (relative paths), or is there something 
> else I’ve missed?
> 
> Calven
> 
> 

Calven,

this is "split install".

during development you can put your static webserver resources either in 
Resources or WebServerResources folder. The resource manager will locate them. 
The URL from the development clearly shows this (access through your 
application). In deployment mode however the resources will be referenced 
statically direclty by the web server, not through your application. Therefore 
the resources need to be put where your Apache can find them. This is called 
split install. When you build your application (ant build with build.xml) you 
get two .tar.gz files. One is the application and one contains the static web 
server resources. Unpack those into your docroot folder.

You can either embed all the frameworks into your application or then all the 
frameworks must be installed in either wo.system.frameworks or 
wo.local.frameworks (these are paths from your wolips.properties file). The ant 
build process will collect and package all the static resources from your 
application and the frameworks.

Hope this helps

---markus---

 _______________________________________________
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]

Reply via email to