Need for a CPOpenPanel
-
Ross Boucher
- State changed from new to open
This is a challenging task. The first goal is essentially impossible, at least, sort of.
Web apps can't talk to the native file system, and that isn't likely to change in the near future. The only exception is using the "File Upload" mechanism (input type="file").
We do need to build support for this into Cappuccino (we have it in 280 Slides, and have the sample code in our gist pastebin). However, beyond that, there's essentially nothing we can do with respect to local file system files.
As for a generic open panel for remote server files, this is a worthwhile goal, but it isn't obvious how it would work. The interaction is very server component specific. How do I get a list of available files? Do I support folders? Are there previews for these files available? Metadata?
It may be that we'll make a set of default assumptions, built a somewhat generic looking open panel, and then see where it takes us, but right now I think the project is better served by focusing on slightly more generic tasks (specifically ones that don't require us to worry about server interaction).
All that being said, if someone wants to volunteer to work on this, then that's great. I'm happy to think things through with someone.
We can also consider releasing the 280 Slides open panel as sample code. It would not be directly reusable (its fairly specifically oriented towards slides), but it would be a reasonable starting point for anyone.
-
Thrinz
The Import Button on the 280slides.com does not seem to work for Opera.
-
Ross Boucher
It also doesn't work in some versions of IE, but I haven't been able to determine which versions....
It's not part of Cappuccino though, and for several reasons.
-
admin (at 280north)
- State changed from open to resolved
- Tag set to @new-features
(from [a30250f758d0ba4a6b448d0c58ec533965d9b452]) Merge branch 'menus' into jake
Closes #73 CPKeyValueCoding methods for CPDictionary.
Closes #75 Toolbar item setImage order matters.
Closes #121 Need for a CPOpenPanel.
Closes #130 CPURLRequest content-type incorrect for POST.
Closes #197 CPTextField in toolbar seems not to work.Reviewed by me.
http://github.com/280north/cappuccino/commit/a30250f758d0ba4a6b448d...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.