Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.3.2

Request #9116 Default rendering - XHTML/CSS instead of Tables
Submitted: 2006-10-20 22:20 UTC
From: benjaminhill at gmail dot com Assigned: avb
Status: Closed Package: HTML_QuickForm2 (version CVS)
PHP Version: 5.1.0 OS:
Roadmaps: 0.3.0    
Subscription  
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes. If this is not your bug, you can add a comment by following this link. If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
2009-09-18 03:22 UTC
Package:
Bug Type:
Summary:
From: benjaminhill at gmail dot com
New email:
PHP Version: Package Version: OS:

 

 [2006-10-20 22:20 UTC] benjaminhill at gmail dot com (Benjamin)
Description: ------------ A request for the default rendering method to use the ligher-weight XHTML/CSS style, like HTML_QuickForm_Renderer_Tableless does. Either that, or highlight the ability to render using the Tableless version in the documentation. Reason: I had nearly given up on QuickForm, not having the time to dig into the documentation on writing a custom renderer, when I stumbled on HTML_QuickForm_Renderer_Tableless, and now I can adopt QF to many more of my needs with only CSS changes, which is perfect for the sort of rapid-prototyping I'm involved in. Besides, table-based layout is so web 1.0. :)

Comments

 [2006-10-22 17:18 UTC] benjaminhill at gmail dot com
wiki page http://quickform.mamasam.com/wiki/milestones has the example foreach ($form as $element) { echo ': ' . $element->__toString() . '
'; } Suggest div tags instead of BR tags to make new lines, more flexibility for the CSS developer. (I realize this is just an example/workaround until a real renderer is created, but examples like this tend to survive into future documentation.) foreach ($form as $element) { echo '
: ' . $element->__toString() . "
\n"; }
 [2009-09-18 03:22 UTC] avb (Alexey Borzov)
-Status: Open +Status: Closed -Assigned To: +Assigned To: avb
--------------------------------------- Implemented in SVN, with div's rather than ordered lists current Tableless renderer is using. NB: it may make sense to follow Zend_Form in using dl / dt / dd tags by default instead. Needs further research.