Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Javascript in a framework



No, surprisingly this is not supported.  File a bug.

In the meantime, you can implement your own.  :-)

Chuck


On Aug 30, 2006, at 11:49 AM, David Holt wrote:

Hello all,

I am calling a javascript that resides in a new framework that I have just created.

CalendarPopupJavaScript: WOJavaScript {
        scriptSource = "calendar.js";
        hideInComment = true;
}

The html generated reads:

<SCRIPT language=JavaScript src="/cgi-bin/WebObjects/ FrameworkTest.woa/wr? wodata=ERROR_NOT_FOUND_framework_*null*_filename_calendar.js"></ SCRIPT>

Can you call a javascript file that resides in a framework using WOJavaScript?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/chill% 40global-village.net


This email sent to email@hidden

--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects





_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/email@hidden

This email sent to email@hidden
References: 
 >Javascript in a framework (From: David Holt <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.