Apr 24, 2009
Quickie: SecurityComponent, Ajax and input.disabled
Don’t mess wit teh formz. I thought it’s cool to disable a field simply by using the disabled Element property. Being distracted by other parts in the app i just applied it and left it alone – “How can this be bad, right?”. After some more time i did test the form again and found myself being blackholed all of a sudden – whaaa? – Took me some time to find out what... read more
Apr 13, 2009
Adding “empty” to list-find, for the lazy
Currently i use the scaffold views alot to bake a simple admin interface. What annoyed me was that ‘empty’ is not set on select inputs. I could of course go through all add/edit views and add it, but i thought i rather modify the result to include a empty entry. Always add a “empty” entry to the result function find($conditions = null, $fields = array(), $order = null, $recursive =... read more

