Log message #111062

# At Username Text
# Aug 8th 2008, 05:01 pgcd fourcs: you have a controller declaration in a .ctp file?
# Aug 8th 2008, 05:01 Phally how do i set the value in find('neighbors') what previously was $value in findNeighbours()?
# Aug 8th 2008, 05:00 fourcs That code comes from the app/views/owners/add.ctp file.
# Aug 8th 2008, 04:58 Tosak Hey everyone. If I want the fieldset to be turned off for radio buttons in the formHelper, do I need to download a patch, or are there an option included in 1.2?
# Aug 8th 2008, 04:57 pgcd no surprise it doesn't get rendered... =)
# Aug 8th 2008, 04:57 pgcd fourcs: that code you wrote is in the controller, it's not in the view
# Aug 8th 2008, 04:56 pgcd fourcs: i just noticed something!
# Aug 8th 2008, 04:56 pgcd and see if anything happens
# Aug 8th 2008, 04:56 pgcd echo $form->radio('test', array('opt1'=>'OPT1','opt2'=>'OPT2'));
# Aug 8th 2008, 04:56 pgcd fourcs: try pasting this as the first line in your view:
# Aug 8th 2008, 04:54 in-sanity I set uses in app_controller.php
# Aug 8th 2008, 04:53 in-sanity I am using cakephp 1.2 RC2
# Aug 8th 2008, 04:53 in-sanity any ideas?
# Aug 8th 2008, 04:53 in-sanity I get 'Array to string conversion [CORE\cake\libs\file.php, line 90]' when I set var $uses = array('ModelName');
# Aug 8th 2008, 04:53 pgcd fourcs: that is weird indeed...
# Aug 8th 2008, 04:52 in-sanity hi all
# Aug 8th 2008, 04:51 fourcs nothing
# Aug 8th 2008, 04:51 pgcd nothing at all?
# Aug 8th 2008, 04:51 fourcs The source code view in the has_many doesn't show any rendering of the radios.
# Aug 8th 2008, 04:50 pgcd fourcs: i mean, does the hasmany view output anything at all?
# Aug 8th 2008, 04:50 pgcd fourcs: this might be silly, but have you compared the html output in the two views?
# Aug 8th 2008, 04:48 Lemon|work image: Best browser compatibility, includable into pdf's but limited graphcs qsuality and interaction
# Aug 8th 2008, 04:48 stevieboy Lemon|work: i'd choose the php-version. so you can put it out like you want and cache it correctly
# Aug 8th 2008, 04:47 Lemon|work javascript: fastest realtime updates and great interaction with resizes in browsers but alot of dev time needed and also not able to add in pdf's
# 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?