Log message #109832

# At Username Text
# Aug 7th 2008, 13:15 thestaff cuz it closes the thickbox and refresh the page as well
# Aug 7th 2008, 13:15 thestaff and that works fine
# Aug 7th 2008, 13:15 thestaff anthony, there is actually much simpler, i changed my closing onclick by this :onclick="self.parent.window.location.reload(true);"
# Aug 7th 2008, 13:14 beatzombies teknoid: ah
# Aug 7th 2008, 13:14 teknoid .. type and tab
# Aug 7th 2008, 13:14 teknoid beatzombies: tab
# Aug 7th 2008, 13:14 beatzombies or <name>:
# Aug 7th 2008, 13:13 atula to declare a function that's not an action do I do function __functionname() in the controller ?
# Aug 7th 2008, 13:13 beatzombies btw is there a way to automatically append teknoid: to my messages ?
# Aug 7th 2008, 13:13 beatzombies i print out the array i retrieve and it appears to be correct
# Aug 7th 2008, 13:13 teknoid beatzombies: that is if you have retrieved the associated data correclty
# Aug 7th 2008, 13:13 beatzombies ok, lemme give that shot
# Aug 7th 2008, 13:12 teknoid beatzombies: should not matter
# Aug 7th 2008, 13:12 teknoid beatzombies: fyi, model/field notation is deprecated in 1.2, use Model.field
# Aug 7th 2008, 13:12 beatzombies teknoid: ok, is it fine if teh form is for a Contributor model and the checkbox value is for a ContributorsItem model?
# Aug 7th 2008, 13:11 anthony sure it's possible
# Aug 7th 2008, 13:11 teknoid beatzombies: $form->checkbox('ModelName.fieldName'); is all you should need
# Aug 7th 2008, 13:11 beatzombies i just started with cakephp so i dont know if the fact that the value is in a join table messses things up
# Aug 7th 2008, 13:10 thestaff anthony, what do you mean you don't know how, is it possible at least ?
# Aug 7th 2008, 13:10 beatzombies i.e. an item with contributed = 1 does not get checked
# Aug 7th 2008, 13:10 anthony i don't know how
# Aug 7th 2008, 13:10 beatzombies the checkboxes do not accurately reflect the value held in the database
# Aug 7th 2008, 13:09 anthony and read should be ready my typo
# Aug 7th 2008, 13:09 thestaff how ?
# Aug 7th 2008, 13:09 anthony you have to bind the event after the thinkbox loads the Close button
# Aug 7th 2008, 13:09 teknoid beatzombies: what's the question?
# Aug 7th 2008, 13:09 thestaff sorry i didnt read this
# Aug 7th 2008, 13:08 anthony i just said it wouldn't
# Aug 7th 2008, 13:08 thestaff http://bin.cakephp.org/view/2103054102
# Aug 7th 2008, 13:07 thestaff doesn't work !
# Aug 7th 2008, 13:07 beatzombies thats better
# Aug 7th 2008, 13:07 beatzombies http://bin.cakephp.org/view/1124607071
# Aug 7th 2008, 13:07 beatzombies let me fix that
# Aug 7th 2008, 13:07 beatzombies woops
# Aug 7th 2008, 13:07 TommyO makes it tought to read
# Aug 7th 2008, 13:06 TommyO beatzombies: too bad the ' in the paste hosed the highlighting :(
# Aug 7th 2008, 13:06 beatzombies if anyone has experience with checkboxes any advice would be greatly appreciated
# Aug 7th 2008, 13:06 beatzombies http://bin.cakephp.org/view/1877574606
# Aug 7th 2008, 13:05 anthony you have to put it after the close button is in the DOM
# Aug 7th 2008, 13:05 anthony and it won't work as is
# Aug 7th 2008, 13:04 anthony read should be ready