• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AjaxDatePicker - Overriding CalendarCSS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AjaxDatePicker - Overriding CalendarCSS


  • Subject: Re: AjaxDatePicker - Overriding CalendarCSS
  • From: Markus Ruggiero <email@hidden>
  • Date: Wed, 08 Apr 2015 09:48:56 +0200


On 07.04.2015, at 22:13, Calven Eggert <email@hidden> 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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: AjaxDatePicker - Overriding CalendarCSS
      • From: Calven Eggert <email@hidden>
References: 
 >AjaxDatePicker - Overriding CalendarCSS (From: Calven Eggert <email@hidden>)

  • Prev by Date: Display group example?
  • Next by Date: Re: AjaxDatePicker - Overriding CalendarCSS
  • Previous by thread: Re: AjaxDatePicker - Overriding CalendarCSS
  • Next by thread: Re: AjaxDatePicker - Overriding CalendarCSS
  • Index(es):
    • Date
    • Thread