Log message #111759

# At Username Text
# Aug 8th 2008, 13:19 mil I'm having trouble setting the number of rows for a textarea. I create it using $html->input('input_name', array('rows'=>'5', 'label'=>'thisismylabel'))
# Aug 8th 2008, 13:19 agentbob AD7six: not entirely.. 'LIKE' works if it's not in an array
# Aug 8th 2008, 13:19 AD7six 'ello
# Aug 8th 2008, 13:19 lqdice__ hello AD7six
# Aug 8th 2008, 13:19 AD7six agentbob: obvious that it would do that if you think about it.
# Aug 8th 2008, 13:18 AD7six freebox2 is the locale of your server br-pt
# Aug 8th 2008, 13:18 agentbob teknoid: any idea if there's a way to do multiple LIKE calls with that advnaced search? $conditions['OR']['fieldname'] = array('LIKE %foo%','LIKE %bar%'); comes out as: WHERE fieldname IN ('LIKE %foo%', 'LIKE %bar');
# Aug 8th 2008, 13:17 teknoid freebox2: in the view?
# Aug 8th 2008, 13:16 freebox2 how i can translate $piada['Piada']['created']; (DATE TIME) to brazilian portuguese: 27/12/2007
# Aug 8th 2008, 13:14 teknoid AD7six: ahh... i was wondering about that :)
# Aug 8th 2008, 13:13 AD7six teknoid: bizarre to approve messages from an old veteran ;)
# Aug 8th 2008, 13:12 teknoid AD7six: this morning
# Aug 8th 2008, 13:12 AD7six teknoid: purely out of interest did you recently change the email you use on the google group
# Aug 8th 2008, 13:10 lqdice__ this security component is too secure.. there is no easy to way to debug it
# Aug 8th 2008, 13:08 lqdice__ just saved me a few lines of code
# Aug 8th 2008, 13:08 lqdice__ )
# Aug 8th 2008, 13:08 lqdice__ oh ok
# Aug 8th 2008, 13:07 TommyO lqdice__: startup() in a component will only run if component is enabled
# 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__: check the Component class
# Aug 8th 2008, 13:07 TommyO lqdice__: $this->Security->enabled = false; in beforeFilter() or something like that
# Aug 8th 2008, 13:05 lqdice__ thats the only way i see right now
# 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__ yeah doesnt recognize it
# 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:03 lqdice__ the security component kicks in and says my request is bad
# Aug 8th 2008, 13:03 lqdice__ its not working
# Aug 8th 2008, 13:01 TommyO it doesn't force ajax, it recognizes it
# Aug 8th 2008, 13:01 TommyO I think that you're prematurely optimizing
# Aug 8th 2008, 13:01 lqdice__ just 1 action
# Aug 8th 2008, 13:01 lqdice__ TommyO: i dont want it to load w/ every action
# Aug 8th 2008, 13:00 TommyO lqdice__: why? add it to the controller's $components array
# 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 lqdice__ can it be loaded dynamically like this: App::import('Component', 'RequestHandling'); ?
# Aug 8th 2008, 12:59 TommyO lqdice__: read up on it. it's an integral part of cake's ajax support
# Aug 8th 2008, 12:59 lqdice__ will it then not mess w/ the security ?
# Aug 8th 2008, 12:59 TommyO it allows cake to recognize Ajax requests. does some magic for you. and I believe it protects the session too
# Aug 8th 2008, 12:58 TommyO err...RequestHandler I mean
# Aug 8th 2008, 12:58 lqdice__ whats that
# Aug 8th 2008, 12:57 lqdice__ no
# Aug 8th 2008, 12:57 TommyO lqdice__: does the controller that has /upload have the RequestActionComponent loaded?