Log message #110420

# At Username Text
# Aug 7th 2008, 20:56 lqdice__ its giving me a hard time
# Aug 7th 2008, 20:56 lqdice__ markstory: err have you used swfupload before w/ Auth?
# Aug 7th 2008, 20:56 markstory and set $this->autoRender = false
# Aug 7th 2008, 20:56 zeeneo something like that, can't remember the parameter and it depends what you're using
# Aug 7th 2008, 20:56 markstory infantigniter: if you want quick and dirty echo 'foo'
# Aug 7th 2008, 20:56 zeeneo so then in your onSuccess(r) { if(r.json.success != true) { alert('arg'); } }
# Aug 7th 2008, 20:55 infantigniter oh, i understand
# Aug 7th 2008, 20:54 zeeneo infantigniter, you'd send the success of receiving the data
# Aug 7th 2008, 20:54 infantigniter well, "things" in this case being a minimal amount of data, like a 3 digit number
# Aug 7th 2008, 20:54 infantigniter markstory: lol. because my script only NEEDS to send data, not receive it. it sends a rating and some associated data; javascript does the updating of the page that sent the data. i don't need anything back. and i can't figure out how to send things back :)
# Aug 7th 2008, 20:54 zeeneo yeah, generally { success:true }
# Aug 7th 2008, 20:54 markstory and replying to it lets you know that all is well.
# Aug 7th 2008, 20:53 zeeneo SamuraiDio, try it and find out
# Aug 7th 2008, 20:53 zeeneo unsure, not done a findAllBy...
# Aug 7th 2008, 20:53 markstory it has feelings too.
# Aug 7th 2008, 20:53 SamuraiDio i mean, it works, but is ok to set fields and order that way?
# Aug 7th 2008, 20:53 markstory infantigniter: why would you be so mean to AJAX.
# Aug 7th 2008, 20:53 SamuraiDio is this fine? $cities = $this->Place->City->findAllByStateId($state_id, array('City.id', 'City.name'), 'City.name ASC');
# Aug 7th 2008, 20:53 zeeneo best practise
# Aug 7th 2008, 20:52 zeeneo you should do yes
# Aug 7th 2008, 20:52 infantigniter do i HAVE to send a response to an ajax request?
# Aug 7th 2008, 20:52 zeeneo ya it's the depth, how many it should recurse through
# Aug 7th 2008, 20:51 SamuraiDio just say that it is an int, i think it's the depth, right?
# Aug 7th 2008, 20:48 lqdice__ SamuraiDio: its in the docs
# Aug 7th 2008, 20:44 SamuraiDio or is it the 'how much down should i find'?
# Aug 7th 2008, 20:44 SamuraiDio is 'recursive' bollean on find() params?
# Aug 7th 2008, 20:43 SamuraiDio i'll just use find('all')
# Aug 7th 2008, 20:43 SamuraiDio well, anyway, i cant 'order' with it
# Aug 7th 2008, 20:42 SamuraiDio will findAllBy...() also be deprecated in 1.2?
# Aug 7th 2008, 20:41 lqdice__ is it possible to see why the security component is not happy w/ my form ?
# Aug 7th 2008, 20:40 zeeneo quick too
# Aug 7th 2008, 20:40 zeeneo heh
# Aug 7th 2008, 20:40 zeeneo oh i like cakebot code :)
# Aug 7th 2008, 20:30 polywog does anyone know how I might be able to do this: Set::extract($incidents, '{n}.Action.{n}.actions_phone')
# Aug 7th 2008, 20:27 polywog or belongs to post
# Aug 7th 2008, 20:26 polywog (in the ratings table)
# Aug 7th 2008, 20:26 polywog hey what about posts has many ratings, users hasmany ratings, rating has one post. unique the user_id and post_id
# Aug 7th 2008, 20:26 polywog freebox:
# Aug 7th 2008, 20:25 dsnap thanks
# Aug 7th 2008, 20:25 thestaff even tough I do it in the controler as well
# Aug 7th 2008, 20:25 thestaff but that means I have to parse the array again in the view