Page 264 of 211,262, showing 20 records out of 4,225,223 total, starting on record 5,261, ending on 5,280
# | Username | Text | |
---|---|---|---|
# | Aug 8th 2008, 13:00 | lqdice__ | can it be loaded dynamically like this: App::import('Component', 'RequestHandling'); ? |
# | Aug 8th 2008, 13:00 | lqdice__ | TommyO: i dont know if swfupload really sends it as "ajax" per-se.. its posting to it .. ill try it htough |
# | Aug 8th 2008, 13:00 | TommyO | lqdice__: why? add it to the controller's $components array |
# | Aug 8th 2008, 13:01 | lqdice__ | TommyO: i dont want it to load w/ every action |
# | Aug 8th 2008, 13:01 | lqdice__ | just 1 action |
# | Aug 8th 2008, 13:01 | TommyO | I think that you're prematurely optimizing |
# | Aug 8th 2008, 13:01 | TommyO | it doesn't force ajax, it recognizes it |
# | Aug 8th 2008, 13:03 | lqdice__ | its not working |
# | Aug 8th 2008, 13:03 | lqdice__ | the security component kicks in and says my request is bad |
# | Aug 8th 2008, 13:04 | lqdice__ | swfupload afaik just does a regular post to that url so it may not detect it as ajax |
# | Aug 8th 2008, 13:05 | lqdice__ | yeah doesnt recognize it |
# | Aug 8th 2008, 13:05 | lqdice__ | i might just have to make it so i can force the security component not to load for some actions |
# | Aug 8th 2008, 13:05 | lqdice__ | thats the only way i see right now |
# | Aug 8th 2008, 13:07 | TommyO | lqdice__: $this->Security->enabled = false; in beforeFilter() or something like that |
# | Aug 8th 2008, 13:07 | TommyO | lqdice__: check the Component class |
# | Aug 8th 2008, 13:07 | lqdice__ | oh the component class lets you disable them? cause I didnt see anything in the actual security class |
# | Aug 8th 2008, 13:07 | TommyO | lqdice__: startup() in a component will only run if component is enabled |
# | Aug 8th 2008, 13:08 | lqdice__ | oh ok |
# | Aug 8th 2008, 13:08 | lqdice__ | ) |
# | Aug 8th 2008, 13:08 | lqdice__ | just saved me a few lines of code |