2009 Sourceforge Community Choice Award
Fabrizio Balliano, 14/05/2009 | Fabrizio Balliano
Fabrizio Balliano, 14/05/2009 | Fabrizio Balliano
Fabrizio Balliano, 31/03/2009 | Fabrizio Balliano
Changelog:
- P4A_Table’s image cols are now centered horizontally
- P4A_Button::setTooltip() and getTooltip() methods were added
- afterupload event typo was fixed
- P4A_Thumbnail_Generator::renderToFile() method was added
- P4A_Mask::getSource() method was added
- Zend Framework was updated to 1.7.7
- a bug with P4A_Fieldset theme was fixed (thanks to Mario Spada)
- P4A_DB::singleton() DB type verification is now case insensitive (bug #2643785) (thanks to BES)
- a few modifications were done on screen.css file for a better theme result (thanks to pbond81)
- The way we managed P4A_Validate translations was rewritten to fit the new rules by Zend Framework (we need your help translating the new messages)
- a bug with P4A_DB_Source::setWhere() method was fixed
- translations were synchronized
- auto file inclusion system was updated to avoid reading Mac hidden files
- a bug with P4A_DB_Source::addGroup() method was solved (internal syntax change due to a Zend Framework change)
- p4a_load_js() javascript function was updated to avoid errors if no callback function is passed
Fabrizio Balliano, 05/02/2009 | Fabrizio Balliano
Changelog:
Download P4A 3.2.1 now!
Andrea Giardina, 01/01/2009 | Andrea Giardina

$mytable->addDeleteRow();
$mytable->addDeleteRow('Delete Row','Do you want to delete this row?');
<?php
function P4A_Table_addDeleteRow($table, $params)
{
if (isset($params[0])) {
$col_label = $params[0];
} else {
$col_label = 'Delete';
}
if (isset($params[1])) {
$message = $params[1];
} else {
$message = 'Delete current element';
}
$table->addActionCol('delete');
$table->cols->delete->setWidth(150)
->setLabel($col_label)
->requireConfirmation('onClick', $message);
$table->data->intercept($table->cols->delete,'afterClick','deleteRow');
return $table;
}
Happy P4A hacking!
Andrea Giardina, 28/12/2008 | Andrea Giardina
Andrea Giardina, 11/10/2008 | Andrea Giardina
Fabrizio Balliano, 09/09/2008 | Fabrizio Balliano
Are you on Facebook? Then you sure don’t want to miss the new and shining P4A Facebook page!
Fabrizio Balliano, 02/09/2008 | Fabrizio Balliano
Time for a new maintenance release for our beloved framework, here you’ve the complete changelog:
- P4A_Thumbnail_Generator now supports ie’s pjpeg extension
- a bug with P4A_I18N::_format() method was solved
(YYYY was changed to yyyy)
- P4A_Field::setYearRange() method was added to be able to
manage the year range in the datepicker
- 10px top padding was added to P4A_Fieldset
- jQuery::maskedinput 1.1.4 plugin was added
- P4A_Field::setInputMask() and getInputMask() methods were added,
check the code reference for usage
- popup template support for “top” zone was added
- P4A_Table’s caption (label) is now automatically traslated at run time
- P4A now triggers the “ontranslate” event, you can intercept it
(getting string/translation/istranslated parameters) to track
translations while developing your application
- a bug with P4A_Table’s label with IE6 was fixed
- P4A_Table’s navigation bar’s “go to page” label’s CSS was changed
so now it will remain on a single line
- a typo in P4A_DB_Source documentation was fixed
- a PHP warning was fixed in P4A_DB_Navigator
- more info were added in products_catalogue’s index.php file
- P4A_Mask::setRequiredField() and unsetRequiredField() methods
now check if the field exists before calling the addValidator()
otherwise show an error message
Fabrizio Balliano, 21/08/2008 | Fabrizio Balliano
I’m taking a bit of time (before leaving for a week of pure holiday) to write some pages of the P4A manual.
After the latest post about P4A’s I18n I’m now working on the first mask page, containing documentation about building widgets, displaying them in the mask, using layout managers (frames, fieldsets, canvases, sheets) and using the field.
Work is nearly completed, I think I’ll finish it today and that will be great!
We still have a lot of parts that need documentation, you can find the list here, you know… your help would be really appreciated!
Fabrizio Balliano, 20/08/2008 | Fabrizio Balliano