Search code examples
cappuccino

CPOpenPanel not working in Cappuccino


I am trying to use CPOpenPanel to select a file for upload, when I call runModal upon CPOpenPanel object , it is throwing an exception as CPInvalidArgumentException: - [CPOpenPanel runModel] unrecognized selector sent to instance 0x005585

Does CPOpenPanel still has bugs in cappuccino framework ? Am I missing something ? I just created an object and calling runModal on that object.


Solution

  • CPOpenPanel only works in our NativeHost environment, not the the browser. The same for CPSavePanel. Those are about the only classes this is true for.