atk4
Can i pass a javascript object back to an atk4 page?
From an ATK4 page, i can call jqplot using a javascript helper file like this on the page $chart = $p->add(\'jqplot\', null, \'chart1\');[详细]
2023-04-13 00:19 分类:问答What is the correct way of handling duplicate errors in db
I\'m implementing a subscripti开发者_开发技巧on in a DB. The email must be unique, so I have a UNIQUE index in the database. I have this code in my page init:[详细]
2023-04-11 07:41 分类:问答Populate dropdown in ATK4
function init(){ parent::init(); $f = $this-开发者_运维问答>add(\'Form\'); $f->addField(\'dropdown\', \'Label:\')->setModel(\'User\');[详细]
2023-04-10 08:13 分类:问答in atk4, how do i use ajax to update a view
I currently have a page defined which displays some data in rows. At the end of each row, there is a view which shows a total which is extracted from mysql.[详细]
2023-04-10 04:56 分类:问答adding a dynamic button on a MCGrid
i want to modify the line in the code below ($g->addColumn(\'button\',\'check_out\') to $g->addColumn(\'button\',\'check_in\')if the field instock is \'N\'[详细]
2023-04-09 19:42 分类:问答Undefined getUserId() function in MVCTable
I use atk 4.1.2. I found a problem while I tried to Insert/Update my Model. It seems like because I added two fields in my table, i.e. : created_by and updated_by.[详细]
2023-04-09 07:49 分类:问答How to define new Model in ATK4
From: http://agiletoolkit.org/learn/understand/model/add class Model_MyModel extends Model_Table { function init(){[详细]
2023-04-08 03:24 分类:问答How to get a value from a radio-buttons' collection
I was able to get the value from an input type=text with code like this: $salad_size= $form->addField(\'line\',\'salad\');[详细]
2023-04-07 23:58 分类:问答Creating a database query using dsql
Is it possible to make a query using any of the methods of dsql() ? something like: 开发者_如何学编程[详细]
2023-04-06 21:29 分类:问答Can I create a menu with sub-menus in Agile Toolkit?
The menu class documentation - and the provided example - do not seem to show any way for me to build a navigation menu with more than 1 level of navigation.[详细]
2023-04-06 08:26 分类:问答