Receiving actions from WebViews
Receiving actions from WebViews
- Subject: Receiving actions from WebViews
- From: "Eric Czarny" <email@hidden>
- Date: Fri, 18 Aug 2006 09:22:48 -0400
Hey All,
Okay, so in my never-ending quest to learn new UI coolness, I came across
the idea of using a WebView as an integral UI aspect of an application I
plan on working on. Basically, if you have used NewsFire you may know what I
am talking about. For those who haven't: Instead of using an NSTableView,
NewsFire uses a WebView+XHTML/CSS to present a table of data.
Displaying the information is easy: Basically I would generate XHTML for the
data I want to display, then pass it to the WebView to render. However, how
would I intercept actions from the WebView and redirect them to my
application? I was thinking registering an AppleEvent (Event ID: kAEGetURL)
for a given URL scheme, so that my application would then receive the URL,
passing it along to a method to parse the URL and garner an action from it.
Sound feasible? Anybody out there implement such a beast? Any information
would be extremely useful. Thanks!
Cheers,
Eric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden