Did you implement +webScriptNameForSelector,
+isSelectorExcludedFromWebScript, +isKeyExcludedFromWebScript ?
here are some examples.
If you're using Tiger, take a look at the source code for the Fortune
Dashboard widget. It is very helpful.
Also, I've had trouble with window.alert() with WebViews. Try
document.write()
// isSelectorExcludedFromWebScript
//
// This method lets you filter which methods in your plugin are
accessible
// to the JavaScript side.
+(BOOL)isSelectorExcludedFromWebScript:(SEL)aSel {
if ( aSel == @selector(logMessage:)) {
return NO;
}
return YES;
}
[this an abridged version sent to the list because of the 12K
limitation]
Michael
--
Michael Hanna
email@hidden
iChat: michaelkhanna(AIM)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webkitsdk-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webkitsdk-dev/email@hidden