Log message #111038

# At Username Text
# Aug 8th 2008, 04:47 Lemon|work flash: nice graphics and rendering (aliasing) but unable to embed it into serverside generated pdf's
# Aug 8th 2008, 04:47 fourcs Only the 'belongs_to' view radios are rendered.
# Aug 8th 2008, 04:46 Lemon|work all have advantages and disadvantages :s
# Aug 8th 2008, 04:46 Lemon|work Should i go with flash based graph library, a javascript based or an php image rendered based?
# Aug 8th 2008, 04:46 fourcs None of them are rendered.
# Aug 8th 2008, 04:46 pgcd fourcs: is the last radio the one that doesn't get rendered? have you tried using $form->radio(etc)?
# Aug 8th 2008, 04:44 fourcs This has_many view isn't produced in the browser.
# Aug 8th 2008, 04:42 fourcs http://bin.cakephp.org/view/1887541522 is the url of the has_many view.
# Aug 8th 2008, 04:41 pgcd uh... you can't use methods when setting a property for a class?
# Aug 8th 2008, 04:39 fourcs I can't get the view to give me radio buttons.
# Aug 8th 2008, 04:38 fourcs I did 'bake the controller and the view.
# Aug 8th 2008, 04:38 pgcd fourcs: i suggest you actually bake the controller and the view, and then modify the actual files
# Aug 8th 2008, 04:37 fourcs cakephp
# Aug 8th 2008, 04:36 fourcs http://bin.cakephp.org/view/1265649288 is the url for the 'has_many' table, which was generated by cakebake.
# Aug 8th 2008, 04:35 pgcd fourcs: for a hasmany, i suppose a multi-select is more appropriate - still, i think you need to have the data for the other model and pass it in the options when calling $form->radio
# Aug 8th 2008, 04:33 fourcs I can get radio type buttons to work in the 'belongs_to' table.
# Aug 8th 2008, 04:33 pgcd fourcs: does the controller action load and set the data for the has_many table?
# Aug 8th 2008, 04:32 skua how could I switch from database configuration in controller ?
# Aug 8th 2008, 04:30 np_ but didn't work
# Aug 8th 2008, 04:30 np_ tried somthing like $Route->connect('/en/:controller/:action/*', array('action' => 'en_'.$action));
# Aug 8th 2008, 04:30 fourcs I have two tables. One has 'has_many' attributes, the other has 'belongs_to' attributes. I can get radio type button in the 'belongs_to' table, but not in the 'has_many' table. Can anyone give me some ideas?
# Aug 8th 2008, 04:30 np_ i need to make a custom admin route
# Aug 8th 2008, 04:19 pgcd alkemann: yep, didn't think of it - still, FormHelper::input doesn't care much for the $options i set...
# Aug 8th 2008, 04:18 alkemann pgcd: its much eaier to do 4options = array_merge($this->defaults, $options);
# Aug 8th 2008, 04:17 pgcd alkemann: http://bin.cakephp.org/view/979843963
# Aug 8th 2008, 04:17 alkemann pgcd: here is my helper http://bin.cakephp.org/view/1900794134
# Aug 8th 2008, 04:16 pgcd alkemann: here i go
# Aug 8th 2008, 04:14 alkemann pgcd: let me look at what im doing. and put ur view in a bin
# Aug 8th 2008, 04:13 Ins|de is it possible to create a link calling a javascript function with htmlhelper ?
# Aug 8th 2008, 04:11 daschl stevieboy, rofl, not its not.. k then i have to write a workaround :D
# Aug 8th 2008, 04:11 pgcd alkemann: i've been toying a bit with an extended formhelper, but it seems that it happily ignores what i try to inject in $options (tried with "selected", "value" and "default")... any ideas what i'm doing wrong?
# Aug 8th 2008, 04:10 anf6 my actual queries take 15ms and these other ones take 30ms each
# Aug 8th 2008, 04:09 anf6 Hi, I've upgraded my queries to use containable but I still see 24 queries (one for each table in the db) taking place starting with "SELECT DISTINCT column_name". Are these necessary?
# Aug 8th 2008, 04:09 daschl stevieboy, k thanks :D
# Aug 8th 2008, 04:09 stevieboy daschl: just debug($this) and look for the value. i guess action is written somewhere
# Aug 8th 2008, 04:06 daschl hey guys, is it possible to find out the current method in the controller? when i use $this->params i get the ajax method 'cause i need this in an ajax contect.. i need the method in /controller/method
# Aug 8th 2008, 04:01 phunkk so i gave the tutorial a try and that works like a charm
# Aug 8th 2008, 04:01 phunkk ok (: my experience with the auth component was a bit disencouraging
# Aug 8th 2008, 04:00 stevieboy thats all i can say
# Aug 8th 2008, 04:00 stevieboy phrunkk: i used the auth-component and it's very nice
# Aug 8th 2008, 03:54 phunkk guess not