Page 38 of 211,261, showing 20 records out of 4,225,202 total, starting on record 741, ending on 760
# | Username | Text | |
---|---|---|---|
# | Aug 6th 2008, 19:16 | thestaff | it's in my controler tho |
# | Aug 6th 2008, 19:17 | thestaff | i have var $helpers = array('Html', 'Form', 'Javascript', 'Ajax'); |
# | Aug 6th 2008, 19:18 | polerin | TommyO: I forget... what's the proper way to reach through a model to reach a behaviors property? |
# | Aug 6th 2008, 19:18 | TommyO | thestaff: ahh... but layout is loaded in all controllers, not just this one, so it must be loaded in all controller or the call must be wrapped in a if (isset($javascript) { ... |
# | Aug 6th 2008, 19:18 | polerin | ModelA->Behaviors->BehaviorName->property? |
# | Aug 6th 2008, 19:18 | thestaff | well i was loading this controler however I had this $this->render('none', 'ajax'); in my action method |
# | Aug 6th 2008, 19:18 | TommyO | polerin: hmm... sounds about right :) |
# | Aug 6th 2008, 19:19 | thestaff | wich load only ajax right ? |
# | Aug 6th 2008, 19:19 | thestaff | which should explain the error |
# | Aug 6th 2008, 19:19 | polerin | mmph, TYAS I guess ;) |
# | Aug 6th 2008, 19:19 | gwoo | polerin: or use attach() |
# | Aug 6th 2008, 19:19 | polerin | gwoo: i'm not looking to attach it, I'm looking to access a behavior's property |
# | Aug 6th 2008, 19:19 | TommyO | thestaff: you have a view called 'none' |
# | Aug 6th 2008, 19:19 | gwoo | polerin: you are looking to change properties |
# | Aug 6th 2008, 19:20 | nymacro | bloody ACL |
# | Aug 6th 2008, 19:20 | gwoo | thats how it should be done |
# | Aug 6th 2008, 19:20 | nymacro | work you bastard |
# | Aug 6th 2008, 19:20 | polerin | actually, not change, just access :) |
# | Aug 6th 2008, 19:20 | polerin | gwoo: or, if you've a better idea, the end goal is to agument what a model is containing, not to replace it |
# | Aug 6th 2008, 19:20 | gwoo | polerin: like bindModel does? |