# |
Aug 7th 2008, 03:47 |
alkemann |
achew22: oh :( |
# |
Aug 7th 2008, 03:47 |
stevieboy |
achew22: try again, i use ff3 too |
# |
Aug 7th 2008, 03:47 |
alkemann |
heh ok good :) |
# |
Aug 7th 2008, 03:47 |
poluta1 |
alkemann : i'am not going to babelfish :P |
# |
Aug 7th 2008, 03:46 |
poluta1 |
alkemann : noooo... |
# |
Aug 7th 2008, 03:46 |
achew22 |
alkemann: well, in FF3 when I drag it tries to move the image as if I wanted to drag it into a word document ;) |
# |
Aug 7th 2008, 03:46 |
poluta1 |
Martz: owwwwwww shhh.. sorry Martz.. i'am not see your message |
# |
Aug 7th 2008, 03:46 |
Martz |
oh |
# |
Aug 7th 2008, 03:46 |
alkemann |
Martz: it has to go through babelfish tough :P |
# |
Aug 7th 2008, 03:45 |
Martz |
poluta1: did you read what I wrote? or am I on ignore? ;) |
# |
Aug 7th 2008, 03:45 |
stevieboy |
funny idea |
# |
Aug 7th 2008, 03:45 |
stevieboy |
achew22: lol, how do you like THAT: http://www.nogray.com/time_picker.php |
# |
Aug 7th 2008, 03:45 |
alkemann |
poluta1: sure u can. but u cant do $this->Session in ur AppModel |
# |
Aug 7th 2008, 03:45 |
poluta1 |
alkemann: so i can't create custom validation function that validating captcha? |
# |
Aug 7th 2008, 03:44 |
stevieboy |
achew22: argh, sorry bout that |
# |
Aug 7th 2008, 03:44 |
alkemann |
Martz: havent found a clear cut best practise on it yet |
# |
Aug 7th 2008, 03:44 |
alkemann |
Martz: yea that is sorta what i do in my Logable behavior as well |
# |
Aug 7th 2008, 03:44 |
achew22 |
stevieboy: too bad its 404'd |
# |
Aug 7th 2008, 03:44 |
alkemann |
poluta1: right. then there is your answer |
# |
Aug 7th 2008, 03:43 |
poluta1 |
alkemann: i don't understand what u mean. i don't find any session property in model class |
# |
Aug 7th 2008, 03:43 |
stevieboy |
achew22: what about customizing this? http://ajaxian.com/archives/datepicker-using-prototype-and-scriptaculous |
# |
Aug 7th 2008, 03:43 |
alkemann |
achew22: here use my helper http://bin.cakephp.org/view/1905778472 |
# |
Aug 7th 2008, 03:42 |
achew22 |
alkemann: but I just need input on time :( |
# |
Aug 7th 2008, 03:42 |
Martz |
poluta1, alkemann: Heres what I think (not necessarily the best way to do it - but the way *I* did it) - session should be passed by the controller to the model, can be done with like beforeFiler() { $this->{$modelClass}->captcha = $session->read(); } and then in your app_model do var $captcha = null; and then in your model method $this->captcha should be populated with the session date you wrote |
# |
Aug 7th 2008, 03:41 |
alkemann |
http://bakery.cakephp.org/articles/view/using-the-unobtrusive-date-picker-widget-in-cakephp |
# |
Aug 7th 2008, 03:41 |
achew22 |
well.. I only need one ;) |
# |
Aug 7th 2008, 03:41 |
alkemann |
many good ones :) |
# |
Aug 7th 2008, 03:40 |
achew22 |
does anyone know of any good js time pickers? |
# |
Aug 7th 2008, 03:40 |
stevieboy |
Session->check('myProp') |
# |
Aug 7th 2008, 03:40 |
alkemann |
http://api.cakephp.org/1.2/class_model.html |
# |
Aug 7th 2008, 03:40 |
poluta1 |
yes.. how to check if the model object has a session property? |
# |
Aug 7th 2008, 03:39 |
alkemann |
AppModel extends Model :) |
# |
Aug 7th 2008, 03:39 |
poluta1 |
alkemann: i'am in app_model.php |
# |
Aug 7th 2008, 03:39 |
alkemann |
poluta1: im sure there are some made allready |
# |
Aug 7th 2008, 03:38 |
alkemann |
polutan: easy to find out. check if the Model object has a Session property |
# |
Aug 7th 2008, 03:38 |
poluta1 |
possible? |
# |
Aug 7th 2008, 03:38 |
poluta1 |
i want to create custom validation that validating captcha |
# |
Aug 7th 2008, 03:38 |
poluta1 |
is it possible if we call $this->Session from AppModel ? |
# |
Aug 7th 2008, 03:37 |
Martz |
polymorphic rules =) |
# |
Aug 7th 2008, 03:37 |
alkemann |
Martz: thanks :) |
# |
Aug 7th 2008, 03:37 |
alkemann |
heh hardly surprising :) |