News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
Symfony Blog:
New in symfony 1.2 Make your Choice!
October 14, 2008 @ 10:28:09

Fabien Potencier has posted to the symfony blog today about a form handling enhancement they've introduced in the latest release of the framework (v1.2) - sfWidgetFormChoice.

When displaying a form, you often want the user to make a choice amongst a list of possibilities. In HTML, a choice is represented by a select tag. You can add a multiple attribute to make it accept several choices. [...] To unify all these possibilities, symfony 1.2 comes with a new widget called sfWidgetFormChoice. sfWidgetFormChoice is an abstract widget in the sense that it delegates the rendering to another widget (the renderer widget).

He includes examples of how to use the widget to make dropdowns, radio buttons, check boxes and even integrate some Javascript for handling multiple lists and autocompletes.

0 comments voice your opinion now!
symfony choice sfwidgetformchoice tutorial framework



Similar Posts

GoodPHPTutorials.com: SQL Injections in PHP with MySQL

DevShed: Building Site Registration for Web Application Security

Community News: Too Many Frameworks? (Andrei Zmievski and Clay Loveless)

AskAboutPHP.com: CodeIgniter: Extending the native 'Model' and make it your own.

Symfony Blog: symfony 1.0.6 released


Community Events







Don't see your event here?
Let us know!


framework zend developer mysql security PEAR zendframework example PHP5 cakephp release conference releases book job database code ajax application package

All content copyright, 2008 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework